Ask Your Question
1

Error after calling local_setup.bat

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

Kasper H gravatar image

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

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 -0600

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
-1

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

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

Your Answer

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

Add Answer

Question Tools

1 follower

Stats

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

Seen: 60 times

Last updated: Jan 24