Skip to content

Commit

Permalink
fix: Deactivate custom CycloneDDS configuration by default
Browse files Browse the repository at this point in the history
  • Loading branch information
2b-t committed Nov 2, 2024
1 parent 07ee122 commit e746438
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions templates/ros2/dds/cyclone.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,11 @@
</Peers>
</Discovery>
<General>
<!--
<AllowMulticast>false</AllowMulticast>
<EnableMulticastLoopback>true</EnableMulticastLoopback>
-->
<DontRoute>true</DontRoute>
<Interfaces>
<NetworkInterface address="${YOUR_IP}"/>
</Interfaces>
Expand Down
3 changes: 2 additions & 1 deletion templates/ros2/docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ services:
- YOUR_IP=${YOUR_IP}
- ROBOT_IP=${ROBOT_IP}
- RMW_IMPLEMENTATION=rmw_cyclonedds_cpp
- CYCLONEDDS_URI=${AMENT_WORKSPACE_DIR}/dds/cyclone.xml
# Configure Cyclone with a custom configuration using the IPs above
#- CYCLONEDDS_URI=${AMENT_WORKSPACE_DIR}/dds/cyclone.xml
extra_hosts:
- "${ROBOT_HOSTNAME}:${ROBOT_IP}"
image: ros2_template:devel
Expand Down

0 comments on commit e746438

Please sign in to comment.