O'Reilly logo

Learning ROS for Robotics Programming by Enrique Fernández, Aaron Martinez

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

When something weird happens – roswtf!

ROS also has another tool to detect potential problems in all the elements of a given package. Just move with roscd to the package you want to analyze, and then run roswtf. In the case of chapter3_tutorials, we have the following output:

When something weird happens – roswtf!

Normally, we should expect no error or warning but some of them are innocuous. In the preceding screenshot, we see that roswtf has detected that it was not able to connect with the example4 node. This happens because this node has a sleep instruction, and if analyzed, this might occur while sleeping. The other errors are a consequence of this one. The purpose of roswtf is to ...

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