2024-01-22 11:36:55 +01:00
|
|
|
# docker compose -f compose.decawave.yaml up
|
|
|
|
services:
|
|
|
|
decawave:
|
|
|
|
image: delicjusz/decawave
|
|
|
|
network_mode: host
|
|
|
|
ipc: host
|
2024-11-15 19:34:32 +01:00
|
|
|
restart: unless-stopped
|
2024-01-22 11:36:55 +01:00
|
|
|
environment:
|
2024-11-15 19:34:32 +01:00
|
|
|
- RMW_IMPLEMENTATION=rmw_cyclonedds_cpp
|
2024-01-22 11:36:55 +01:00
|
|
|
- FASTRTPS_DEFAULT_PROFILES_FILE=/fastdds.xml
|
2024-11-15 19:34:32 +01:00
|
|
|
- CYCLONEDDS_URI=file:///cyclonedds.xml
|
2024-01-22 11:36:55 +01:00
|
|
|
volumes:
|
|
|
|
- ./fastdds.xml:/fastdds.xml
|
2024-11-15 19:34:32 +01:00
|
|
|
- ./cyclonedds.xml:/cyclonedds.xml
|
2024-01-22 11:36:55 +01:00
|
|
|
devices:
|
|
|
|
- /dev/decawave
|
2024-11-15 19:44:53 +01:00
|
|
|
command: ros2 launch decawave_driver decawave.launch.py namespace:=pioneer${PIONEER_ID}/ serial_port:=/dev/decawave
|