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

Error after calling local_setup.bat

asked 2020-01-20 05:21:41 -0500

Kasper H gravatar image

updated 2020-01-20 05:37:23 -0500

gvdhoorn gravatar image

I've been trying to install ROS 2 Dashing Diademata - Patch Release 5 (ros2-dashing-20191213-windows-amd64.zip) using the binary package on Windows 10. I am following the guide provided in: https://index.ros.org/doc/ros2/Instal.... When running

call C:\dev\ros2_dashing\local_setup.bat

to setup my environment I get the following output:

[connext_cmake_module] Warning: The location at which Connext was found when the workspace was built [[C:\Program Files\rti_connext_dds-5.3.1]] does not point to a valid directory, and the NDDSHOME environment variable has not been set. Support for Connext will not be available.

" set CMAKE_PREFIX_PATH=C:\dev\ros_dashing was unexpected at this time.

" set AMENT_PREFIX_PATH=C:\dev\ros_dashing was unexpected at this time.

" set PKG_CONFIG_PATH=C:\dev\ros_dashing\lib\pkgconfig was unexpected at this time.

Issuing any command starting with ros2 (such as ros2 run demo_nodes_cpp talker) afterwards results in the following error:

failed to create process.

Could anyone give me some ideas on what might be going wrong here?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2020-01-24 13:06:58 -0500

tfoote gravatar image

This is not an error but a warning. The ROS packages that you installed include bindings for RTI Connext However this is a warning that if they do not find RTI Connext installed that the implementation will not be available because the underlying library is not available.

There are instructions for installing additional DDS implementations here: https://index.ros.org/doc/ros2/Instal...

There's more documentation on how to use Multiple RMW implmentations (that usually build on top of the DDS implementations) here: https://index.ros.org/doc/ros2/Tutori...

But in general most users will usually use the default RMW implementation and can ignore the above message.

Related Questions https://answers.ros.org/question/3235...

edit flag offensive delete link more

Comments

I disagree. Am currently experiencing the error atm. This solution doesn't work.

Dickson gravatar image Dickson  ( 2021-08-11 05:39:39 -0500 )edit

As with the other poster, there's likely also an additional error in your system in addition to the quoted warning. Please ask a new question of your own with all the information necessary to reproduce your environemnt, the full commands that you're running as well as the full console output produced.

tfoote gravatar image tfoote  ( 2021-08-11 12:56:11 -0500 )edit
-1

answered 2020-01-24 11:25:32 -0500

CarSim gravatar image

I had this same exact problem. It turned out I was using the installation instructions for "Eloquent Elusor", but I had downloaded the ROS2 package for "Dashing Diademata". Duh.

I have two things to say about this: 1) The download page (https://github.com/ros2/ros2/releases) is confusing (the latest version is not at the top) and difficult to navigate (the "Eloquent Elusor" download links aren't here... you have to follow another link to find them). 2) Version names are annoying. How is "ROS 2 Dashing Diademata" clearer or easier for developers than "ROS 2.1"... its just unnecessary complexity/obfuscation that adds no value.

edit flag offensive delete link more

Comments

Thanks for this answer. I realized after reading this that I'd also downloaded the wrong ROS2 package. I'd followed directions to install Humble Hawkesbill, but the Foxy Fitzroy package was the first one listed on the downloads page. I had to scroll down the page to find the correct one. Hopefully it works now.

VTRoot gravatar image VTRoot  ( 2022-10-26 13:22:33 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2020-01-20 05:01:43 -0500

Seen: 3,546 times

Last updated: Jan 24 '20