Robotics StackExchange | Archived questions

How do I print summary through ROS_INFO

I want to print the ros summary below through the ROSINFO(). How do I get access these parameters. Line the node name. How do I also get the rostopic name so I can print it on my console using ROS_INFO()

SUMMARY

PARAMETERS

NODES - /1/chipimudrivernode (hfrimu/chipimudrivernode)

Asked by princesalasi on 2022-01-17 05:50:08 UTC

Comments

Answers

I think this package can help you solve this problem: http://wiki.ros.org/rosconsole#Console_Output_Formatting

There are a bit more documentation/sources too:

You can try to use rostopic in CLI and normal system environment variables like (use ROS/system commands from inside the code) to get most of your parameters (examples for ROS are there).

Asked by ljaniec on 2022-01-17 17:38:24 UTC

Comments