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

Getting The Map pcd file? #21

Open
wienans opened this issue Mar 3, 2022 · 2 comments
Open

Getting The Map pcd file? #21

wienans opened this issue Mar 3, 2022 · 2 comments

Comments

@wienans
Copy link

wienans commented Mar 3, 2022

Hi,
thanks for your contribution to the SLAM space.
Actually i was wondering if the map can be saved? Or is this this offline mapping bug?

Moreover i wanted to ask if you have already experience with z stability of the algorithm, as many algorithms tend to struggle there which don't have any global height reference like GPS.

@Huguet57
Copy link
Owner

Huguet57 commented Mar 3, 2022

About the map saving, yes! It has been developed on the "hdmaps" branch. It's still not merged since I want it to work without adding too much complexity to what's there now. I expect it's (maximum) a week's work to implement it, so expect it to be merged soon.

If you would like to try it, clone the 'hdmaps' branch and you will see there's a map.save() and map.load() methods.

To save it as .pcd there should be a small change: converting Points to pcl::PointCloud<full_info::Point> (Point's method .toPCL()) and then calling pcl::io::savePCDFileASCII.

@Huguet57
Copy link
Owner

Huguet57 commented Mar 3, 2022

About the "z-stability", I remember trying the algorithm on KITTI it might be a slight problem on very long (>1km) paths but adding GPS is a TODO I intend to add given the couple of requests I received. It should not be very hard, give it a couple of weeks.

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