Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using elevation_mapping with velodyne HDL-32 #116

Closed
Martygp95 opened this issue Sep 18, 2019 · 7 comments
Closed

Using elevation_mapping with velodyne HDL-32 #116

Martygp95 opened this issue Sep 18, 2019 · 7 comments

Comments

@Martygp95
Copy link

Hi again, I'm using Husky robot and the Velodyne HDL-32; I have an output in topic elevation_mapping/elevation_map, but the map visualised in Rviz is not consistent, there are like holes when detecting a wall.
image

I have the configuration files like this:
image
The topic output is like:
image

Considerations: The sensor is properly attached to the robot as well. I have compiled the code in Release, but the algorithm works really slow on rviz.

@maximilianwulf
Copy link
Contributor

maximilianwulf commented Sep 18, 2019

Hi @Martygp95, did you move the robot around?
Holes in the elevation map come from non-existent data in that area. Especially the Velodyne point cloud is not very dense. By driving around the missing spots should be filled at some point.
Does this answer your question?

but the algorithm works really slow on rviz.

Did you compile the rviz plugin form grid_map in release mode?
The plugin in its current state is not optimal but for us, it works.

@Martygp95
Copy link
Author

okey i'll try later! thank you so much!

@Martygp95
Copy link
Author

And with release mode I just cloned the repo of grid_map and did catkin_make -DCMAKE_BUILD_TYPE=Release

@Martygp95
Copy link
Author

I did few changes and it worked well! I changed elevation map parameters as it follows:

length_in_x: 5.0
length_in_y: 5.0
position_x: 0.0
position_y: 0.0
resolution: 0.08
min_variance: 0.00009
max_variance: 0.01
mahalanobis_distance_threshold: 2.5
multi_height_noise: 0.00002

So i put less resolution to the map, I tried to move the robot and it worked perfectly.

@maximilianwulf
Copy link
Contributor

Great to hear. Would you mind sharing a screenshot of the elevation map in this thread?

@Martygp95
Copy link
Author

result

@maximilianwulf
Copy link
Contributor

Thank you very much. I will close this issue now, feel free to reopen if you have further questions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants