Skip to content

Commit c8c1a00

Browse files
updated DDS configs
1 parent e18183e commit c8c1a00

2 files changed

Lines changed: 15 additions & 9 deletions

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ RUN python3 -m pip install -r requirements.txt && \
4848
# update CYCLONE DDS Config for ROS
4949
RUN mkdir /cyclonedds && \
5050
mv /autoware_scenario_runner/docker/cyclonedds_local.xml /cyclonedds/ && \
51-
mv /autoware_scenario_runner/docker/cyclonedds_dist.xml /cyclonedds/ && \
51+
mv /autoware_scenario_runner/docker/cyclonedds_distributed.xml /cyclonedds/ && \
5252
rm -rf /autoware_scenario_runner/docker && \
5353
echo "export RMW_IMPLEMENTATION=rmw_cyclonedds_cpp" >> ~/.bashrc && \
5454
echo "alias rossrc='source ${AUTOWARE_MSG_PKG} && source ${ROS_PKG} && echo Sourced'" >> ~/.bashrc && \
Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,26 @@
33
<Domain Id="any">
44
<General>
55
<Interfaces>
6-
<NetworkInterface autodetermine="true" priority="default" multicast="default" />
6+
<NetworkInterface name="auto" priority="default" multicast="false" />
77
</Interfaces>
8-
<AllowMulticast>default</AllowMulticast>
8+
9+
<AllowMulticast>false</AllowMulticast>
10+
911
<MaxMessageSize>65500B</MaxMessageSize>
1012
</General>
13+
14+
<Discovery>
15+
<Peers>
16+
<Peer address="${AUTOWARE_IP}" />
17+
</Peers>
18+
<ParticipantIndex>auto</ParticipantIndex>
19+
</Discovery>
20+
1121
<Internal>
12-
<SocketReceiveBufferSize min="32MB"/>
13-
<SocketSendBufferSize min="8MB"/>
22+
<SocketReceiveBufferSize min="10MB"/>
1423
<Watermarks>
15-
<WhcHigh>1MB</WhcHigh>
24+
<WhcHigh>500kB</WhcHigh>
1625
</Watermarks>
1726
</Internal>
18-
<Tracing>
19-
<Verbosity>warning</Verbosity>
20-
</Tracing>
2127
</Domain>
2228
</CycloneDDS>

0 commit comments

Comments
 (0)