InertialSensor: fixed HIL build

This commit is contained in:
Andrew Tridgell 2012-03-10 09:43:21 +11:00
parent 6d06d9d070
commit 07e8360970
2 changed files with 2 additions and 0 deletions

View File

@ -26,3 +26,4 @@ void AP_InertialSensor_Stub::get_sensors( float * sensors ) {}
float AP_InertialSensor_Stub::temperature() { return 0.0; } float AP_InertialSensor_Stub::temperature() { return 0.0; }
uint32_t AP_InertialSensor_Stub::sample_time() { return 0; } uint32_t AP_InertialSensor_Stub::sample_time() { return 0; }
void AP_InertialSensor_Stub::reset_sample_time() {} void AP_InertialSensor_Stub::reset_sample_time() {}
float AP_InertialSensor_Stub::get_gyro_drift_rate(void) { return 0.0; }

View File

@ -32,6 +32,7 @@ class AP_InertialSensor_Stub : public AP_InertialSensor
float temperature(); float temperature();
uint32_t sample_time(); uint32_t sample_time();
void reset_sample_time(); void reset_sample_time();
float get_gyro_drift_rate();
}; };
#endif // __AP_INERTIAL_SENSOR_STUB_H__ #endif // __AP_INERTIAL_SENSOR_STUB_H__