mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
autotest: correct order of progress vs action in set-param
This commit is contained in:
parent
e1884bcd6e
commit
04ddc9de03
@ -4039,9 +4039,9 @@ class AutoTest(ABC):
|
||||
self.progress("%s want=%f autopilot=%s (attempt=%u/%u)" %
|
||||
(name, value, autopilot_values.get(name, 'None'), i+1, attempts))
|
||||
if name not in autopilot_values:
|
||||
self.send_get_parameter_direct(name)
|
||||
if verbose:
|
||||
self.progress("Requesting (%s)" % (name,))
|
||||
self.send_get_parameter_direct(name)
|
||||
continue
|
||||
delta = abs(autopilot_values[name] - value)
|
||||
if delta <= epsilon_pct*0.01*abs(value):
|
||||
|
Loading…
Reference in New Issue
Block a user