applets
ahrs-set-origin
Sets the AHRS/EKF origin to a specified Location
| Version | 1.0.0 |
|---|---|
| Date | 2026-05-18 |
| Min firmware | 4.5 |
| Vehicle | all |
/lua_ardupilot_scripts/applets/ahrs-set-origin.lua
Download .lua
AHRS set origin
Sets the AHRS/EKF origin to a specified Location
Parmeter Descriptions
-- AHRS_ORIG_LAT : AHRS Origin Latitude (in degrees) -- AHRS_ORIG_LON : AHRS Origin Longitude (in degrees) -- AHRS_ORIGIN_ALT : AHRS Origin Altitude (in meters above sea level)
How to use
Install this script on the flight controller Set AHRS_ORIG_LAT, AHRS_ORIG_LON, AHRS_ORIG_ALT to the desired location A message should appear on the messages screen when the AHRS/EKF origin has been set and the vehicle will most often then appear on the map