multiwii / baseflight

32 bit fork of the MultiWii RC flight controller firmware
499 stars 356 forks source link

Automatic disarm safety feature #222

Closed jaahaavi closed 9 years ago

jaahaavi commented 9 years ago

Added automatic disarm after 5sec when "Don't spin the motors when armed" is enabled. Users that don't have buzzer to warn when board is armed and use don't spin motors feature can forget to disarm the board. For example after landing they go to copter and then accidentally move throttle up when trying to remove flight battery.

trollcop commented 9 years ago

How does this affect fixed wing?

trollcop commented 9 years ago

OK, per discussion on irc: 18:49 < dongs> ok 18:49 < dongs> so make configurable off time 18:49 < dongs> 0 = disabled, default 18:49 < dongs> and non-zero = time in seconds 18:49 < dongs> y/n/m

jaahaavi commented 9 years ago

Got idea for this. What if I disable this with by checking "f.FIXED_WING" and then make it configurable so that it's 5 sec as default. So it only working when using "no motor spin while armed" and non fixed wing model. If I'll made this safety feature so that it must be turned on manually, nobody will activate it and then accidents could happen (and by reading forums I can see that accidents will happen when lazy and careless people don't respect the power of spinning blades).

ps. This would also remove armed beeping from fixed wing, but I assume it would be good. If I used naze32 at my fixed wings I wouldn't like that it would beep every time I take throttle down ;)

jaahaavi commented 9 years ago
jaahaavi commented 9 years ago

Done. ps. I didn't know when to change version number. Now I know...