A GitHub template for ROSbot XL: a gamepad control
Choose one of the supported gamepads:
Make sure you have yq
installed:
sudo curl -L https://github.com/mikefarah/yq/releases/download/v4.35.1/yq_linux_$(dpkg --print-architecture) -o /usr/bin/yq
sudo chmod +x /usr/bin/yq
Clone this repository on the robot and flash the correct firmware:
git clone https://github.com/husarion/rosbot-xl-gamepad
cd rosbot-xl-gamepad
chmod +x flash_rosbot_firmware.sh
./flash_rosbot_firmware.sh
Connect a gamepad to the USB type A port at the back panel of ROSbot XL and run
docker compose -f compose.f710.yaml up
Note
More details on the use of the F710 Gamepad and joy2twist
package in ROS 2 can be found in Husarion's article in the ROS Equipment section.
ROSbot XL and Steamdeck need to be in the same LAN network at first. After that:
- Clone this repository on the ROSbot XL and run:
docker compose -f compose.steamdeck-rosbot.yaml up
- Clone this repository on the steamdeck and run:
docker compose -f compose.steamdeck.yaml up