2022-07-27 01:33:16 -03:00
|
|
|
# Status of the takeoff state machine currently just available for multicopters
|
2021-01-26 05:46:12 -04:00
|
|
|
|
|
|
|
uint64 timestamp # time since system start (microseconds)
|
|
|
|
|
2021-02-16 13:26:14 -04:00
|
|
|
uint8 TAKEOFF_STATE_UNINITIALIZED = 0
|
|
|
|
uint8 TAKEOFF_STATE_DISARMED = 1
|
|
|
|
uint8 TAKEOFF_STATE_SPOOLUP = 2
|
|
|
|
uint8 TAKEOFF_STATE_READY_FOR_TAKEOFF = 3
|
|
|
|
uint8 TAKEOFF_STATE_RAMPUP = 4
|
|
|
|
uint8 TAKEOFF_STATE_FLIGHT = 5
|
2021-01-26 05:46:12 -04:00
|
|
|
|
|
|
|
uint8 takeoff_state
|
2021-04-13 12:15:15 -03:00
|
|
|
|
2022-07-27 01:33:16 -03:00
|
|
|
float32 tilt_limit # limited tilt feasibility during takeoff, contains maximum tilt otherwise
|