Is there a way to suppress this annoying warning that appears each time I run the bash after sourcing ros2
in ~/.bashrc
without using Connext
?
[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.
All this warning is saying is that Connext
has been built with support for for another RMW implementation that isn't the default. If you're not actively trying to use connext_dds
you can safely ignore the error. If you want to actually use this, or a non-default, RMW it is done by setting the environmental variable $RMW_IMPLEMENTATION
and can be changed by doing one of the following:
export RMW_IMPLEMENTATION=rmw_fastrtps_cpp
export RMW_IMPLEMENTATION=rmw_opensplice_cpp
export RMW_IMPLEMENTATION=rmw_connext_cpp
The default for the newest distro(foxy) is Fast-RTPS
.