navigator: add ModeCompleted signalling topic

This commit is contained in:
Beat Küng
2023-02-07 19:11:52 -05:00
committed by Daniel Agar
parent f05e8a699e
commit 3f2336af32
9 changed files with 34 additions and 1 deletions
+14
View File
@@ -0,0 +1,14 @@
# Mode completion result, published by an active mode.
# 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_*
uint8 nav_state # Source mode