O'Reilly logo

Robot Operating System Cookbook by Kumar Bipin

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

How to do it…

ROS provides several powerful GUI tools for system introspection. First of all, we will discuss rqt_top, which shows nodes and resources they are using, which is very similar to the top command in the Linux system. The following screenshot shows the rqt_top command for the program4 and program5 nodes running in the system:

rqt_top

Additionally, rqt_topic provides information about the topics, which includes publishers, subscribers, the publishing rate, and the messages being published. We can view the message fields and select the topic for introspection by using the following code:

$ rosrun rqt_topic rqt_topic

The following ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required