gazebo_gridmap_plugin icon indicating copy to clipboard operation
gazebo_gridmap_plugin copied to clipboard

Obstacle in the octomap

Open ivrolan opened this issue 3 years ago • 0 comments

This PR filters all the octomap nodes and deletes the ones below or at surface level.

Also some problems with the obstacle layer in the grid_map were detected. The function is_obstacle()started the raycasting from z=0,. Changed the function to raycast only 1 ray from z = surface + min_height to z= surface + max_height and return true if dist < max_height - min_height.

Additionally, some parameters of the maps were changed (e.g. min_height was lowered to show the robot in the apollo world)

Cheers, Iván López Broceño

ivrolan avatar Nov 11 '22 10:11 ivrolan