FlightModeManager: publish takeoff status

This commit is contained in:
Matthias Grob
2021-01-26 10:46:12 +01:00
committed by Lorenz Meier
parent b30bd7f589
commit fbd64fbdd8
6 changed files with 34 additions and 5 deletions

11
msg/takeoff_status.msg Normal file
View File

@@ -0,0 +1,11 @@
# Status of the takeoff state machine currently just availble for multicopters
uint64 timestamp # time since system start (microseconds)
uint8 TAKEOFF_STATE_DISARMED = 0
uint8 TAKEOFF_STATE_SPOOLUP = 1
uint8 TAKEOFF_STATE_READY_FOR_TAKEOFF = 2
uint8 TAKEOFF_STATE_RAMPUP = 3
uint8 TAKEOFF_STATE_FLIGHT = 4
uint8 takeoff_state