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

AP_Scripting: ahrs/ekf origin script promoted to an applet #28770

Merged
merged 1 commit into from
Dec 3, 2024

Conversation

rmackay9
Copy link
Contributor

@rmackay9 rmackay9 commented Nov 29, 2024

This promotes the ahrs-set-origin.lua script to an applet because it's useful for regular users who are doing Non-GPS navigation at the same location multiple times. This makes it unnecessary to always set the origin from the GCS.

I've added 3 parameters to allow users to set the Lat, Lon and Alt.

This has been tested in SITL and below is a screen shots from that. The first shows it setting the origin after SIM_GPS1_ENABLE = 0
ekf-origin-script-success

The second screen shot shows what happens when it runs but the GPS has already been used to automatically set the origin
image

@Hwurzburg Hwurzburg added the WikiNeeded needs wiki update label Nov 29, 2024
@tridge tridge merged commit eaf20db into ArduPilot:master Dec 3, 2024
100 checks passed
@rmackay9 rmackay9 deleted the scripting-ekf-origin-applet branch December 3, 2024 05:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Scripting WikiNeeded needs wiki update
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants