Take a look at the reem_common and reem_plugins stacks (they work with ROS Electric). They respectively contain examples of a URDF model with sonars/IRs, and plugins for simulating such sensors in gazebo. HTH.
Originally posted by Adolfo Rodriguez T with karma: 3907 on 2012-04-25
This answer was ACCEPTED on the original site
Post score: 3
Comment by Capelare on 2012-04-25:
Thanks Adolfo, I'll look into it but it seems to be exactly what I wanted :)
Comment by pmarinplaza on 2012-08-30:
could you compile the package reem_plugins with rosmake in fuerte? It gives me problems with the includes path like gazebo/Sonar.hh, gazebo / Global.hh etc.
I find Sensor.hh but I but not Global.hh Where must I looking for this header?
Comment by Adolfo Rodriguez T on 2012-09-04:
The package has no fuerte support. In fact, it will probably never have, but rather jump to Groovy. Feel free to send a patch to our github issue tracker if you ever migrate it to Fuerte.