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

Installing the joy node on Mac OSX

asked 2013-05-15 02:18:03 -0500

Luc gravatar image

updated 2013-05-16 16:18:20 -0500

William gravatar image

I installed ROS groovy on my Mac OS 10.8.3 following the MacPorts tutorial. I copied the joy package from the source.

$ rospack find joy
$ /opt/ros/groovy/share/ros/joy

Eventually, I get:

$ rosdep install joy
$ ERROR: the following packages/stacks could not have their rosdep keys resolved
to system dependencies:
joy: No definition of [joystick] for OS [osx]

Does it mean that currently it is not possible to install the joy package on Mac? If it is possible, I would be glad to learn which installation steps I missed.

Best regards, Luc.

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted

answered 2013-05-20 00:48:00 -0500

Hansg91 gravatar image

I am using osx_joystick for this at the moment. It is not entirely the same, but it shares many similarities. It at least gets the job done ;)

edit flag offensive delete link more

answered 2013-05-17 12:34:00 -0500

SL Remy gravatar image

If you'd like to try code that was last used over a year ago:


It was my go at a cross platform joystick package based on the SDL (only finished the OSX portion because I ran out of time). Hadn't shared it before since I planned to rewrite it based on a standard package.. but still haven't gotten around to it, and Snow Leopard has long been eclipsed by Mountain Lion.

It uses the cross platform libST Joystick Implementation (there should be a package for this somewhere...)

Hope it helps someone (even if it's to show them how not to go about it!)

edit flag offensive delete link more


I also use SDL for portable joystick reading in my segwayrmp demo app: If you want another reference of how to use SDL for that.

William gravatar image William  ( 2013-05-17 12:38:29 -0500 )edit

answered 2013-05-16 15:28:13 -0500

joq gravatar image

There is no joystick package currently defined for OSX. That's why you can't build the joy package.

If there is an equivalent package for OSX, then you can contribute the missing rosdep rules to fix this problem.

Otherwise, you probably won't be able to use the joy package on your system.

edit flag offensive delete link more

Question Tools


Asked: 2013-05-15 02:18:03 -0500

Seen: 769 times

Last updated: May 20 '13