|
|
|
@ -37,9 +37,7 @@ bool AP_InertialSensor_HIL::update( void ) {
@@ -37,9 +37,7 @@ bool AP_InertialSensor_HIL::update( void ) {
|
|
|
|
|
float AP_InertialSensor_HIL::get_delta_time() { |
|
|
|
|
return _delta_time_usec * 1.0e-6; |
|
|
|
|
} |
|
|
|
|
uint32_t AP_InertialSensor_HIL::get_last_sample_time_micros() { |
|
|
|
|
return _last_update_ms * 1000; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
float AP_InertialSensor_HIL::get_gyro_drift_rate(void) { |
|
|
|
|
// 0.5 degrees/second/minute
|
|
|
|
|
return ToRad(0.5/60); |
|
|
|
|