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

ps3joy on OSX

asked 2012-01-29 05:12:20 -0600

Kevin gravatar image

updated 2012-09-09 15:34:19 -0600

I see the package for Linux to use a PS3 Dual Shock joystick, but is there a similar package for OSX? Thanks.

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted

answered 2012-09-09 15:31:49 -0600

Kevin gravatar image

I have finally found a way to use my PS3 controller with ROS that doesn't involve my having to learn Python. I wrote a simple package call osx_joystick that will publish either sensor_msgs::Joy or geometry_msgs::Twist based on the analog sticks or button values.

edit flag offensive delete link more

answered 2012-02-28 16:29:25 -0600

William gravatar image

updated 2012-02-28 16:30:03 -0600

There does not seem to be an option for that on Mac just yet.

I use rososc and my iPhone for driving stuff or simulations with my mac.

edit flag offensive delete link more



Yes, I have played with that on my iPad. It was cool, but I still think the joystick is better. Since I have 4 of the ps3 joysticks, I would love to get one of them working.

Kevin gravatar image Kevin  ( 2012-02-29 13:20:20 -0600 )edit

Strange ... I just went to and tried to search for the rososc code and it said: Didn't find anything relating to 'rososc'. Going straight to your link above works fine.

Kevin gravatar image Kevin  ( 2012-03-04 07:42:23 -0600 )edit

answered 2012-02-28 18:27:40 -0600

ahendrix gravatar image

Apparently Apple includes a generic joystick driver for the PS3 controller, see the fifth post here: . This solves the hard problem of how to pair the PS3 controller and turn it into a joystick.

Unfortunately, there isn't a general ROS joystick driver for OS X yet, but it shouldn't be too hard to use the joystick input from pygame to write one.

edit flag offensive delete link more



Yes, I have done it before using Processing and the proControl library on 10.6 ... however I can't pair 10.7 and my ps3 controller anymore. It keeps asking for a pass phrase now ... Apple seems to have made improvements to Bluetooth!

Kevin gravatar image Kevin  ( 2012-02-29 13:17:48 -0600 )edit

Question Tools


Asked: 2012-01-29 05:12:20 -0600

Seen: 1,288 times

Last updated: Sep 09 '12