mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-22 07:44:03 -04:00
AP_Mount: INS get_sample_rate() renamed to get_loop_rate_hz()
This commit is contained in:
parent
9f1e641637
commit
5a6be9e0a2
@ -222,7 +222,7 @@ void SoloGimbal::readVehicleDeltaAngle(uint8_t ins_index, Vector3f &dAng) {
|
||||
|
||||
if (ins_index < ins.get_gyro_count()) {
|
||||
if (!ins.get_delta_angle(ins_index,dAng)) {
|
||||
dAng = ins.get_gyro(ins_index) / ins.get_sample_rate();
|
||||
dAng = ins.get_gyro(ins_index) / ins.get_loop_rate_hz();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user