Install libdiagnostic-msgs-dev by entering the following commands in the terminal:
sudo apt update sudo apt install libdiagnostic-msgs-dev
Description:
Messages relating to Robot OS diagnostic, C/C++ interface
This package is part of Robot OS (ROS), and contains the messages which provide the standardized interface for the diagnostic and runtime monitoring systems in ROS. These messages are currently used by the http://wiki.ros.org/diagnostics stack, which provides libraries for simple ways to set and access the messages, as well as automated ways to process the diagnostic data. . This package contains the generated C/C++ header files.
Homepage: https://github.com/ros/common_msgs
Version: 1.12.5-3
Section: universe/libdevel