ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

Hi @TCIII:

I believe if you install: sudo apt-get install ros-noetic-joy should work with Xbox One.

Take a look at this example of implementation: https://github.com/2788west/cerusbot/tree/master/ROS https://johanschwind.medium.com/mobile-robot-teleoperation-with-the-jetson-nano-and-ros-d72b4b57e9be

The Xbox One controller has slight changes in the button naming convention compared to the Xbox 360 version.

Check this link for the table: https://ritchielozada.com/2016/01/16/part-11-using-an-xbox-one-controller-with-unity-on-windows-10/

I believe the wiki link needs to be updated with this info.

Hi @TCIII:

I believe if you install: sudo apt-get install ros-noetic-joy should work with Xbox One.

To test your joystick, check the tutorial: http://wiki.ros.org/joy/Tutorials/ConfiguringALinuxJoystick

In Linux:

ls /dev/input/  #to check if Linux detecting input
sudo jstest /dev/input/jsX  #replace X with your joystick number such as joy0 or joy1
ls -l /dev/input/jsX   #test the joystick

In ROS:

rosparam set joy_node/dev "/dev/input/jsX"
rosrun joy joy_node
rostopic echo joy

Take a look at this example of implementation: https://github.com/2788west/cerusbot/tree/master/ROS https://johanschwind.medium.com/mobile-robot-teleoperation-with-the-jetson-nano-and-ros-d72b4b57e9be

The Xbox One controller has slight changes in the button naming convention compared to the Xbox 360 version.

Check this link for the table: https://ritchielozada.com/2016/01/16/part-11-using-an-xbox-one-controller-with-unity-on-windows-10/

I believe the wiki link needs to be updated with this info.