-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Additional levels in DiagnosticStatus #268
Comments
Hey @nnarain. I am generally open for a discussion about more states. But I would be really interested in more opinions. Do you maybe want to share this on discourse to ask people for their take? Hopefully more people take part in the discussion there. My opinion would be:
|
Thanks @ct2034. Yes I can do that. Point 3 is interesting I'll have to consider that. |
This issue has been mentioned on ROS Discourse. There might be relevant details there: https://discourse.ros.org/t/additional-levels-in-diagnosticstatus/41967/4 |
This issue has been mentioned on ROS Discourse. There might be relevant details there: https://discourse.ros.org/t/additional-levels-in-diagnosticstatus/41967/11 |
I'd like to propose adding additional levels in the
diagnostic_msgs/DiagnosticStatus
message type.I work on systems with large amounts of ROS diagnostics and it can often be hard to convey to end users what to focus on when issues occur. Now in ROS diagnostics world you can create custom analyzer plugins (and that's something I'm working on) but I still fine the
OK
,WARN
andERROR
levels to be a bit limiting.Taking some inspiration from OpenCyphal's Severity level message I'd propose the following for ROS
The distinction between
INFO
andOK
would be in some cases we have a diagnostics that just report some values because it's convenient but the level is not expected to change, as opposed to a diagnostic reportingOK
which might not always beOK
.The distinction between
ERROR
andCRITICAL
would be the operational context. For example we do a lot of configuration checksum validation at startup. If there's a mismatch in what we expect that would be anERROR
. An example of aCRITICAL
level might be critically low battery levels. This is not necessarily an error, it is a state of the battery (a BMS on the other hand could report errors and that could be anERROR
level diagnostic).An example of
ALERT
might be usage of an emergency stop button. It's usage is not necessarily an error, but as it is related to safety we need to report it at the highest level possible.The current
OK
,WARN
andERROR
states remain the same. If nothing else I thinkNOTICE
andALERT
would be valuable additions.In terms of impact to existing functionality I imagine there would be implications on UI components like in RVIZ (text and colors used for each level).
Looping in @ct2034. Wasn't sure if I should have made this issue in this repo or in ros/diagnostics
The text was updated successfully, but these errors were encountered: