
Effective Robotics Programming with ROS
By :

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:
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 about pip
, which may sometimes generate problems with the Python code installed in the system. Note that the purpose of roswtf
is to signal potential problems; we are responsible for checking whether they are real or meaningless ones, as in the previous case.
Another useful tool is catkin_lint
, which helps to diagnose errors with catkin
, usually in...