ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A answers.ros.org
Ask Your Question
0

ros2 eloquent demos ros_testing missing

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

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 github.com/ros2/demos 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 github.com/ros2/ros_testing seems very sparse with on usage or installation information.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

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

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 https://wiki.ros.org/rosdep#Using_rosdep or https://index.ros.org/doc/ros2/Instal...

The command you'll run will look like:

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

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

Seen: 522 times

Last updated: Mar 02 '20