ROS Resources: Documentation | Support | Discussion Forum | Service Status | Q&A answers.ros.org
Ask Your Question
1

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
3

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

Comments

1

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

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

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 imageanqixu ( 2014-04-16 09:20:29 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

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

Seen: 2,034 times

Last updated: Oct 13 '12