-
Notifications
You must be signed in to change notification settings - Fork 18.2k
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
Allow set of vehicle origin even when using GPS #25110
Allow set of vehicle origin even when using GPS #25110
Conversation
I agree it should be OK to set the origin now. This check was added back before we had the moving internal origin. |
daa0d06
to
90bbc94
Compare
not being able to set origin when using GPS is annoying. We've adjusted the way we do positions in the EKF (local offsets) and generally (Vector3p), so even if the suer sets an origin a long way away it shouldn't hurt.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I very much like this change but I think we should remove the EKF2 changes to reduce testing effort.
90bbc94
to
79ff9d9
Compare
Randy's requests addressed
Hi @peterbarker, Somehow the change to AP_NavEKF3_Control.cpp has gone missing or perhaps I misread the the change in its earlier form. In any case, maybe you could pull that removal in as well from my PR? #27081 |
Done |
I've pulled your changes into this PR #27081 so I will go ahead and close this one if that's OK. |
not being able to set origin when using GPS is annoying. We've adjusted the way we do positions in the EKF (local offsets) and generally (Vector3p), so even if the suer sets an origin a long way away it shouldn't hurt.
Some interesting results here:
vs the same test run without the offset:
