https://github.com/brean/docker-ros2-ds4-controller
example using docker-compose configuration to integrate the ROS 2 ds4-controller.
https://github.com/brean/docker-ros2-ds4-controller
Last synced: 2 months ago
JSON representation
example using docker-compose configuration to integrate the ROS 2 ds4-controller.
- Host: GitHub
- URL: https://github.com/brean/docker-ros2-ds4-controller
- Owner: brean
- License: bsd-3-clause
- Created: 2023-10-12T20:35:20.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-14T19:26:40.000Z (over 1 year ago)
- Last Synced: 2025-01-10T21:47:56.206Z (9 months ago)
- Language: Dockerfile
- Size: 5.86 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# docker-ros-ds4-controller
Example using docker-compose configuration to integrate the PlayStation Dual Shock 4-controller with ROS.## Usage
1. install docker, docker-compose and terminator
1. build the docker container using docker-compose: `docker-compose build`
1. connect your Playstation Dual Shock 4 controller via USB or Bluetooth.
1. call the `run.bash`-script to start terminator with the two docker container.
1. move the stick of your controller. You see the published outtput of the ROS `/cmd_vel`-command on the right
1. once you close terminator the run.bash-script will stop the docker container by calling `docker-compose down`## Run only DS4 controller with custom ROS 2
ROS_DOMAIN_ID=99 docker compose up ds4