Added decawave

Signed-off-by: Jakub Delicat <jakub.delicat@pwr.edu.pl>
This commit is contained in:
Jakub Delicat 2024-01-22 11:36:55 +01:00
parent 5ae912489c
commit dd00ec1e49
2 changed files with 15 additions and 2 deletions

14
compose.decawave.yaml Normal file
View File

@ -0,0 +1,14 @@
# docker compose -f compose.decawave.yaml up
services:
decawave:
image: delicjusz/decawave
network_mode: host
ipc: host
environment:
- RMW_IMPLEMENTATION=rmw_fastrtps_cpp
- FASTRTPS_DEFAULT_PROFILES_FILE=/fastdds.xml
volumes:
- ./fastdds.xml:/fastdds.xml
devices:
- /dev/decawave
command: ros2 launch decawave_driver decawave.launch.py namespace:=pioneer${PIONEER_ID}/

View File

@ -10,8 +10,7 @@ services:
volumes: volumes:
- ./fastdds.xml:/fastdds.xml - ./fastdds.xml:/fastdds.xml
devices: devices:
# - /dev/hokuyo - /dev/hokuyo
- /dev/ttyACM0
command: > command: >
ros2 run urg_node urg_node_driver --ros-args -r ros2 run urg_node urg_node_driver --ros-args -r
__ns:=/pioneer${PIONEER_ID} -p __ns:=/pioneer${PIONEER_ID} -p