Peter Barker f9d619e260 ArduPlane: drive DCM wind estimation from the DCM backend
Previously ArduPlane called AP_AHRS::estimate_wind from its 10Hz GPS
update loop.  Drive it from AP_AHRS_DCM::update instead: when a new
GPS sample arrives with a 3D fix - the same gate ArduPlane applied -
DCM feeds its GPS velocity and attitude into the wind triangle.

Because estimation is now triggered per new GPS sample rather than by
a fixed-rate vehicle task, rate-limit estimate_wind to 10Hz internally
so the wind-triangle filter time constant stays sane regardless of GPS
rate.

This puts the wind-estimation trigger next to the data that feeds it,
in preparation for other backends driving their own wind estimates
from their own velocity/attitude samples.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-18 10:52:56 +10:00

ArduPilot Project

Discord

Test Copter Test Plane Test Rover Test Sub Test Tracker

Test AP_Periph Test Chibios Test Linux SBC Test Replay

Test Unit Teststest size

Test Environment Setup

Cygwin Build Macos Build

Coverity Scan Build Status

Test Coverage

Autotest Status

OpenSSF Best Practices

ArduPilot is the most advanced, full-featured, and reliable open source autopilot software available. It has been under development since 2010 by a diverse team of professional engineers, computer scientists, and community contributors. Our autopilot software is capable of controlling almost any vehicle system imaginable, from conventional airplanes, quad planes, multi-rotors, and helicopters to rovers, boats, balance bots, and even submarines. It is continually being expanded to provide support for new emerging vehicle types.

The ArduPilot project is made up of

User Support & Discussion Forums

Developer Information

Top Contributors

How To Get Involved

License

The ArduPilot project is licensed under the GNU General Public License, version 3.

Maintainers

ArduPilot is comprised of several parts, vehicles and boards. The list below contains the people that regularly contribute to the project and are responsible for reviewing patches on their specific area.

Plane-4.6.2 Latest
2025-07-17 18:43:00 -05:00
Languages
C++ 66.5%
Python 14.2%
C 11%
Lua 5.1%
HTML 1%
Other 1.8%