mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-22 15:53:56 -04:00
Tools: autotest: add yaw test for motor fail test
This commit is contained in:
parent
c6b8335392
commit
e155ddbeba
@ -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…
Reference in New Issue
Block a user