diff --git a/libraries/AP_InertialSensor/AP_InertialSensor_Stub.cpp b/libraries/AP_InertialSensor/AP_InertialSensor_Stub.cpp index e88785e1c6..98bbf38c04 100644 --- a/libraries/AP_InertialSensor/AP_InertialSensor_Stub.cpp +++ b/libraries/AP_InertialSensor/AP_InertialSensor_Stub.cpp @@ -26,3 +26,4 @@ void AP_InertialSensor_Stub::get_sensors( float * sensors ) {} float AP_InertialSensor_Stub::temperature() { return 0.0; } uint32_t AP_InertialSensor_Stub::sample_time() { return 0; } void AP_InertialSensor_Stub::reset_sample_time() {} +float AP_InertialSensor_Stub::get_gyro_drift_rate(void) { return 0.0; } diff --git a/libraries/AP_InertialSensor/AP_InertialSensor_Stub.h b/libraries/AP_InertialSensor/AP_InertialSensor_Stub.h index aae2bd1393..2ddcce038e 100644 --- a/libraries/AP_InertialSensor/AP_InertialSensor_Stub.h +++ b/libraries/AP_InertialSensor/AP_InertialSensor_Stub.h @@ -32,6 +32,7 @@ class AP_InertialSensor_Stub : public AP_InertialSensor float temperature(); uint32_t sample_time(); void reset_sample_time(); + float get_gyro_drift_rate(); }; #endif // __AP_INERTIAL_SENSOR_STUB_H__