diagnostic_msgs

Summary

diagnostic_msgs
Version:

1.12.3

Description:

This package holds the diagnostic messages which provide the standardized interface for the diagnostic and runtime monitoring systems in ROS. These messages are currently used by the diagnostics Stack, which provides libraries for simple ways to set and access the messages, as well as automated ways to process the diagnostic data. These messages are used for long term logging and will not be changed unless there is a very important reason.

Maintainers:
  • Tully Foote <tfoote AT osrfoundation DOT org>
Licenses:
  • BSD
Urls:
Authors:
  • Tully Foote <tfoote AT osrfoundation DOT org>
BuildDepends:
BuildtoolDepends:
 
BuildExportDepends:
 
ExecDepends:
Exports:
  • <architecture_independent/>

Types

Message types

diagnostic_msgs/DiagnosticArray
Field:

This message is used to send diagnostic information about the state of the robot

# This message is used to send diagnostic information about the state of the robot
Header header #for timestamp
DiagnosticStatus[] status # an array of components being reported on
diagnostic_msgs/DiagnosticStatus
Constant:
  • OK (byte):0
  • WARN (byte):1
  • ERROR (byte):2
  • STALE (byte):3
Field:
  • level (byte) –
  • name (string) –
  • message (string) –
  • hardware_id (string) –
  • values[] (diagnostic_msgs/KeyValue) –

This message holds the status of an individual component of the robot.

Possible levels of operations

# This message holds the status of an individual component of the robot.
# 

# Possible levels of operations
byte OK=0
byte WARN=1
byte ERROR=2
byte STALE=3

byte level # level of operation enumerated above 
string name # a description of the test/component reporting
string message # a description of the status
string hardware_id # a hardware unique string
KeyValue[] values # an array of values associated with the status
diagnostic_msgs/KeyValue
Field:
  • key (string) –
  • value (string) –
string key # what to label this value when viewing
string value # a value to track over time

Service types

diagnostic_msgs/SelfTest
Field (Response):
 
---
string id
byte passed
DiagnosticStatus[] status