|
|
@ -33,7 +33,7 @@ bool AP_InertialSensor_HIL::update( void ) { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
float AP_InertialSensor_HIL::get_delta_time() const { |
|
|
|
float AP_InertialSensor_HIL::get_delta_time() const { |
|
|
|
return _delta_time_usec * 1.0e-6; |
|
|
|
return _sample_period_ms * 0.001f; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
float AP_InertialSensor_HIL::get_gyro_drift_rate(void) { |
|
|
|
float AP_InertialSensor_HIL::get_gyro_drift_rate(void) { |
|
|
|