diff --git a/Tools/autotest/arducopter.py b/Tools/autotest/arducopter.py index c9ede30643..6ca6c065a6 100644 --- a/Tools/autotest/arducopter.py +++ b/Tools/autotest/arducopter.py @@ -3833,7 +3833,7 @@ class AutoTestCopter(AutoTest): new_pos = self.mav.location() delta = self.get_distance(target, new_pos) self.progress("Landed %f metres from target position" % delta) - max_delta = 1 + max_delta = 1.5 if delta > max_delta: raise NotAchievedException("Did not land close enough to target position (%fm > %fm" % (delta, max_delta)) @@ -6896,7 +6896,7 @@ class AutoTestCopter(AutoTest): if self.get_sim_time_cached() - tstart > 10: break vel = self.get_body_frame_velocity() - if vel.length() > 0.3: + if vel.length() > 0.5: raise NotAchievedException("Moved too much (%s)" % (str(vel),)) shove(None, None) @@ -9267,8 +9267,8 @@ class AutoTestCopter(AutoTest): # before the motors will spin: self.wait_esc_telem_rpm( esc=mot, - rpm_min=17640, - rpm_max=17640, + rpm_min=17626, + rpm_max=17626, minimum_duration=2, timeout=5, ) @@ -9277,8 +9277,8 @@ class AutoTestCopter(AutoTest): self.set_safetyswitch_off() self.wait_esc_telem_rpm( esc=mot, - rpm_min=17640, - rpm_max=17640, + rpm_min=17626, + rpm_max=17626, minimum_duration=2, timeout=5, ) diff --git a/Tools/autotest/helicopter.py b/Tools/autotest/helicopter.py index ca7acdc1cc..d193965fb6 100644 --- a/Tools/autotest/helicopter.py +++ b/Tools/autotest/helicopter.py @@ -403,7 +403,7 @@ class AutoTestHelicopter(AutoTestCopter): self.progress("Triggering manual autorotation by disabling interlock") self.set_rc(3, 1300) self.set_rc(8, 1000) - self.wait_servo_channel_value(8, 1200, timeout=3) + self.wait_servo_channel_value(8, 1199, timeout=3) self.progress("channel 8 set to autorotation window") self.set_rc(8, 2000)