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

Barometer support? #1582

Open
lukehutch opened this issue May 24, 2019 · 10 comments
Open

Barometer support? #1582

lukehutch opened this issue May 24, 2019 · 10 comments

Comments

@lukehutch
Copy link

I need to increase the absolute altitude accuracy of long scan paths by means of a barometer. I have a MS5611 barometer chip I can get readings from.

In this comment, @ojura said "I believe the team at some point used a barometer for measuring height".

How can I incorporate barometer readings into Cartographer?

@ojura
Copy link
Contributor

ojura commented May 27, 2019

The original author of Cartographer quickly corrected me that I was mistaken. Indeed different height submaps are displayed on the GIF on the repo frontpage, but the height there is from 3D SLAM, not from an external height reading such as a barometer.

I would point you to the pose graph. It's a quite flexible tool. You could, for example, constrain the height of the trajectory nodes according to your barometer readings with some strength which will gently pull the trajectory towards your altitude readings, but not too hard (otherwise you will start trusting the noise from your barometer).

@lukehutch
Copy link
Author

Thanks, I'll try that. How do I reliably synchronize timestamps when adding a new sensor like this?

@wolfgangschwab
Copy link

@lukehutch,
have you found a solution for integrating a barometer into cartographer?

@lukehutch
Copy link
Author

@lukehutch,
have you found a solution for integrating a barometer into cartographer?

No, I wrote my own SLAM software from scratch after failing to get Cartographer to do what I needed (not just in terms of integrating the barometer signal, but also Cartographer had major drift issues with my datasets, and I couldn't seem to get it to behave properly...).

@wolfgangschwab
Copy link

OK, interesting solution :-o. Does not sound like a quick and easy solution. I have respect for writing an own SLAM Software. Is your SLAM Software publicly available?

@lukehutch
Copy link
Author

Writing a new point cloud SLAM system is insanity, I don't recommend it :-D It's a great learning opportunity though!

It works well for many uses, but there are a couple of usecases that still need improvement. It's not available yet, unfortunately, and it's complex enough that I wouldn't want to support it for anything other than my own project. It's specifically tailored to work with an Ouster OS1-64, and would need some nontrivial work done to port to another sensor. Sorry about that!

@wolfgangschwab
Copy link

Thanks. So no solution for my problem. But I wish you good luck for solving the outstanding issues and for the future. :-)

@lukehutch
Copy link
Author

Thanks! If the software ever becomes mature, I'll see if I can release it, but that's quite a long way off, I think. I hope you get your barometer signal integrated -- it's a very important signal!

@wolfgangschwab
Copy link

@lukehutch , I added the usage of barometer and compass to cartographer. I'm not exactly sure whether it works correctly. Do you know how I can check in the logs how the pose is calculated? If you are interested in the solution send me an pm.

@lukehutch
Copy link
Author

@wolfgangschwab sorry, I don't know enough about Cartographer!

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

3 participants