I’m currently experimenting with the new run_aux_function method and a parachute and encountered a strange behavior during testing. I did all the testing on Windows with the SITL integrated into Mission Planner.
On the plane there was a small mission with a vertical takeoff to 100m and then a small plane circle. As soon as the plane was climbing, I changed to REPL and ran the command rc:run_aux_function(22,2) to deploy the parachute. It said Parachute released and the message invalid VTOL mode. The plane then started to wobble backwards, until I changed the mode to QRTL.
What caused this behavior?
And on another note: Why is there no option for Parachute Deployment for plane listed: https://ardupilot.org/plane/docs/common-auxiliary-functions.html? Is this an error in the documentation?