Commit 798a612
committed
Fix AGL velocity estimation using squared acceleration weight factor
The AGL velocity update was incorrectly using squared acceleration
weight factor (sq(accWeightFactor)) while the altitude update uses
linear weight. This creates physical inconsistency where position
and velocity respond differently to the same acceleration.
With accWeightFactor=0.5 (moderate confidence):
- Altitude receives 50% of acceleration (correct)
- Velocity was receiving 25% of acceleration (wrong - squared)
This fix removes sq() from the velocity update to match the altitude
update, making both integrations physically consistent with standard
kinematic equations.
May fix #10314
May be related to #105671 parent a7932b9 commit 798a612
File tree
1 file changed
+1
-1
lines changed1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
152 | | - | |
| 152 | + | |
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
| |||
0 commit comments