ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Okay, so there's a way to do this it seems. For fastRTPS, you can use the following for DEFAULT_FASTRTPS_PROFILES.xml
, and place it in the working directory from where you run your ROS 2 nodes.
<?xml version="1.0" encoding="UTF-8" ?>
<profiles>
<participant profile_name="participant_profile" is_default_profile="true">
<rtps>
<builtin>
<metatrafficUnicastLocatorList>
<locator/>
</metatrafficUnicastLocatorList>
<initialPeersList>
<locator>
<udpv4>
<address>127.0.0.1</address>
</udpv4>
</locator>
</initialPeersList>
</builtin>
</rtps>
</participant>
</profiles>