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

Building local grid map with stereo camera #85

Closed
montecarlo13 opened this issue Jan 12, 2017 · 4 comments
Closed

Building local grid map with stereo camera #85

montecarlo13 opened this issue Jan 12, 2017 · 4 comments

Comments

@montecarlo13
Copy link

hello guys, I want to build my own grid map on ROS Indigo with a sensor (e.g. kinect or Realsense camera) but without using a robot and navigation, just building the local grid map that should represent the obstacles detected by the sensor. What should I do with this grid map library? Do I need to work with the node "elevation mapping" in addition? Thanks!

@pfankhauser
Copy link
Member

Hi @montecarlo13
In that case you can either use Elevation Mapping or add the point clouds to a grid map in your own node, both ways will work.
Does that answer your question?

@montecarlo13
Copy link
Author

Hi @pfankhauser
Thank you very much for your answer. Now I have a idea, I would firstly use OpenCV to process my depth images, which published by the sensor, then in my node I use the classes GridMapCvConverter and GridMapCvProcessing from the grid map library for converting the cv messages to /grid_map_msgs/GridMap, so that I can get the OccupancyGrid map with help from the node grid_map_visualization. Will that work? Thanks!

@pfankhauser
Copy link
Member

I don't think you need OpenCV for this. Just take your depth images, turn them into point clouds and either use Elevation Mapping or your own implementation to add the point clouds to a grid map. Does this help?

@montecarlo13
Copy link
Author

@pfankhauser

Thank you very much, it's really helpful ! :-)

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