Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ set(dependencies

rosidl_generate_interfaces(${PROJECT_NAME}
# Messages
"msg/ActiveFault.msg"
"msg/Capability.msg"
"msg/CapabilityDescriptor.msg"
"msg/CapabilityFeedback.msg"
Expand Down
15 changes: 15 additions & 0 deletions msg/ActiveFault.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# One active fault in a subsystem: the fault manager's fault verbatim, plus what
# Polymath derives from its fault_code.

ros2_medkit_msgs/Fault fault

# How much detail a report must ask for to include this fault. It only labels the
# fault, for filtering detailed faults from high-level ones; it does not change any
# severity, count or summary text.
# ALL: part of every report, high-level or detailed. This is the default.
# DEBUG: a deeper-level fault, for detailed reports only. Its code starts with DEBUG_
# after the category (e.g. SENSORS_DEBUG_GPS_RAW) and its severity is below ERROR. An
# ERROR or CRITICAL fault is always ALL, whatever its code.
uint8 REPORT_LEVEL_ALL = 0
uint8 REPORT_LEVEL_DEBUG = 1
uint8 report_level 0
4 changes: 2 additions & 2 deletions msg/SubsystemHealth.msg
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ string name
# Severity of the worst active fault (ros2_medkit_msgs/msg/Fault SEVERITY_* values).
uint8 severity

# Individual active faults (verbatim from the fault manager), worst-first then by fault_code.
ros2_medkit_msgs/Fault[] faults
# Individual active faults, worst-first then by fault_code.
ActiveFault[] faults
Loading