Open gromain opened 10 years ago
I've received my hex and quad and I don't see this problem after fixing the RC protocol: 4a019b124a8d52c96f8a955f35d06033902563dd
I do see something like this when bluetooth suddenly disconnects or when the app closes.
Could be related to #16. If the App disconnects the counter runs out and the input values default to 1500. This behaviour could be a problem if enabling failsafe option too.
Should we adjust the failsafe timeout to be close to the rcserialcount duration?
First we should do some testing. At the moment failsafe mode ist disabled. It could be useful to monitor the rcserialcount and the failsafeCount through the debug values in MultiiWiiConfig.
But take a look @ https://github.com/koenkooi/multiwii-firmware/blob/pruts/RX.cpp#L444 it seems like failsafeCnt is always set to 0 while rcserialcount is > 0. It seems like rcserialcount disables failsafe mode until it is 0.
Like it's trying to change its position in space, but that leads to a crash. Could be related to c04c2c5c6f6c04bb75727d6aaa13b0919ab3bde5 .