File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,7 +28,14 @@ RUN python3 -m pip install -r requirements.txt && \
2828 tar -xvf PythonAPI.tar && \
2929 rm -rf PythonAPI.tar
3030
31+ # update CYCLONE DDS Config for ROS
32+ RUN mkdir /cyclonedds && \
33+ mv /autoware_scenario_runner/docker/cyclonedds.xml /cyclonedds/ && \
34+ echo "export RMW_IMPLEMENTATION=rmw_cyclonedds_cpp" >> ~/.bashrc && \
35+ echo "export CYCLONEDDS_URI=file:///cyclonedds/cyclonedds.xml" >> ~/.bashrc && \
36+ source ~/.bashrc
37+
3138ENV CARLA_API_ROOT="/autoware_scenario_runner/PythonAPI"
3239ENV PYTHONPATH="${PYTHONPATH}:${CARLA_API_ROOT}/carla/agents:${CARLA_API_ROOT}/carla"
3340
34- ENTRYPOINT [ "/autoware_scenario_runner/entrypoint.sh" ]
41+ ENTRYPOINT [ "/autoware_scenario_runner/entrypoint.sh" ]
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <CycloneDDS xmlns =" https://cdds.io/config" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : schemaLocation =" https://cdds.io/config https://raw.githubusercontent.com/eclipse-cyclonedds/cyclonedds/master/etc/cyclonedds.xsd" >
3+ <Domain Id =" any" >
4+ <General >
5+ <Interfaces >
6+ <NetworkInterface autodetermine =" true" priority =" default" multicast =" default" />
7+ </Interfaces >
8+ <AllowMulticast >default</AllowMulticast >
9+ <MaxMessageSize >65500B</MaxMessageSize >
10+ </General >
11+ <Internal >
12+ <SocketReceiveBufferSize min =" 10MB" />
13+ <Watermarks >
14+ <WhcHigh >500kB</WhcHigh >
15+ </Watermarks >
16+ </Internal >
17+ </Domain >
18+ </CycloneDDS >
You can’t perform that action at this time.
0 commit comments