This pull request introduces the implementation of the diagnostic messages publisher for the diagnostic_msgs/msg/DiagnosticArray.msg message type. The publisher is responsible for publishing device information, including:
NMT Status
EMCY Status
CiA402:
Mode switch status
Device state of operation.
Reference issue: #104
Depends on: #115
In order to send the device a diagnostic message, an additional timer callback must be added. Therefore by default, the diagnostic publisher is disabled. In order to enable it, add the following to the bus.yml file.
This pull request introduces the implementation of the diagnostic messages publisher for the diagnostic_msgs/msg/DiagnosticArray.msg message type. The publisher is responsible for publishing device information, including:
Reference issue: #104 Depends on: #115
In order to send the device a diagnostic message, an additional timer callback must be added. Therefore by default, the diagnostic publisher is disabled. In order to enable it, add the following to the bus.yml file.
Example:
ros2 launch canopen_tests cia402_diagnostics_setup.launch.py
Todo: