Goal: using joystick to control robots with ROS2 humble (use turtle as an example)
Suppose you installed ROS2 humble but without experience about joystick controller
To install ROS2 humble, copy and paste all the commands from
Ubuntu (deb packages) — ROS 2 Documentation: Humble documentation
1. connect and test your xbox controller
plugin in your xbox to your computer, open a terminal
目标:使用操纵杆通过 ROS2 humb 控制机器人(以 turtle 为例)
假设您安装了 ROS2 humb,但没有操纵杆控制器使用经验
要安装 ROS2 humb,请复制并粘贴所有命令
Ubuntu(deb 包)— ROS 2 文档:Humble 文档
1. 连接并测试您的 xbox 控制器
将您的 xbox 插入您的计算机,打开终端
sudo apt install joystick
jstest /dev/input/js0 # test inputs
if error, check name of your xbo