ArduPilot / ardupilot

ArduPlane, ArduCopter, ArduRover, ArduSub source
http://ardupilot.org/
GNU General Public License v3.0
11.06k stars 17.63k forks source link

Deploy parachute if watchdog resets in flight #13634

Open RickReeser opened 4 years ago

RickReeser commented 4 years ago

Feature request

Now that we have the capability to detect and recover from a hung CPU, we can think about instrumenting automatic failsafes if it happens in flight, such as deploying the parachute. This is particularly important for Copter, since they don't otherwise have an effective way to recover from a reset in flight.

Describe the solution you'd like Allow the user to configure automatic chute deployment upon in-flight IWD reset. Maybe a CHUTE_ parameter. I suppose the logic would look something like this:

  1. Detect IWD reset while drone was armed (already implemented)
  2. Make sure that it didn't happen during some kind of non-flight operation, like a motor test
  3. Try to check that the drone was indeed flying (maybe just check altitude of saved state vs CHUTE_ALT_MIN)
  4. Trigger parachute
    • Must make sure this isn't inhibited by safety/armed state, etc.

Platform [ ] All [ ] AntennaTracker [x] Copter [x] Plane [ ] Rover [ ] Submarine

Additional context

rmackay9 commented 4 years ago

Yes, this is a very good idea.