[ros-users] [Discourse.ros.org] [Next Generation ROS] Change the default DDS implementation

Mikael Arguedas ros.discourse at gmail.com
Mon Oct 2 17:47:11 UTC 2017

Hi @BrannonKing,

You can change the default rmw implementation by defining the `RMW_IMPLEMENTATION` environment variable before compiling (you will need to make sure to recompile the `rmw_implementation` package for the change to take effect). 
You can also change the default rmw implementation used by modifying [this file](https://github.com/ros2/rmw/blob/master/rmw_implementation_cmake/cmake/get_default_rmw_implementation.cmake#L38).

Setting this variable before compiling only changes which rmw_implementation library will be opened by default. It still compiles all rmw implementation allowing you to select another one at runtime by setting `RMW_IMPLEMENTATION` if you want to.

[Visit Topic](https://discourse.ros.org/t/change-the-default-dds-implementation/2813/3) or reply to this email to respond.

More information about the ros-users mailing list