gazebosim / gz-sensors

Provides numerous sensor models designed to generate realistic data from simulation environments.
https://gazebosim.org
Apache License 2.0
59 stars 58 forks source link

Sonar #19

Open chapulina opened 4 years ago

chapulina commented 4 years ago

Port Gazebo-classic's SonarSensor to Ignition.

It should be integrated with the noise system.

Once this is done, a visualization can be added to ign-rendering.

doisyg commented 4 years ago

+1

felixstaniek commented 3 years ago

Hi, I am currently trying to set up a simulation environment for autonomous model cars in ignition. For this ultrasonic range sensors are required. Since I do not have a complete overview over all elements available in citadel, i might be missing it, but has this been worked on and is there a branch where a sonar sensor can be used in ignition?

iche033 commented 3 years ago

no, unfortunately no work has been done on this yet.

mabelzhang commented 3 years ago

Additional features for sonars --

I debated whether to put this in the RaySensor close-the-gap ticket (https://github.com/ignitionrobotics/ign-sensors/issues/26) or this one. I decided this one, because this ticket is for a sensor called sonar, while the RaySensor could be used for other things, even though users actually adapt the RaySensor to model sonars.

It has been raised that the ray / sonar sensors in Gazebo only return distances, while real sonar data depend on many other properties. To improve the sensor in Ignition, it would be great to support custom properties such as

and other things someone who actually uses sonars would be much more well-versed in than me.

We don't necessarily have to implement all of those (though that would be the ideal), but the idea is to have some kind of built-in support to make specifying a few properties easier (e.g. through plugin parameters, per-object custom SDF tags, etc.), without users having to each write their own plugins before having a simulated sensor that meets common expectations.

This is in addition to fixing this accuracy issue with SonarSensor https://github.com/osrf/gazebo/issues/1746 , which @iche033 pointed out.