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

Use PS3 Controller via USB

asked 2012-09-16 08:04:23 -0500

sgwhack gravatar image

updated 2014-01-28 17:13:40 -0500

ngrennan gravatar image

I was wondering if there were any libraries for ROS for using a PS3 controller through the USB connection instead of the Bluetooth connection? Or if it is even possible?

I looked at ps3joy, but it seems to only work via the bluetooth pairing.

Any suggestions?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2012-09-16 12:03:44 -0500

joq gravatar image

Try the regular joy driver. It will probably work.

edit flag offensive delete link more



Confirmed; the PS3 controller shows up as a standard joystick when attached via USB, so the joy driver works wonderfully.

ahendrix gravatar image ahendrix  ( 2012-09-17 11:27:00 -0500 )edit

On 12.04 LTS3, I had to do a few non-obvious steps to get the DualShock 3 controller to work in USB: A) run 'sudo apt-get install xserver-xorg-input-joystick'; B) after connecting the gamepad via USB, before or after running joy_node, I had to hold the PS button for 2 seconds to activate it.

anqixu gravatar image anqixu  ( 2014-04-16 09:20:29 -0500 )edit

Question Tools


Asked: 2012-09-16 08:04:23 -0500

Seen: 2,752 times

Last updated: Oct 13 '12