Peter BarkerandClaude Opus 5 98cb21986d autotest: do not fire the simulated parachute while setting it up
SIM_Parachute deploys as soon as the PWM on SIM_PARA_PIN reads 1250 or
more, and it starts watching that pin the moment the pin number is set.
The parachute tests set the pin in the same set_parameters() call as the
release servo's function, which races the servo output: assigning
SERVO9_FUNCTION=27 leaves the channel at its previous value until
AP_Parachute drives it to CHUTE_SERVO_OFF (1100 by default, below the
trigger), and anything at or above 1250 in that window fires the chute
during setup.

The test then fails in a way which does not look like a setup problem at
all: "BANG!  Parachute deployed" arrives before the test starts waiting
for it, and the real release later in the mission is silent because the
chute has already gone, so the wait times out with "Failed to receive
text: bang".  Seen overnight in Parachute and in GCSFailsafe's parachute
subtest, one run in 26 each.

Configure the vehicle first, wait for the release channel to reach its
off position, and only then let the simulation watch the pin.  Done in
one helper, as four tests set this up the same way.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-10 18:32:45 +10:00
2026-09-09 11:16:50 +10:00
…
2026-09-02 12:32:52 +09:00
…
…
…
…
…

ArduPilot Project

Discord

Test Copter Test Plane Test Rover Test Sub Test Tracker

Test AP_Periph Test Chibios Test Linux SBC Test Replay

Test Unit Teststest size

Test Environment Setup

Cygwin Build Macos Build

Coverity Scan Build Status

Test Coverage

Autotest Status

OpenSSF Best Practices

ArduPilot is the most advanced, full-featured, and reliable open source autopilot software available. It has been under development since 2010 by a diverse team of professional engineers, computer scientists, and community contributors. Our autopilot software is capable of controlling almost any vehicle system imaginable, from conventional airplanes, quad planes, multi-rotors, and helicopters to rovers, boats, balance bots, and even submarines. It is continually being expanded to provide support for new emerging vehicle types.

The ArduPilot project is made up of

User Support & Discussion Forums

Developer Information

Top Contributors

How To Get Involved

License

The ArduPilot project is licensed under the GNU General Public License, version 3.

Maintainers

ArduPilot is comprised of several parts, vehicles and boards. The list below contains the people that regularly contribute to the project and are responsible for reviewing patches on their specific area.

Languages
C++ 62.3%
Python 17.7%
C 10%
Lua 4.8%
C# 2.1%
Other 2.7%