-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Describe the the feature you would like
According to the documentation, only the PS4 and Logitech controllers are supported by the clearpath packages. Supporting the Xbox controller would be a great step since these well manufactured, readily available and feature both USB and Bluetooth connectivity.
Other notes
Since our Husky did not ship with a controller and we had some Xbox Series S controllers in the lab, I added the configuration to our unit. What I did was:
- install
xboxdrvpackage via apt - pair the controller using
bluetoothctl - make a custom udev rule to map any such xbox controller to
/dev/input/xbox - added a custom
teleop_xbox.yamlconfig forteleop_twist_joyinclearpath_common/clearpath_control/config/a200andclearpath_common/clearpath_control/config/generic - modified
clearpath_config/clearpath_config/platform/platform.pyso that thexboxstring is acceptable as joystick parameter.
I am not sure if I missed something, but after this I can write xbox in the joystick tag in the robot.yaml general configuration file and everything works as expected. Shall I compile a PR for this? How should the udev rule be installed by the Clearpath Installer script?
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request