Browse Source

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
master
Andrew Tridgell 12 years ago
parent
commit
05ecb8d8fa
  1. 2
      libraries/AP_AHRS/AP_AHRS.cpp

2
libraries/AP_AHRS/AP_AHRS.cpp

@ -163,7 +163,7 @@ void AP_AHRS::wind_correct_bearing(int32_t &nav_bearing_cd) @@ -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)
{
if (_gps && _gps->status() >= GPS::GPS_OK_FIX_2D) {

Loading…
Cancel
Save