Da Vinci Firmware 1
Firmware for the DaVinci-M rocket avionics board.
Loading...
Searching...
No Matches
Flight State Machine (FSM)

Manages the rocket's flight phase from calibration to touchdown. More...

Collaboration diagram for Flight State Machine (FSM):

Data Structures

struct  linear_acceleration_t
 Represents a 3-axis linear acceleration vector from an IMU. More...
 
struct  estimation_output_t
 Holds the primary outputs of the state estimation filter (e.g., Kalman filter). More...
 
struct  flight_fsm_t
 Main data structure for the Flight State Machine. More...
 

Enumerations

enum  flight_phase_t {
  INVALID , CALIBRATING , LIFTOFF , BURNING ,
  ABCSDEPLOYED , DROGUE , MAIN , TOUCHDOWN
}
 Enumeration of all possible flight phases (states) in the FSM. More...
 

Detailed Description

Manages the rocket's flight phase from calibration to touchdown.

Enumeration Type Documentation

◆ flight_phase_t

Enumeration of all possible flight phases (states) in the FSM.

Enumerator
INVALID 

An undefined or error state.

CALIBRATING 

On the launchpad, calibrating sensors.

LIFTOFF 

Rocket has cleared the launch rail.

BURNING 

Engine is burning; under powered ascent.

ABCSDEPLOYED 

Airbrakes are deployed for apogee control.

DROGUE 

Drogue parachute has been deployed.

MAIN 

Main parachute has been deployed.

TOUCHDOWN 

Rocket has landed.

Definition at line 33 of file flight_control.h.

33 {
34 INVALID,
36 LIFTOFF,
37 BURNING,
39 DROGUE,
40 MAIN,
41 TOUCHDOWN,
flight_phase_t
Enumeration of all possible flight phases (states) in the FSM.
@ CALIBRATING
On the launchpad, calibrating sensors.
@ MAIN
Main parachute has been deployed.
@ LIFTOFF
Rocket has cleared the launch rail.
@ ABCSDEPLOYED
Airbrakes are deployed for apogee control.
@ DROGUE
Drogue parachute has been deployed.
@ BURNING
Engine is burning; under powered ascent.
@ INVALID
An undefined or error state.
@ TOUCHDOWN
Rocket has landed.