Skip to content

Commit

Permalink
ROS2 - Fix Compose Configuration (#18)
Browse files Browse the repository at this point in the history
* fix demo

* Update demo/single_robot/compose.rosbotxl.ros2.sim.yaml

Co-authored-by: Dawid Kmak <[email protected]>

---------

Co-authored-by: Dawid Kmak <[email protected]>
  • Loading branch information
pkowalsk1 and KmakD authored Jan 9, 2024
1 parent 2ff163e commit 8c36add
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 10 deletions.
11 changes: 4 additions & 7 deletions demo/single_robot/compose.panther.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,8 @@ services:
ipc: host
devices:
- /dev/input/js0
environment:
- ROS_IP=10.15.20.2
- ROS_MASTER_URI=http://10.15.20.2:11311
volumes:
- ./../../joy2twist/config/joy2twist_panther.yaml:/joy2twist_panther.yaml
command: >
bash -c
"ros2 launch
joy2twist gamepad_controller.launch.py
joy2twist_params_file:=$(ros2 pkg prefix joy2twist)/share/joy2twist/config/joy2twist_panther.yaml"
ros2 launch joy2twist gamepad_controller.launch.py
joy2twist_params_file:=/joy2twist_panther.yaml
2 changes: 1 addition & 1 deletion demo/single_robot/compose.rosbot2r.ros1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ services:
environment:
- ROS_MASTER_URI=http://ros-master:11311
volumes:
- ../joy2twist/config/joy2twist.yaml:/joy2twist.yaml
- ./../../joy2twist/config/joy2twist.yaml:/joy2twist.yaml
command: >
ros2 launch
joy2twist gamepad_controller.launch.py
Expand Down
5 changes: 3 additions & 2 deletions demo/single_robot/compose.rosbotxl.ros2.sim.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ services:
devices:
- /dev/input/js0
volumes:
- ../joy2twist/config/joy2twist.yaml:/joy2twist.yaml
command: ros2 launch joy2twist gamepad_controller.launch.py
- ./../../joy2twist/config/joy2twist.yaml:/joy2twist.yaml
command: >
ros2 launch joy2twist gamepad_controller.launch.py
joy2twist_params_file:=/joy2twist.yaml

0 comments on commit 8c36add

Please sign in to comment.