AP_InertialNav: clarify get_vert_pos_rate AHRS method name to include 'D'

This commit is contained in:
Peter Barker 2023-05-31 17:24:15 +10:00 committed by Peter Barker
parent 904707de15
commit 030c34345d

View File

@ -32,7 +32,7 @@ void AP_InertialNav::update(bool high_vibes)
// during high vibration events use vertical position change
if (high_vibes) {
float rate_z;
if (_ahrs_ekf.get_vert_pos_rate(rate_z)) {
if (_ahrs_ekf.get_vert_pos_rate_D(rate_z)) {
velNED.z = rate_z;
}
}