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

Problem with ROS2 installation

asked 2019-05-20 00:50:36 -0500

Veera Ragav gravatar image

updated 2019-05-20 03:12:52 -0500

gvdhoorn gravatar image

i am following this link to install ROS2 Crystal on my ubuntu 16.04. I already have ROS Kinetic installed on my machine. During this step . ~/ros2_install/ros2-linux/setup.bash, I get this warning:

[connext_cmake_module] Warning: The location at which Connext was found when the workspace was built [[/opt/rti.com/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.

This is asking for RTI DDS installation. How do I make that use some other open source DDS implementation?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
4

answered 2019-05-20 04:58:58 -0500

alsora gravatar image

updated 2019-05-20 05:00:02 -0500

The RMW Implementation used when executing a ROS2 application is chosen according to the value of the following environment variable:

echo $RMW_IMPLEMENTATION

You can set different RMW in the following way:

export RMW_IMPLEMENTATION=rmw_fastrtps_cpp
export RMW_IMPLEMENTATION=rmw_opensplice_cpp
export RMW_IMPLEMENTATION=rmw_connext_cpp

In any case, by default it will point to Fast-RTPS DDS library (open source and always installed together with ROS2).

edit flag offensive delete link more

Comments

My RMW_IMPLEMENTATION was not set. Even after setting it I get the same warning. I tried running the demo talker and listener node which works fine.

Veera Ragav gravatar image Veera Ragav  ( 2019-05-20 05:15:55 -0500 )edit
3

You can safely ignore the warning as long as you are not setting RMW_IMPLEMENTATION=rmw_connext_cpp. The reason for the warning is that the binaries have been compiled with Connext support, however you do not have the Connext library on your pc, so it's simply saying that you can't use it. If you want to get rid of it, you have to install the Connext library under /opt/rti.com/rti_connext_dds-5.3.1 Follow this: https://index.ros.org/doc/ros2/Instal...

alsora gravatar image alsora  ( 2019-05-20 05:34:28 -0500 )edit

Cool. Thanks.

Veera Ragav gravatar image Veera Ragav  ( 2019-05-20 05:40:58 -0500 )edit
2

Also, this is our tutorial for this feature, for reference: https://index.ros.org/doc/ros2/Tutori...

William gravatar image William  ( 2019-05-20 15:23:58 -0500 )edit

Question Tools

3 followers

Stats

Asked: 2019-05-20 00:50:36 -0500

Seen: 13,984 times

Last updated: May 20 '19