2022-12-05 09:47:20 -04:00
|
|
|
# Mode completion result, published by an active mode.
|
2024-01-08 06:32:41 -04:00
|
|
|
# The possible values of nav_state are defined in the VehicleStatus msg.
|
2022-12-05 09:47:20 -04:00
|
|
|
# Note that this is not always published (e.g. when a user switches modes or on
|
|
|
|
# failsafe activation)
|
|
|
|
uint64 timestamp # time since system start (microseconds)
|
|
|
|
|
|
|
|
|
|
|
|
uint8 RESULT_SUCCESS = 0
|
|
|
|
# [1-99]: reserved
|
|
|
|
uint8 RESULT_FAILURE_OTHER = 100 # Mode failed (generic error)
|
|
|
|
|
|
|
|
uint8 result # One of RESULT_*
|
|
|
|
|
2024-01-08 06:32:41 -04:00
|
|
|
uint8 nav_state # Source mode (values in VehicleStatus)
|
2022-12-05 09:47:20 -04:00
|
|
|
|