AP_Mount: INS get_sample_rate() renamed to get_loop_rate_hz()

This commit is contained in:
Andy Piper 2020-05-21 19:30:43 +01:00 committed by Andrew Tridgell
parent 9f1e641637
commit 5a6be9e0a2

View File

@ -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();
}
}
}