Gazebo | Ignition | Community
Ask Your Question

Doubt about ultrasonic and IR sensors

asked 2013-02-14 11:51:06 -0500

pablogaralv gravatar image

Hi all, I've seen in the SDF format, that there are IR sensors, but when I include one in a model, Gazebo gives me an error (Error [] Unable to create sensor of type[ir]).

How can I create an IR sensor?

And, the next one: to create an Ultrasonic (range) sensor, I need to create a ray sensor as it's parent?

I'm very noob with Gazebo, and still learning, but the tutorial on the web is with a contact sensor and doesn't works for my purposes.

Thank you.

edit retag flag offensive close merge delete


1 has a tutorial that uses a laser sensor. I don't know if the laser can help you, but maybe the tutorial could clarify some ideas.

Daniel Vaz gravatar imageDaniel Vaz ( 2013-02-16 14:32:50 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2013-07-23 19:18:36 -0500

nkoenig gravatar image

The upcoming version of gazebo (1.9) will have ultrasonic sensor built in.

You can create an IR sensor using a ray sensor, and just use one ray.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2013-02-14 11:51:06 -0500

Seen: 1,418 times

Last updated: Jul 23 '13