gazebosim / gazebo-classic

Gazebo classic. For the latest version, see https://github.com/gazebosim/gz-sim
http://classic.gazebosim.org/
Other
1.15k stars 478 forks source link

Arbitrary model properties #550

Open osrf-migration opened 11 years ago

osrf-migration commented 11 years ago

Original report (archived issue) by Fadri Furrer (Bitbucket: ffurrer).


It would be great if one could specify arbitary values to each model, these properties would be similar to an intensity value for a laser sensor that can be assigned to a value.

osrf-migration commented 11 years ago

Original comment by Thomas Koletschka (Bitbucket: thomasko).


Can you clarify what you mean with "model properties" and "arbitrary values" ... models have many different properties and values. Given that you talk about intensity values for a lidar do you mean the reflectance of an object?

osrf-migration commented 11 years ago

Original comment by Fadri Furrer (Bitbucket: ffurrer).


I'm talking about additional properties, in my case this property would be a NDVI value that I want to assign to a model and cool would also be if one could specify this similar to a heightmap. Other possible properties could be other surface properties that you can't or don't want to model but you want to be able to create a sensor that can read out these properties.

osrf-migration commented 11 years ago

Original comment by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters).


You can add custom properties for plugins; is that sufficient? For example, see the drc_vehicle model in drcsim.

osrf-migration commented 11 years ago

Original comment by Thomas Koletschka (Bitbucket: thomasko).


I think he's suggesting something similar to what I was suggesting for friction in my comment to issue #474. The idea would be to have materials that are being accessed by different sensors. So for example right now a normal camera sensor uses all the visual texture (diffuse, specular, normal, ...) to return its sensor readings, but for detecting vegetation for example people make use of infrared light to calculate the NDVI used for detecting (healthy) vegetation. Now you don't want to simulate infrared reflectance and everything that goes along with it so you would simply have material for your objects that represents the NDVI which would then be accessible by a sensor.

This approach would also be useful to simulate intensity readings (reflectance) for LIDAR sensors properly.

Long story short: Materials that are applied like the visual textures but only visible to certain sensors.

At least that's how I understood his request / how I would imagine it to work. :)

osrf-migration commented 11 years ago

Original comment by Nate Koenig (Bitbucket: Nathan Koenig).


Until after June, 2013.

osrf-migration commented 11 years ago

Original comment by Ian Chen (Bitbucket: Ian Chen, GitHub: iche033).


osrf-migration commented 7 years ago

Original comment by Nate Koenig (Bitbucket: Nathan Koenig).


osrf-migration commented 7 years ago

Original comment by Nate Koenig (Bitbucket: Nathan Koenig).