Im sure I have setup something wrong, my quad plane spins wildly. I have tried re calibrating the compass, moving the compass further away from motor wires, using EKF3, Im not sure what I have done wrong. Any help would be greatly appreciated.
Hi Travis,
It looks like you have the motor spin direction wrong. You have Q_FRAME_TYPE=1, which means “X” frame, which means front-right motor spinning counter-clockwise when viewed from above.
Based on the flight behaviour I think you have an ‘H’ frame, which has the opposite spin of motors. To fix just change Q_FRAME_TYPE to 3.
Note that depending on the twist in your frame, it may fly better with X or with H, but please start with the simple change of changing the parameter and see how well it flies.
Cheers, Tridge
Just wanted to update here, I solved my issue. I had some twisting of the quad motors, as well as relatively under powered setup. Fixed the boom arm twisting, and moved to 4s solved my issue.