diff --git a/demo/single_robot/compose.panther.yaml b/demo/single_robot/compose.panther.yaml index 3acb3a5..84a4b36 100644 --- a/demo/single_robot/compose.panther.yaml +++ b/demo/single_robot/compose.panther.yaml @@ -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 diff --git a/demo/single_robot/compose.rosbot2r.ros1.yaml b/demo/single_robot/compose.rosbot2r.ros1.yaml index 7681c70..dcf0a0a 100644 --- a/demo/single_robot/compose.rosbot2r.ros1.yaml +++ b/demo/single_robot/compose.rosbot2r.ros1.yaml @@ -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 diff --git a/demo/single_robot/compose.rosbotxl.ros2.sim.yaml b/demo/single_robot/compose.rosbotxl.ros2.sim.yaml index 92362db..cbf0d08 100644 --- a/demo/single_robot/compose.rosbotxl.ros2.sim.yaml +++ b/demo/single_robot/compose.rosbotxl.ros2.sim.yaml @@ -26,6 +26,6 @@ services: devices: - /dev/input/js0 volumes: - - ../joy2twist/config/joy2twist.yaml:/joy2twist.yaml + - ./../../joy2twist/config/joy2twist.yaml:/joy2twist.yaml command: ros2 launch joy2twist gamepad_controller.launch.py joy2twist_params_file:=/joy2twist.yaml