Really weird issue with multiwii on Crius AIO Pro
Posted: Sun May 28, 2017 6:19 pm
I've built a Q450 quad with a crius aio pro.
Been gradually adding features, testing, adding more features and testing some more. Took out for a fly recently and it flew well apart from when it suddenly dropped for no reason, recovered and carried on flying fine.
After this, I replaced the PPM 7ch receiver with an 8ch PWM receiver and since doing that, it's been dropping constantly. So much so I can no longer reliably fly. I have to test whilst hovering a few feet off the ground to prevent any damage from a drop, even then, it's broken the nice new landing gear I've recently installed so not too happy with that.
Whilst trying to debug, I found a weird issue with multiwii in that I couldn't set a failsafe throttle value. It was ALWAYS 0 regardless of whether I used USB, serial-wifi, 433mhz telemetry link, could not set it to anything to 0. Or, I'd set it to a value and instantly return to 0.
Whether this has anything to do with the dropping out of the sky, I don't know but I'll find out later.
It then suddenly got even weirder when I loaded up the multiwii sketch from my Crius 2.5 mega328p Peon230 quad which does fly really well. I could suddenly set the failsafe to a value and it stayed in memory.
I created a copy of my Peon230 sketch to test out on the Q450, gradually changing the settings 1 by 1 to suit the Q450 mega2560 board including the use of telemetry, extra serial and GPS functions and I can still set the failsafe.
I'll be testing out the apparent working sketch later to see if it still drops out of the sky by something in my original sketch is really broken.
I even downloaded a fresh MW 2.4 zip off the internet, put in the same settings and got the same result of being unable to set failsafe.
I've uploaded the 2 sketches, the broken and working sketch should anyone wish to make a comparison between the 2.
Just a note and point, I have tried clearing the EEPROM several times with different methods so I know it's not that.
Been gradually adding features, testing, adding more features and testing some more. Took out for a fly recently and it flew well apart from when it suddenly dropped for no reason, recovered and carried on flying fine.
After this, I replaced the PPM 7ch receiver with an 8ch PWM receiver and since doing that, it's been dropping constantly. So much so I can no longer reliably fly. I have to test whilst hovering a few feet off the ground to prevent any damage from a drop, even then, it's broken the nice new landing gear I've recently installed so not too happy with that.
Whilst trying to debug, I found a weird issue with multiwii in that I couldn't set a failsafe throttle value. It was ALWAYS 0 regardless of whether I used USB, serial-wifi, 433mhz telemetry link, could not set it to anything to 0. Or, I'd set it to a value and instantly return to 0.
Whether this has anything to do with the dropping out of the sky, I don't know but I'll find out later.
It then suddenly got even weirder when I loaded up the multiwii sketch from my Crius 2.5 mega328p Peon230 quad which does fly really well. I could suddenly set the failsafe to a value and it stayed in memory.
I created a copy of my Peon230 sketch to test out on the Q450, gradually changing the settings 1 by 1 to suit the Q450 mega2560 board including the use of telemetry, extra serial and GPS functions and I can still set the failsafe.
I'll be testing out the apparent working sketch later to see if it still drops out of the sky by something in my original sketch is really broken.
I even downloaded a fresh MW 2.4 zip off the internet, put in the same settings and got the same result of being unable to set failsafe.
I've uploaded the 2 sketches, the broken and working sketch should anyone wish to make a comparison between the 2.
Just a note and point, I have tried clearing the EEPROM several times with different methods so I know it's not that.