mirror of https://github.com/ArduPilot/ardupilot
InertialSensor: fixed HIL build
This commit is contained in:
parent
44ebb20329
commit
b02ca58901
|
@ -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; }
|
||||
|
|
|
@ -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__
|
||||
|
|
Loading…
Reference in New Issue