Skip to content

Commit

Permalink
docker: add valid compose file
Browse files Browse the repository at this point in the history
  • Loading branch information
miloszlagan committed Nov 29, 2024
1 parent 29abad1 commit edd018d
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions compose.yaml
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
x-common-config:
&common-config
network_mode: host
ipc: host
pid: host
restart: unless-stopped
privileged: true

services:
husarion_ugv_crsf_teleop:
image: husarion/crsf-teleop:humble
<<:
- *common-config
network_mode: host
ipc: host
pid: host
restart: unless-stopped
privileged: true
environment:
- RMW_IMPLEMENTATION=${RMW_IMPLEMENTATION:-rmw_cyclonedds_cpp}
- ROS_DOMAIN_ID=${ROS_DOMAIN_ID:-0}
- ROBOT_NAMESPACE=panther
devices:
- /dev/ttyUSB0
- /dev/ttyUSBPAD
command: >
ros2 launch husarion_ugv_crsf_teleop teleop.launch.py
port:=/dev/ttyUSBPAD namespace:=$${ROBOT_NAMESPACE}

0 comments on commit edd018d

Please sign in to comment.