Browse Source

Tools: adjust StabilityPatch test

fixed to account for use of propeller expo in model
c415-sdk
Andrew Tridgell 4 years ago
parent
commit
ca6da722a9
  1. 6
      Tools/autotest/arducopter.py

6
Tools/autotest/arducopter.py

@ -1021,9 +1021,9 @@ class AutoTestCopter(AutoTest):
self.progress("Holding loiter at %u meters for %u seconds" % self.progress("Holding loiter at %u meters for %u seconds" %
(start_altitude, holdtime)) (start_altitude, holdtime))
# cut motor 1 to 55% efficiency # cut motor 1 to 65% efficiency
self.progress("Cutting motor 1 to 60% efficiency") self.progress("Cutting motor 1 to 65% efficiency")
self.set_parameter("SIM_ENGINE_MUL", 0.60) self.set_parameter("SIM_ENGINE_MUL", 0.65)
while self.get_sim_time_cached() < tstart + holdtime: while self.get_sim_time_cached() < tstart + holdtime:
m = self.mav.recv_match(type='VFR_HUD', blocking=True) m = self.mav.recv_match(type='VFR_HUD', blocking=True)

Loading…
Cancel
Save