Ask Your Question
0

Start writing drivers

asked 2013-09-06 23:16:39 -0500

tiko gravatar image

updated 2014-01-28 17:17:52 -0500

ngrennan gravatar image

Hi there,

we are starting a project and we want to implement new sensors and actuators for our ROS-project. My task is to provide the e.g. data of an IR sensor or implement I2C-bus. My first thought was: Poll the sensor and write a publisher. But I guess you guys are more expirience in such a task, so I want to ask you first.

While I have expirience with ROS already, I have never done such a thing. Do you have any good idea where to start or any tutorial how I can write a driver in ROS?

Greetz, tiko

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2013-09-07 01:25:20 -0500

davinci gravatar image

How do you interface the I2C bus? Directly from the computer? If you have no interface yet look at the arduino I2C tutorials: http://wiki.ros.org/rosserial_arduino/Tutorials/SRF08%20Ultrasonic%20Range%20Finder

edit flag offensive delete link more

Comments

Hi davinci, thanks for the quick answer. We do it in a similar way, by having the libraries already. Anyway, I was just concerned about the way to talk with such sensors and actuator. But as I thought, it is just the straight way by writing a simple publisher. Thanks!

tiko gravatar image tiko  ( 2013-09-08 01:54:31 -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

1 follower

Stats

Asked: 2013-09-06 23:16:39 -0500

Seen: 277 times

Last updated: Sep 07 '13