Tools: fixed optical flow speed limit

should be 10m/s, as per comment
This commit is contained in:
Andrew Tridgell 2020-10-21 14:17:48 +11:00
parent 86c558e735
commit a95c2e9db3

View File

@ -1767,7 +1767,7 @@ class AutoTestCopter(AutoTest):
while self.get_sim_time_cached() - tstart < timeout:
m = self.mav.recv_match(type='VFR_HUD', blocking=True)
spd = m.groundspeed
max_speed = 8
max_speed = 10
self.progress("%0.1f: Low Speed: %f (want <= %u)" %
(self.get_sim_time_cached() - tstart,
spd,