mirror of https://github.com/ArduPilot/ardupilot
autotest: relax constraints on wait_speed_vector()
This commit is contained in:
parent
6e37beb63c
commit
6ea7d0a258
|
@ -6766,7 +6766,7 @@ class AutoTest(ABC):
|
|||
return Vector3(msg.vx, msg.vy, msg.vz)
|
||||
|
||||
"""Wait for a given speed vector."""
|
||||
def wait_speed_vector(self, speed_vector, accuracy=0.2, timeout=30, **kwargs):
|
||||
def wait_speed_vector(self, speed_vector, accuracy=0.3, timeout=30, **kwargs):
|
||||
def validator(value2, target2):
|
||||
return (math.fabs(value2.x - target2.x) <= accuracy and
|
||||
math.fabs(value2.y - target2.y) <= accuracy and
|
||||
|
|
Loading…
Reference in New Issue