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

Allow set of vehicle origin even when using GPS #25110

Conversation

peterbarker
Copy link
Contributor

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:

image

vs the same test run without the offset:
image

@rmackay9
Copy link
Contributor

I agree it should be OK to set the origin now. This check was added back before we had the moving internal origin.

tridge
tridge previously requested changes Sep 27, 2023
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.
Copy link
Contributor

@rmackay9 rmackay9 left a 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.

@peterbarker peterbarker force-pushed the pr/allow-origin-set-when-using-gps branch from 90bbc94 to 79ff9d9 Compare May 17, 2024 06:53
@rmackay9 rmackay9 dismissed stale reviews from tridge and themself May 17, 2024 23:55

Randy's requests addressed

@rmackay9
Copy link
Contributor

rmackay9 commented May 17, 2024

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

@peterbarker
Copy link
Contributor Author

I very much like this change but I think we should remove the EKF2 changes to reduce testing effort.

Done

@rmackay9
Copy link
Contributor

I've pulled your changes into this PR #27081 so I will go ahead and close this one if that's OK.

@rmackay9 rmackay9 closed this May 20, 2024
@peterbarker peterbarker deleted the pr/allow-origin-set-when-using-gps branch May 22, 2024 04:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants