Skip to content

Commit

Permalink
Autotest: Fix ShipOps Test
Browse files Browse the repository at this point in the history
  • Loading branch information
lthall committed Jul 20, 2024
1 parent 2abae92 commit f651960
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Tools/autotest/arducopter.py
Original file line number Diff line number Diff line change
Expand Up @@ -8250,6 +8250,7 @@ def ShipOps_PayloadPlace(self):
self.wait_servo_channel_value(10, 2000, timeout=120) # this is the gripper released
self.progress("Ensuring we are on the deck when release happens")
self.assert_altitude(abs_alt-5, abs_alt+5)
self.set_rc(3, 1500)

self.progress("Waiting for climb-out after releasing load")
self.wait_altitude(perch_alt-5, perch_alt+5, minimum_duration=5, timeout=60, relative=True)
Expand All @@ -8261,6 +8262,7 @@ def ShipOps_PayloadPlace(self):
self.set_rc(3, 1000)

self.wait_disarmed()
self.change_mode("GUIDED")

self.context_pop()

Expand Down

0 comments on commit f651960

Please sign in to comment.