potater1
potater1
I did a little bit of bench testing looking at gyro and acc measurements, and based on the results I would propose the following solution: - update a gyro reading...
@krzysztofmatula We'll have to tune the shock detection so that a light hit doesn't trigger it. Or failing that, just accept that we're not gonna use this feature to trigger...
@teckel12 That's interesting. In my so far very limited flying experience (with planes only) I always crashed after a hard hit. Hm.. so you want to reset the home position...
@teckel12 Alright, I did some more testing, this time with the motor running... of course @krzysztofmatula was right -- the gyro can't be used to determine flying status, as the...
Ok, how about this idea for quads: if you measure >=1 g of acceleration (in any direction), and throttle is significantly below hover, you should be grounded (or falling at...
This logic should work for landings. Whenever you measure
I'll try out PID term based crash detection when I find the time to do some tests. I think for fixed wings it may be OK to rely on negative...
I'm going to try the following simple logic for detecting when the FC has lost control of the model: ``` if (angle error on roll or pitch stays positive or...
``` if (angle error on roll or pitch stays positive or negative for N seconds AND gyro rate has the wrong sign, or is too small, say
Did another test flight with a limit of 10 seconds on nonzero angle error on either roll or pitch, and a limit of 3 seconds on nonzero angle error on...