Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 1.02 KB

File metadata and controls

18 lines (12 loc) · 1.02 KB
title ROS 2 Diagnostics Tutorial
short_description Basic example of publishing and visualizing DiagnosticArray messages
blog_post_url https://foxglove.dev/blog/a-practical-guide-to-using-ros-diagnostics

Diagnostics basic use

This folder contains two packages that publish a minimal example of DiagnosticArray, as seen in the example tutorial in Foxglove's blog.

These packages only serve as as basic example to understand the fundamentals of diagnostic messages. For more advanced diagnostics, refer to the package diagnostic_updater.

The packages diagnostics_publisher_cpp and diagnostics_publisher_py have the same functionality:

A diagnostic_publisher node that publishes a DiagnosticArray message with two DiagnosticStatus elements:

  1. Element 1 contains diagnostic information about a supervised topic of type Int16
  2. Element 2 contains diagnostic information about a counter inside the node