Kill Switch Behavior


#1

A thought here. Since there is no dedicated “kill switch” built into the design (I plan to add a backup one that just kills the PWM line to the motors), can I suggest the following change in “arm” button behavior:

  • Double click: Arms, but ONLY when throttle is not depressed
  • Single click: ALWAYS disarms, no matter what state the throttle is in. This would mean that if the potentiometer or ADC went wacky, or in the case of an issue in landing, etc, disarming is EASY instead of trying to double click at the right speed to disarm when you’re already panicked.

#2

Double click: Arms, but ONLY when throttle is not depressed

That is the current functionality. Theres a function called throttleSafe that returns true or false based on if the throttle is depressed at all

Single click: ALWAYS disarms, no matter what state the throttle is in.

This is the current functionality except it requires a double click. It doesn’t matter what you are doing, if you double click the throttle and it is armed it will disarm and then pause the system for about 2 seconds to prevent accidental re-arming.

We tested a single click but were concerned about accidentally disarming while flying by simply bumping the button. Even current gas paramotors require you to hold down the kill switch/button for a few seconds and take much longer to spin down.
We’re confident that the button is responsive and flexible enough (triple taps work too etc) that you shouldn’t have any trouble disarming the system when needed.

As always the source code is available for everyone to experiment with and improve.


#3

Thanks for the clarification. How about a disarm triggered by (a) double click or (b) long press?