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

RTI Connext DDS environment script not found (ROS2 on Windows)

asked 2021-05-28 13:22:53 -0500

Janus52 gravatar image

updated 2022-01-06 11:29:31 -0500

osilva gravatar image

Hi,

I am following the official tutorial to install ROS2 on Windows. At the step of Environment setup, I did "> call C:\dev\ros2_galactic\local_setup.bat"

and here comes the error:

"[rti_connext_dds_cmake_module][warning] RTI Connext DDS environment script not found (\resource\scripts\rtisetenv_x64Win64VS2017.bat). RTI Connext DDS will not be available at runtime, unless you already configured PATH manually."

Please advice. Thank you.

Janus

edit retag flag offensive close merge delete

Comments

Same for me actually. Let's hope that someone has some workaround to it!

ros2-user gravatar image ros2-user  ( 2021-06-02 06:07:28 -0500 )edit

I am facing the same issue as well.

Deeps gravatar image Deeps  ( 2021-06-02 15:30:59 -0500 )edit

@Deeps and @ros2-user Please do not post answers to questions that are not actually answers. This is a Q&A site not a discussion forum. For each of your answers, I've reposted as a comment.

jarvisschultz gravatar image jarvisschultz  ( 2021-06-03 12:01:33 -0500 )edit

4 Answers

Sort by ยป oldest newest most voted
0

answered 2021-06-05 01:55:51 -0500

JRD gravatar image

I encountered the same problem yesterday and have solved it. In my opinion, you might need to install the Eclipse Cyclone DDS manually (see https://docs.ros.org/en/foxy/Installa...). After the installation it should be fine (though the error message won't disappear).

edit flag offensive delete link more

Comments

Hello, thanks for this tips. Do you know how to install Eclipse Cyclone DD on windows ? The think you put is related to linux. Thanks for any help.

Hedwin gravatar image Hedwin  ( 2021-10-08 08:39:52 -0500 )edit
0

answered 2022-01-05 11:08:31 -0500

okahilak gravatar image

You should be able to ignore the warning.

In the official installation instructions, it says: "It is normal that [running local_setup.bat], if nothing else went wrong, outputs 'The system cannot find the path specified.' exactly once." I believe that it refers to the same warning, although the exact phrasing of the warning has apparently changed after the instructions were last updated.

See also a ROS tutorial, which says: "If you get an RTI Connext DDS environment script not found warning, you can safely ignore it in the scope of this tutorial."

edit flag offensive delete link more

Comments

I considered this a possibility, however the reason I'm at this page is because I followed the Windows Installation Instructions, the Environment Setup step prints the warning mentioned above, and when I try to run the examples immediately following, it just prints "failed to create process."

cdgraham gravatar image cdgraham  ( 2022-02-15 12:07:18 -0500 )edit
1

answered 2022-04-21 21:36:43 -0500

CGibbons gravatar image

You can install the required RTI files here (follow links at the bottom of the page) https://www.rti.com/free-trial/dds-fi...

which I found via the ROS doco here https://docs.ros.org/en/galactic/Inst...

edit flag offensive delete link more
0

answered 2022-11-01 04:43:25 -0500

I have faced a similar problem. The crux of the problem is that it is trying to use "RTI Connext DDS" even though the documentation says it uses "Fast DDS" by default.

I am trying to install ROS2 for the first time, so I don't know the efficient way to solve this problem.

I wish I could tell it to use "Fast DDS" but I don't know how to do that. (Can someone please tell me how to do this?)

As others have already answered, if you install "RTI Connext DDS" and pass it through correctly, the sample should work.

edit flag offensive delete link more

Comments

I finally solved this problem completely.

This page helped me a lot.

The core of the problem is that it uses "RTI Connext DDS" by default.

(1) Open cmd with administrator privileges and use "Fast DDS" with the following code

set RMW_IMPLEMENTATION=rmw_fastrtps_cpp

(2) Set up the workspace

call C:\dev\ros2_humble\local_setup.bat

(3) Start talker

ros2 run demo_nodes_cpp talker

(4) Execute (1) and (2) with another cmd (remember to have administrator privileges) and start listener

ros2 run demo_nodes_py listener

I hope this helps anyone viewing this page.

gakutasu gravatar image gakutasu  ( 2022-11-02 00:41:36 -0500 )edit

Question Tools

4 followers

Stats

Asked: 2021-05-28 13:22:53 -0500

Seen: 9,222 times

Last updated: Jan 05 '22