AP_AHRS: fixed functions that need to be virtual
functions overridden in a child class need to be marked virtual, or you get the parent class function
This commit is contained in:
parent
ee81b0f729
commit
05ecb8d8fa
@ -163,7 +163,7 @@ void AP_AHRS::wind_correct_bearing(int32_t &nav_bearing_cd)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// return a ground speed estimate
|
// return a ground speed estimate in m/s
|
||||||
Vector2f AP_AHRS::groundspeed_vector(void)
|
Vector2f AP_AHRS::groundspeed_vector(void)
|
||||||
{
|
{
|
||||||
if (_gps && _gps->status() >= GPS::GPS_OK_FIX_2D) {
|
if (_gps && _gps->status() >= GPS::GPS_OK_FIX_2D) {
|
||||||
|
Loading…
Reference in New Issue
Block a user