gazebosim / gazebo-classic

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

Ray sensor report bad distance #729

Open osrf-migration opened 11 years ago

osrf-migration commented 11 years ago

Original report (archived issue) by François-Michel De Rainville (Bitbucket: fmder).


When using a large min value in a ray sensor we can easily see in ROS RViz that the ranges reported are wrong. The min distance seems to be added twice in the MultiRangeShape, once in the Update function with the shortened fullRange and once in the GetRange function with the addition of GetMinRange.

Removing the addition of GetMinRange() from the MultiRangeShape::GetRange function seems to solves the problem. The visualization in RViz report aligned hits compared to a depth camera.

Related to issue #503

osrf-migration commented 11 years ago

Original comment by François-Michel De Rainville (Bitbucket: fmder).


The fix seems to make the shape of the MultiRange in the gazebo client is really weird.

osrf-migration commented 11 years ago

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


On hold until after June

osrf-migration commented 11 years ago

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


osrf-migration commented 11 years ago

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


osrf-migration commented 9 years ago

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


osrf-migration commented 8 years ago

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


osrf-migration commented 8 years ago

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