How to publish raw data to /diagnostics topic?
Hi, I have been reading about Diagnostics tools in ROS and knew how to setup to analyze the raw data from robot hardware. But I'm wondering how to publish those data to /diagnostics topic, so that I can use them to analyze and re-publish to /diagnostics_agg topic?
Can anyone explain the process of getting raw data from robot hardware and how to config it to use in ROS? Thank you so much.