Skip to content

Commit

Permalink
Merge pull request #10 from ipa-hsd/missing_node_models
Browse files Browse the repository at this point in the history
change output for missing node
  • Loading branch information
marioney authored Mar 29, 2021
2 parents 07f263f + 190f8b7 commit 088e164
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/rosgraph_monitor/observers/graph_observer.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,10 @@ def diagnostics_from_response(self, resp):
for interface in missing_interfaces:
status_msg = DiagnosticStatus()
status_msg.level = DiagnosticStatus.ERROR
status_msg.name = interface
status_msg.message = "Missing node"
status_msg.name = ''
status_msg.message = "Component status"
status_msg.values.append(
KeyValue(interface, "FALSE"))
status_msgs.append(status_msg)

for interface in additional_interfaces:
Expand Down

0 comments on commit 088e164

Please sign in to comment.