From be147f8c172335a352546403576a99540b298763 Mon Sep 17 00:00:00 2001 From: PX4 BuildBot Date: Wed, 14 Aug 2024 09:53:01 +0000 Subject: [PATCH] Update message definitions Wed Aug 14 09:53:01 UTC 2024 --- msg/FailsafeFlags.msg | 1 + msg/NavigatorStatus.msg | 9 +++++++++ 2 files changed, 10 insertions(+) create mode 100644 msg/NavigatorStatus.msg diff --git a/msg/FailsafeFlags.msg b/msg/FailsafeFlags.msg index 2cd31bf8..de514fb2 100644 --- a/msg/FailsafeFlags.msg +++ b/msg/FailsafeFlags.msg @@ -49,6 +49,7 @@ bool vtol_fixed_wing_system_failure # vehicle in fixed-wing system failure fai bool wind_limit_exceeded # Wind limit exceeded bool flight_time_limit_exceeded # Maximum flight time exceeded bool local_position_accuracy_low # Local position estimate has dropped below threshold, but is currently still declared valid +bool navigator_failure # Navigator failed to execute a mode # Failure detector bool fd_critical_failure # Critical failure (attitude/altitude limit exceeded, or external ATS) diff --git a/msg/NavigatorStatus.msg b/msg/NavigatorStatus.msg new file mode 100644 index 00000000..da666533 --- /dev/null +++ b/msg/NavigatorStatus.msg @@ -0,0 +1,9 @@ +# Current status of a Navigator mode +# The possible values of nav_state are defined in the VehicleStatus msg. +uint64 timestamp # time since system start (microseconds) + +uint8 nav_state # Source mode (values in VehicleStatus) +uint8 failure # Navigator failure enum + +uint8 FAILURE_NONE = 0 +uint8 FAILURE_HAGL = 1 # Target altitude exceeds maximum height above ground