Getting ready

In Chapter 2, ROS Architecture and Concepts – I, we discussed listing nodes, topics, services, and parameters. The CLI commands rosnode list, rostopic list, rosservice list, and rosparam list provide the most basic level of introspection. Any of these commands can also be combined with regular bash commands to look for the desired nodes, topics, services, or parameters, such as grep:

$ rostopic list | grep speed

Get Robot Operating System Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.