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

ros2 eloquent demos ros_testing missing

asked 2020-03-02 01:31:14 -0500

Tim Craig gravatar image

I have a ROS2 Eloquent installed from binaries and kept up to date. When I try to build the demos from out of the box, on some of the packages I get errors that ros_testingConfig.cmake required in the cmake is missing. When I've had similar errors about other packages, it was because the package wasn't installed. I've searched for how to install ros_testing and can find nothing. I can build the packages by turning BUILD_TESTING off in the colcon build.

Is ros_testing not installed or available? I've spent a good bit of time on this. I can find nothing Googling for "ros_testing" period. What I assume to be ros_testing at seems very sparse with on usage or installation information.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2020-03-02 03:56:52 -0500

marguedas gravatar image

On Linux, ROS packages can be install via APT with: sudo apt install ros-<ROS_DISTRO>-<PACKAGE_NAME>

to install ros_testing on eloquent you would

sudo apt install ros-eloquent-ros-testing

As tracking down and installing all dependencies of a package can be tedious, the recommended way is to use the tool named rosdep

You can find more information about rosdep at or

The command you'll run will look like:

rosdep install --from-paths src --ignore-src --rosdistro eloquent -y
edit flag offensive delete link more

Question Tools



Asked: 2020-03-02 01:31:14 -0500

Seen: 906 times

Last updated: Mar 02 '20