Browse Source

AP_Mount: INS get_sample_rate() renamed to get_loop_rate_hz()

zr-v5.1
Andy Piper 5 years ago committed by Andrew Tridgell
parent
commit
5a6be9e0a2
  1. 2
      libraries/AP_Mount/SoloGimbal.cpp

2
libraries/AP_Mount/SoloGimbal.cpp

@ -222,7 +222,7 @@ void SoloGimbal::readVehicleDeltaAngle(uint8_t ins_index, Vector3f &dAng) { @@ -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…
Cancel
Save