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

How to get position updates? #11

Open
OlegJakushkin opened this issue Nov 9, 2020 · 4 comments
Open

How to get position updates? #11

OlegJakushkin opened this issue Nov 9, 2020 · 4 comments

Comments

@OlegJakushkin
Copy link

So I see how we get heading, pitch, roll. How to get position updates?

@peterhinch
Copy link
Contributor

That is not possible using an IMU. In theory it can be done by double integrating the accelerometer, but in practice errors accumulate exponentially. I believe it can be done with extreme precision accelerometers, but not with ones we can buy.

You need to find another way: counting wheel revolutions on a wheeled robot, or using GPS.

@OlegJakushkin
Copy link
Author

These guys tend to promise position+quaternion pairs. Here is their implementation sample, their license is also MITish.

@peterhinch
Copy link
Contributor

I would be fascinated to hear of any success with this. My own experiments produced exactly the (bad) result I expected.

As far as I can see, basic physics requires double integration with its inherent vice of amplifying errors. This code comment seems to suggest that they are double integrating. However I'm willing to be convinced that they have discovered something I've missed. Perhaps there is some clever filtering technique?

@claudiorodr
Copy link

@OlegJakushkin have you had any success from that implementation? As @peterhinch mentioned, I also haven't any good results double integrating due to cumulative errors.

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