ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Unfortunately this was never documented, but the documentation for rosbuild_add_roslaunch_check is close:

http://wiki.ros.org/rosbuild/CMakeLists#rosbuild_add_roslaunch_check

The function you are inquiring about is the "rosbuild-less" equivalent function and in the case you are asking about it is operating on the entire launch folder, which I presume contains one or more .launch files. Even the rosbuild version's documentation does not clearly state what exactly it checks:

This macro declares as a unit test a parse check of one or more roslaunch files. The parser (roslaunch/scripts/roslaunch-check) checks a number of aspects of launch files, in a manner similar to roswtf.

Another thing to do is to look at the script it seems to invoke for the test:

https://github.com/ros/ros_comm/blob/1.11.10/tools/roslaunch/scripts/roslaunch-check

There should probably be something about that script documented here:

http://wiki.ros.org/roslaunch/Commandline%20Tools

And some mention of the CMake commands provided by roslaunch here:

http://wiki.ros.org/roslaunch#Overview

It seems the reason that documentation doesn't exist in those places is that the function used to be provided by rosbuild but is now provided by roslaunch and that never got documented and at the same time the CMake function was added where roslaunch previously had no documented CMake API either.

Adding this to the wiki would be a great contribution, assuming you have the time and figure out more about what the check actually checks.