Spaceshot Flight Software
The Illinois Space Society's Homemade Rocket Firmware
|
Public Member Functions | |
KalmanFSM (pointers *) | |
Constructor for KalmanFSM class. More... | |
virtual void | tickFSM () override |
KalmanFSM tick function. More... | |
![]() | |
FSM_State | getFSMState () const |
Additional Inherited Members | |
![]() | |
enum class | FSM_State { STATE_INIT , STATE_IDLE , STATE_LAUNCH_DETECT , STATE_BOOST , STATE_BURNOUT_DETECT , STATE_COAST_PREGNC , STATE_COAST_GNC , STATE_APOGEE_DETECT , STATE_APOGEE , STATE_DROGUE_DETECT , STATE_DROGUE , STATE_MAIN_DETECT , STATE_MAIN , STATE_LANDED_DETECT , STATE_LANDED , STATE_ABORT } |
Labels for each FSM state. Contains intermediary states (eg: Launch Detect) along with actual states (eg: Boost) | |
![]() | |
FSM_State | rocket_state_ = FSM_State::STATE_INIT |
KalmanFSM::KalmanFSM | ( | pointers * | ptr | ) |
Constructor for KalmanFSM class.
pointers | Taking the pointer struct as an input, we define member variables that point to different data members of pointer struct. This improves readability while also allowing the rocketFSM class to modify values in the global pointer struct. |
|
overridevirtual |