Skip to content

Commit

Permalink
autotest: force use of airspeed in GliderPullup
Browse files Browse the repository at this point in the history
  • Loading branch information
tridge committed Sep 29, 2024
1 parent 1e310ac commit ecec9c4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Tools/autotest/arduplane.py
Original file line number Diff line number Diff line change
Expand Up @@ -6175,11 +6175,16 @@ def GliderPullup(self):
defaults_filepath="Tools/autotest/default_params/glider.parm",
wipe=True)

self.set_parameter('LOG_DISARMED', 1)

self.set_parameters({
"PUP_ENABLE": 1,
"SERVO6_FUNCTION": 0, # balloon lift
"SERVO10_FUNCTION": 156, # lift release
"EK3_IMU_MASK": 1, # lane switches just make log harder to read
"AHRS_OPTIONS": 4, # don't disable airspeed based on EKF checks
"ARSPD_OPTIONS": 0, # don't disable airspeed
"ARSPD_WIND_GATE": 0,
})

self.set_servo(6, 1000)
Expand Down

0 comments on commit ecec9c4

Please sign in to comment.