2022-09-29 18:06:50 +02:00
|
|
|
# docker compose -f compose.ros2aria.yaml up
|
2022-09-21 18:10:39 +02:00
|
|
|
services:
|
2023-06-21 19:21:38 +02:00
|
|
|
ros2aria-dev:
|
2023-10-31 15:33:23 +01:00
|
|
|
image: delicjusz/pioneer:powerbot
|
2022-09-29 18:06:50 +02:00
|
|
|
network_mode: host
|
|
|
|
ipc: host
|
2023-06-21 19:21:38 +02:00
|
|
|
environment:
|
|
|
|
- RMW_IMPLEMENTATION=rmw_fastrtps_cpp
|
|
|
|
- LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/Aria/lib
|
|
|
|
- FASTRTPS_DEFAULT_PROFILES_FILE=/fastdds.xml
|
|
|
|
volumes:
|
|
|
|
- ./fastdds.xml:/fastdds.xml
|
2022-09-29 18:06:50 +02:00
|
|
|
devices:
|
2023-06-21 19:21:38 +02:00
|
|
|
- /dev/ttyS0
|
2023-10-31 15:33:23 +01:00
|
|
|
command: ros2 run ros2aria ros2aria --ros-args -p num_of_sonars:=28
|