-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
separated melodic ros bridge demo | added simulation demo
Signed-off-by: Jakub Delicat <[email protected]>
- Loading branch information
Showing
3 changed files
with
35 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
x-gpu-config: | ||
&gpu-config | ||
runtime: nvidia | ||
environment: | ||
- DISPLAY=${DISPLAY:?err} | ||
- NVIDIA_VISIBLE_DEVICES=all | ||
- NVIDIA_DRIVER_CAPABILITIES=all | ||
|
||
x-cpu-config: | ||
&cpu-config | ||
environment: | ||
- DISPLAY=${DISPLAY:?err} | ||
- LIBGL_ALWAYS_SOFTWARE=1 | ||
|
||
services: | ||
rosbot_xl: | ||
image: husarion/rosbot-xl-gazebo:humble-0.8.11-20231127 | ||
<<: *gpu-config | ||
volumes: | ||
- /tmp/.X11-unix:/tmp/.X11-unix:rw | ||
- /dev:/dev | ||
command: ros2 launch rosbot_xl_gazebo simulation.launch.py mecanum:=True | ||
|
||
joy2twist: | ||
image: husarion/joy2twist:humble-1.0.0-20230424-stable | ||
devices: | ||
- /dev/input/js0 | ||
volumes: | ||
- ../joy2twist/config/joy2twist.yaml:/joy2twist.yaml | ||
command: ros2 launch joy2twist gamepad_controller.launch.py | ||
joy2twist_params_file:=/joy2twist.yaml |
File renamed without changes.