=SOLVED= Yawing in wrong direction (not radio?)

So I've been looking on this site and others for a few hours now and I can't seem to find anyone with the following symptom...

When I push my stick to the right, the copter yaws (turns) to the left.  And visa-versa, push stick to the left  the copter turns to the right. (I originally thought radio too at first but it doesn't seem so)

Also when the copter hovers, it yaws back and fourth quite quickly. I barely get off the ground before this starts happening, so I've been testing it by lightly holding it in my hand and letting it move how it wants.  It will spin one way then back to the other. 

Originally I was chasing up that weird back and fourth yawing behaviour, but I tried some yaw stick input from the controller when I discovered the yawing seems to be reversed.

I've checked my radio and and PWM is high (~1900) when pushing stick to the right, thus low (~1000) when pushing stick to the left.

I've done radio calibration

Live compass calibration

Accel calibration multiple times (cause I changed my board orientation a few times, and yes I did the calibration AFTER I change the board orientation)

ESC calibration

Balanced the motors

Balanced the props

Did a compassmot

Triple checked the motor connections

If the copter isn't yawing, it does hover in the air well, and reacts appropriately when tilted in different directions.

I am currently on a small miniframe (260size frame?) and I'm using the HK Mini version of the APM 2.5 board.  I'm currently using the onboard compass.  No GPS connected yet

I've tried disabling the Use Compass For Yaw param, but that had no effect from what I could see.

So I'm at a bit of a loss where to look next.

See attached log files.  I had a look through them for anything obvious and I even compared it to other quadcopters I fly with other APM boards but could not see anything that points out what I might have mis configured.

If my symptom is not obvious, I can do a video later on tonight and upload it to youtube :)


So I had my copter set to use the H Frame type, which has the motors spinning in the opposite direction to that of most X Frame setup types.

So as a temp measure I set the firemware to use X Frame type and the copter began to behave correctly when Yawing.

I hope future people with this symptom see this post and find it helpful :)

2014-07-12 13-31-00 8.log

2014-07-12 13-21-35 7.log

2014-07-11 13-08-11 5.log

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –


  • Like you and several others we know, we have lost countless hours on this problem.

    1) Where can we read and follow these types of software changes?

    2) Where does it say reverse the motor rotation?

    PS: Seem to me it will make it twitchy especially in pitch direction because the thrust is moved closer to the CG. (Center-of-Gravity) We fly "H" frame in "X" frame mode. What were they trying to accomplish? 

    Also been reading there is some software problem with the compass orientation, related to internal and external compasses interfering. Looks like compass calibration has a bug:


    Google Groups
    Google Groups allows you to create and participate in online forums and email-based groups with a rich experience for community conversations.
  • Had exactly the same issue!

    Changed PC in the middle of a flying day and one flight was fine the next it would not fly! 

    Turns out that somehow the new PC had change the frame type ... took some figuring out!


  • Check propeller rotation direction.
    • I have checked it time and time again.  But you are correct, it is a motor rotation problem, BECAUSE I had the frame set to "H Frame", which requires the rotation of props to spin the opposite to a common X and V frame (the usual quads I build)

      So Once I set it to an X Frame, the copter behaved correctly.

      I herped the derp :S

  • Hi ChiggenWingz, is you compass orientation set correctly? What compass setup are you using? Does the HUD direction rotate correctly and smoothly in one direction when turning the copter in one direction? 

    • Yep pretty sure its set correctly.  I've watched it through Mission planner, and North was North, South was South

This reply was deleted.


DIY Robocars via Twitter
RT @chr1sa: Donkeycar 4.4 released with tons of new features, including path learning (useful with GPS outdoors), better Web and Lidar supp…
Nov 27, 2022
DIY Robocars via Twitter
RT @NXP: We are already biting our nails in anticipation of the #NXPCupEMEA challenge! 😉 Did you know there are great cash prizes to be won…
Nov 24, 2022
DIY Robocars via Twitter
RT @gclue_akira: レースまであと3日。今回のコースは激ムズかも。あと一歩 #jetracer https://t.co/GKcEjImQ3t
Nov 24, 2022
DIY Robocars via Twitter
UC Berkeley's DIY robocar program https://roar.berkeley.edu/
Nov 24, 2022
DIY Robocars via Twitter
RT @chr1sa: The next @DIYRobocars autonomous car race at @circuitlaunch will be on Sat, Dec 10. Thrills, spills and a Brazilian BBQ. Fun…
Nov 24, 2022
DIY Robocars via Twitter
RT @arthiak_tc: Donkey car platform ... Still training uses behavioral cloning #TCXpo #diyrobocar @OttawaAVGroup https://t.co/PHBYwlFlnE
Nov 20, 2022
DIY Robocars via Twitter
RT @emurmur77: Points for style. @donkeycar racing in @diyrobocars at @UCSDJacobs thanks @chr1sa for taking the video. https://t.co/Y2hMyj1…
Nov 20, 2022
DIY Robocars via Twitter
RT @SmallpixelCar: Going to @diyrobocars race at @UCSDJacobs https://t.co/Rrf9vDJ8TJ
Nov 8, 2022
DIY Robocars via Twitter
RT @SmallpixelCar: Race @diyrobocars at @UCSDJacobs thanks @chr1sa for taking the video. https://t.co/kK686Hb9Ej
Nov 8, 2022
DIY Robocars via Twitter
RT @PiWarsRobotics: Presenting: the Hacky Racers Robotic Racing Series in collaboration with #PiWars. Find out more and register your inter…
Oct 23, 2022
DIY Robocars via Twitter
RT @Hacky_Racers: There will be three classes at this event: A4, A2, and Hacky Racer! A4 and A2 are based around UK paper sizing and existi…
Oct 23, 2022
DIY Robocars via Twitter
Oct 23, 2022
DIY Robocars via Twitter
Oct 19, 2022
DIY Robocars via Twitter
Oct 18, 2022
DIY Robocars via Twitter
RT @NeaveEng: Calling all UK based folks interested in @diyrobocars, @f1tenth, @donkey_car, and similar robot racing competitions! @hacky_r…
Oct 13, 2022
DIY Robocars via Twitter
RT @araffin2: 🏎️ After hours of video editing, I'm happy to share a best of my Twitch videos on learning to race with RL. 🏎️ Each part is…
Oct 13, 2022