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

is it easy to write own drivers?

asked 2013-01-14 16:20:53 -0500

aimc gravatar image

updated 2014-04-20 14:09:22 -0500

ngrennan gravatar image

Suppose i have here a new Bluetooth PS joystick. Would it be easy to write a driver for it to work with ros? would it be a lot harder than writing a sensor for Ubuntu Linux?

Thanks in advance, i'm very novice in this matters.

greetings ros community

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted

answered 2013-01-14 18:25:51 -0500

isura gravatar image

updated 2013-01-14 18:26:27 -0500

ROS already has PS3 joystick drivers, see:

edit flag offensive delete link more



And probably several packages converting buttons into robot commands you could use as a template. Like my teleop_ps3 package.

felix k gravatar image felix k  ( 2013-01-14 22:54:36 -0500 )edit

answered 2013-01-14 22:57:50 -0500

felix k gravatar image

One more general hint: If your new device has no ROS support yet, but already a linux driver, it would suffice to write a ROS wrapper for that driver.

edit flag offensive delete link more



And, don't forget to ask the ROS community. Often, someone else is already working on it.

joq gravatar image joq  ( 2013-01-15 11:33:56 -0500 )edit

answered 2013-01-14 21:20:11 -0500

I wouldn't say that it is always easy, but IMO it certainly is no harder than writing a sensor driver for Ubuntu Linux.

edit flag offensive delete link more

Question Tools


Asked: 2013-01-14 16:20:53 -0500

Seen: 786 times

Last updated: Jan 14 '13