Go to the source code of this file.
Data Structures | |
struct | FSM_t |
Structure of FSM specific variables. More... | |
Enumerations | |
enum | systemState_t { INIT, IDLE, CONFIGURE, MISSION, PICKUP, SLEEP, LOWPOWER, FAILURE } |
Type definition of system state enumeration. More... | |
enum | systemEvent_t { Initialize, Init_Finished, HallEffectInterrupt, BLEInterrupt, Failure, MissionStart, MissionFinished, MissionAbort, Sleep } |
Type definition of system events. More... | |
Functions | |
void | FSM (void) |
Main FSM loop. More... | |
void | FAILUREstate (void) |
Failure state, vehicle is floated to surface, SD card is unmounted. More... | |
void | LOWPOWERstate (void) |
Low Power state, vehicle is floated to surface, SD card is unmounted. More... | |
Variables | |
FSM_t | fsm |
Create Finite State Machine struct instance. More... | |