Skip to content

Commit

Permalink
Tools/autotest: fail pitot tube at start of takeoff
Browse files Browse the repository at this point in the history
  • Loading branch information
priseborough committed Sep 14, 2022
1 parent e3f4cc9 commit fada1a9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Tools/autotest/arduplane.py
Original file line number Diff line number Diff line change
Expand Up @@ -1731,11 +1731,10 @@ def PitotBlockage(self):
"SIM_WIND_SPD": 10,
"SIM_WIND_DIR": 0,
"ARSPD_WIND_MAX":15,
})
})
self.change_mode("TAKEOFF")
self.wait_ready_to_arm()
self.arm_vehicle()
self.delay_sim_time(60)
# simulate the effect of a blocked pitot tube
self.set_parameter("ARSPD_RATIO", 0.1)
self.delay_sim_time(10)
Expand Down

0 comments on commit fada1a9

Please sign in to comment.