Skip to content

Commit

Permalink
Tools: autotest: quadplane: MAV_CMD_DO_ENGINE_CONTROL: wait after RC …
Browse files Browse the repository at this point in the history
…input change before sending command
  • Loading branch information
IamPete1 committed Nov 17, 2024
1 parent a42d16d commit 9e46c02
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Tools/autotest/quadplane.py
Original file line number Diff line number Diff line change
Expand Up @@ -1220,6 +1220,7 @@ def MAV_CMD_DO_ENGINE_CONTROL(self):
self.start_subtest("Check start chan control disable")
old_start_channel_value = self.get_rc_channel_value(rc_engine_start_chan)
self.set_rc(rc_engine_start_chan, 1000)
self.delay_sim_time(1) # Make sure the RC change has registered
self.context_collect('STATUSTEXT')
method(mavutil.mavlink.MAV_CMD_DO_ENGINE_CONTROL, p1=1, want_result=mavutil.mavlink.MAV_RESULT_FAILED)
self.wait_statustext("start control disabled", check_context=True)
Expand Down

0 comments on commit 9e46c02

Please sign in to comment.