inav icon indicating copy to clipboard operation
inav copied to clipboard

Failsafe kill switch refactoring

Open digitalentity opened this issue 9 years ago • 12 comments

I wonder if failsafe kill switch setting should be removed completely. If you can spare a switch for FAILSAFE mode you surely can space a switch for ARMing which will give you the same manual disarm opportunity.

If you want actual signall loss do disarm the machine the best way to do that is to configure failsafe procedure to DROP the machine.

digitalentity avatar Mar 04 '17 00:03 digitalentity

I've always wondered why anyone would want to set failsafe with a switch. It is useful for testing failsafe mode, I suppose, but I can't really see a use for it in normal flight.

martinbudden avatar Mar 04 '17 05:03 martinbudden

FAILSAFE flight mode is useful for receivers that can't go to no-pulses and only have pre-set failsafe (like many Spektrum-compatible receivers).

I'm talking about failsafe_kill_switch setting which bypasses failsafe procedure and disarms instantly if FAILSAFE flight mode is activated from a switch (basically implementing a disarm switch).

digitalentity avatar Mar 04 '17 05:03 digitalentity

@martinbudden Essentially It needs to be called just "kill switch" and do just that, a safety feature. Also any links to the failsafe mechanism be removed as far as possible

Redshifft avatar Mar 04 '17 09:03 Redshifft

I would remove it!!!

raul-ortega avatar Mar 06 '17 08:03 raul-ortega

I suggest changing it to a flight mode called KILL SWITCH that would instantly disarm and prevent rearming.

digitalentity avatar Mar 06 '17 08:03 digitalentity

@digitalenitity do we need it? Why just not disarm?

oleost avatar Mar 06 '17 08:03 oleost

@digitalentity Yup, pretty much what it does now with a less confusing name - perfect

Redshifft avatar Mar 06 '17 09:03 Redshifft

I vote for remove enterely this 'kill switch' thing. As @digitalentity said, you can set failsafe to drop the aircraft, so if this is causing troubles and disarming machines in-flight it should be removed.

sppnk avatar Mar 06 '17 10:03 sppnk

I suggest changing it to a flight mode called KILL SWITCH that would instantly disarm and prevent rearming.

@digitalentity : thinking of fixed wing, it may make sense to additionally kill PWM output when killswitch is activated. As of now a disarmed plane will still direct roll/pitch commands to the servos. IMHO, a killswitch should completely kill any thrust/steering related output.

Dronek avatar Mar 06 '17 13:03 Dronek

@Dronek good point - and not only on airplanes, but also on multirotors. To let ESCs know that everything is dead.

EDIT: If we are going to keep the kill switch it should do something more than just disarm. Maybe block re-arming completely, killing motors/servos, LEDs etc.

digitalentity avatar Mar 06 '17 14:03 digitalentity

I feel we have two choices.

  1. Keep it as it, but update documentation more.
  2. Remove it entirely

Or third:

Remove it entirely. Create a new flight mode which is "Kill switch / output 0" and let it disable all output just like the pwn feature. It will not disarm only kill outputs.

oleost avatar Mar 06 '17 14:03 oleost

#1475

oleost avatar Mar 28 '17 18:03 oleost