- We are using an XBox Series S/X controller as our main controller.
Install the controller's driver: sudo apt install xboxdrv
and restart computer
- Run
sudo modprobe xpad
Do this every time, if it doesn't show up on the ros2 launch in the next step. Add it it to ~/.bashrc if you want it to happen automatically. - Launching the node with
ros2 launch teleop_twist_joy teleop-launch.py joy_config:='xbox'
- Use
ros2 topic echo /joy
to get the output of the controller