mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
autotest: correct rc-values-good debug
This commit is contained in:
parent
7d9daccdf7
commit
dfa342a79f
@ -3474,12 +3474,12 @@ class AutoTest(ABC):
|
||||
continue
|
||||
bad_channels = ""
|
||||
for chan in map_copy:
|
||||
self.progress("RC values good")
|
||||
chan_pwm = getattr(m, "chan" + str(chan) + "_raw")
|
||||
if chan_pwm != map_copy[chan]:
|
||||
bad_channels += " (ch=%u want=%u got=%u)" % (chan, map_copy[chan], chan_pwm)
|
||||
break
|
||||
if len(bad_channels) == 0:
|
||||
self.progress("RC values good")
|
||||
break
|
||||
self.progress("RC values bad:%s" % bad_channels)
|
||||
if not self.rc_thread.is_alive():
|
||||
|
Loading…
Reference in New Issue
Block a user