mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-25 01:03:59 -04:00
autotest: check context for expected esc-rpm statustext
This commit is contained in:
parent
459af5ec9b
commit
4caaf1533f
@ -1138,8 +1138,8 @@ class AutoTestCopter(AutoTest):
|
|||||||
self.run_cmd(mavutil.mavlink.MAV_CMD_NAV_TAKEOFF, 0, 0, 0, 0, 0, 0, 10)
|
self.run_cmd(mavutil.mavlink.MAV_CMD_NAV_TAKEOFF, 0, 0, 0, 0, 0, 0, 10)
|
||||||
else:
|
else:
|
||||||
self.set_rc(3, 1700)
|
self.set_rc(3, 1700)
|
||||||
# we may never see ourselves as armed is a heartbeat
|
# we may never see ourselves as armed in a heartbeat
|
||||||
self.wait_statustext("Takeoff blocked: ESC RPM too low")
|
self.wait_statustext("Takeoff blocked: ESC RPM too low", check_context=True)
|
||||||
self.zero_throttle()
|
self.zero_throttle()
|
||||||
self.disarm_vehicle()
|
self.disarm_vehicle()
|
||||||
self.wait_disarmed()
|
self.wait_disarmed()
|
||||||
|
Loading…
Reference in New Issue
Block a user