mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-10 09:58:28 -04:00
Copter: fixed non-EKF copter build
This commit is contained in:
parent
17e24521e8
commit
a8dc1be4de
@ -1531,10 +1531,13 @@ static void tuning(){
|
||||
g.sonar_gain.set(tuning_value);
|
||||
break;
|
||||
|
||||
#if AP_AHRS_NAVEKF_AVAILABLE
|
||||
#if 0
|
||||
case CH6_EKF_VERTICAL_POS:
|
||||
// EKF's baro vs accel (higher rely on accels more, baro impact is reduced)
|
||||
ahrs.get_EKF()->_gpsVertPosNoise = tuning_value;
|
||||
break;
|
||||
#endif
|
||||
|
||||
case CH6_EKF_HORIZONTAL_POS:
|
||||
// EKF's gps vs accel (higher rely on accels more, gps impact is reduced)
|
||||
@ -1545,6 +1548,7 @@ static void tuning(){
|
||||
// EKF's accel noise (lower means trust accels more, gps & baro less)
|
||||
ahrs.get_EKF()->_accNoise = tuning_value;
|
||||
break;
|
||||
#endif // AP_AHRS_NAVEKF_AVAILABLE
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user