1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-23 08:15:26 +03:00

Refactor position estimation code

Remove position estimate history code
Remove rangefinder median filtering
Change VEL_XY PID to allow more authority
This commit is contained in:
Konstantin Sharlaimov (DigitalEntity) 2017-12-06 23:30:33 +10:00
parent f3422ce423
commit a60e9f63d4
11 changed files with 128 additions and 182 deletions

View file

@ -175,6 +175,7 @@ void initActiveBoxIds(void)
activeBoxIds[activeBoxIdCount++] = BOXNAVALTHOLD;
activeBoxIds[activeBoxIdCount++] = BOXSURFACE;
}
if ((feature(FEATURE_GPS) && sensors(SENSOR_MAG) && sensors(SENSOR_ACC)) || (STATE(FIXED_WING) && sensors(SENSOR_ACC) && feature(FEATURE_GPS))) {
activeBoxIds[activeBoxIdCount++] = BOXNAVPOSHOLD;
activeBoxIds[activeBoxIdCount++] = BOXNAVRTH;