During the flight tests of our quadcopter (Tarot 650 frame, Tarot 4114 / 320 motors, pixhack FC) we’ve encountered quite strange behaviour with regard to yaw control: in position control mode the 'copter at some point yaws approximately 90 degrees in counterclockwise direction and then rotates back into original position, all by itself (sticks are centered, etc). The rotation takes about 1-1.5 seconds and looks quite smooth. Here’s the flight log of such a flight: Flight Review
We’ve tried doing a short autonomous flight in mission mode and this behaviour manifested itself like this: while in flight the 'copter kept rotating in counterclockwise direction at a steady pace. It went through all waypoints and landed itself with acceptable accuracy, though. Here’s the flight log of the flight in mission mode: Flight Review
I’ve tried flying the 'copter in stabilize mode and I’ve never noticed any problems with spontaneous yaw. Flight log of the flight in stabilize mode: Flight Review
We’ve calibrated all sensors (including magnetometers) a couple of times with no effect whatsoever.
What’s even more strange, we actually did tests on two different locations on that day (separated by about 10km) and this yaw problem only manifested itself at the second location. The flight log from the first location, when there were no yaw problems, looks like this: Flight Review
What might be the cause of such behaviour and which actions could be taken by us to fix it? It seems, it might be something connected to the magnetometer(s)? We haven’t tried swapping out the GPS/compass yet, could that help?