File tree Expand file tree Collapse file tree 2 files changed +15
-4
lines changed
autoware_reference_system/src/ros2/data Expand file tree Collapse file tree 2 files changed +15
-4
lines changed Original file line number Diff line number Diff line change 22# Build with
33# TODO: Not use root!
44# Add cache for apt update.xº
5- ARG image_base=337955887028.dkr.ecr.eu-central-1.amazonaws.com /amd64: galactic-1.4.4
5+ ARG image_base=registry.klepsydra.io /amd64/ galactic:20.04.0
66
77ARG registry=registry.klepsydra.io/repository
88ARG board=amd64
@@ -99,6 +99,17 @@ cd /home/kpsruser/colcon_reference-system/
9999colcon build --cmake-args -DCMAKE_PREFIX_PATH="/home/kpsruser/kpe-ros2-core-install/install" -DCMAKE_BUILD_TYPE=${BUILD_MODE} -DRUN_BENCHMARK=ON
100100EOF
101101
102+ # ToDO: This is not ideal.
102103# Necessary.
103104ENV LD_LIBRARY_PATH=/home/kpsruser/kpe-ros2-core-install/install/kpsr_ros2_executor/lib:/usr/local/lib:/home/kpsruser/colcon_reference-system/install/reference_interfaces/lib:/opt/ros/galactic/lib/x86_64-linux-gnu:/opt/ros/galactic/lib
105+ ENV PYTHONPATH=/opt/ros/galactic/lib/python3.8/site-packages:/home/kpsruser/colcon_reference-system/install/reference_system/lib/python3.8/site-packages/
104106
107+ # Modify entrypoint
108+ RUN sed -i '/^exec */i source /home/kpsruser/colcon_reference-system/install/setup.sh --' /opt/ros_entrypoint.sh
109+
110+ # Install dependencies.
111+ RUN pip3 install pandas==2.0.1 bokeh==2.4.1 psrecord==1.2 numpy==1.24.3
112+
113+ RUN chmod +x /home/kpsruser/reference-system/autoware_reference_system/scripts/benchmark.py
114+ WORKDIR /home/kpsruser/reference-system/
115+ CMD autoware_reference_system/scripts/benchmark.py 30 autoware_default_custom
Original file line number Diff line number Diff line change 1616 "pool_size": 1,
1717 "stat_admin_port": 9595,
1818 "stat_system_port": 9696,
19- "log_level": 0 ,
20- "number_of_event_loops": 4 ,
21- "number_of_cores": 4 ,
19+ "log_level": 6 ,
20+ "number_of_event_loops": 8 ,
21+ "number_of_cores": 8 ,
2222 "critical_thread_pool_size": 32,
2323 "non_critical_thread_pool_size": 32,
2424 "number_of_parallel_threads": 1
You can’t perform that action at this time.
0 commit comments