...
PM has been sectioned into to main modes: CommsWithSystemManagerMode
, and FlightStageSelectorMode
. Within CommsWithSystemManagerMode
, PM will get the relevant instructions and information from AM, TM, and Sensor Fusion. This retrieval process is separated into three stages CommsWithAMStage, CommsWithTMStage, CommsWithSFStage where PM will get information from both managers and sensor fusion respectively. Note: these may be The stages originally created to get information from AM, TM, and SF have been combined into one stage depending on how State Manager sends us the informationwithin CommsWithSystemManagerMode
.
PM will then enter FlightStageSelectorMode
, the main part of the state machine. Within this mode, PM will change flight states if triggered to do so. While flying, PM may enter any of the following flight states: Disarmed
, Takeoff
, Cruising
, Landing
, and Landed
. Note: a Preflight
state may be added. If we are in the Disarmed
state or Landed
state PM will go back to the start. However, if we are in Takeoff
, Cruising
, or Landing
, PM will execute their respective stages.
...