This is a very simple GUI program for testing joysticks in ROS.
More specifically, it displays the messages of a sensor_msgs/Joy
topic in a more user-friendly format.
ros2 run joy_tester test_joy
By default it subscribes to the /joy
topic, but this can be remapped as with any other ROS node (e.g. with --ros-args -r joy:=other_joy
).
Particularly helpful (compared to a topic echo
) is that it displays the axis/button numbers which saves time and errors in counting them manually.
- Clean up the code, particularly GUI element placement (was a very rough first go)
- Add functionality for sending
sensor_msgs/JoyFeedback
(e.g. LED, rumble) back to controllers - Some way to assist in calibration?