Browse Source

Tools: autotest: add yaw test for motor fail test

master
Peter Barker 6 years ago committed by Peter Barker
parent
commit
e155ddbeba
  1. 3
      Tools/autotest/arducopter.py

3
Tools/autotest/arducopter.py

@ -1377,6 +1377,9 @@ class AutoTestCopter(AutoTest): @@ -1377,6 +1377,9 @@ class AutoTestCopter(AutoTest):
self.progress(" Yaw: %f deg" % int_error_yaw)
self.progress("----")
if int_error_yaw_rate > 0.1:
raise NotAchievedException("Vehicle is spinning")
if alt_delta < -20:
raise NotAchievedException("Vehicle is descending")

Loading…
Cancel
Save