Usage of roswtf

We can check the issues inside a ROS package by simply entering the package and entering roswtf. We can also check issues in the launch file using the following command:

    $ roswtf <file_name>.launch
  

We may get a report if there are issues associated with the package.

Figure 16: roswtf command output for a ROS package

The wiki page of roswtf is available at http://wiki.ros.org/roswtf.

The following are some of the common issues faced when working with ROS:

  • Issue 1:

Error message: Failed to contact master at [localhost:11311]. Retrying...

Figure 17: Failed to contact master error message

Solution: This message comes when the ...

Get ROS Programming: Building Powerful Robots 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.