O'Reilly logo

Effective Robotics Programming with ROS - Third Edition by Aaron Martinez, Enrique Fernández, Luis Sánchez, Anil Mahtani

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

Dealing with the unexpected

ROS has several tools for detecting potential problems in all the elements of a given package. Just move with roscd to the package you want to analyze. Then, run roswtf. For chapter3_tutorials, we have the following output. Note that if you have something running, the ROS graph will be analyzed too. We have run the roslaunch chapter3_tutorials example6.launch command, which yields an output similar to the following screenshot:

Dealing with the unexpected

In general, we should expect no error or warning, but even then some of them are innocuous. In the previous screenshot, we can see that roswtf does not detect any error; it only issues a warning ...

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