Spaceshot Flight Software
The Illinois Space Society's Homemade Rocket Firmware
|
Public Types | |
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) | |
Public Member Functions | |
virtual void | tickFSM ()=0 |
FSM_State | getFSMState () const |
Protected Attributes | |
FSM_State | rocket_state_ = FSM_State::STATE_INIT |