Unexpected yaw

I'm having an issue where the copter frequently yaws unexpectedly.  I believe the copter is accurately controlling it's yaw, so the yaw movement is being generated somewhere within the control system.  I've checked that my RC Rudder input is centered, and I've checked (though it seems like this is still the most likely problem) that my compass orientation is correct.

Can anyone take a look at my log files and figure out what's going on?  I've attached log files of two flights where this issue occurred.

Here's an image showing centered RC Rudder input, but both desired yaw and actual yaw moving steadily (towards the end of the graph):

3691301424?profile=original

The copter is built so that the Pixhawk is right-side-up but facing the back of the copter.  The GPS/Mag is also right-side-up but facing the back of the copter.  I'm running the 3.3.4 beta, but I've had the same issue with 3.3.3.

Uncommanded Yaw 1.bin

33 6-5-2016 4-57-36 PM.bin

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

Join diydrones

Email me when people reply –

Replies

  • Could you solve the problem?

    I had almost the same. My pixhawk decided to do a random hard yaw movement.

    http://diydrones.com/m/discussion?id=705844%3ATopic%3A2270298
    • I finally figured it out, and (perhaps not surprisingly) it wasn't APMs fault, but a slightly loose motor mount that would rotate sideways in flight (only slightly though, so they still made enough lift not to crash the copter).  

      There was a clue in the log - the target yaw was lagging behind the actual yaw by 10 degrees.  APM makes sure that in most flight modes the target yaw is clamped to within 10 degrees of the actual yaw, so in my case the actual yaw was "pulling" the target yaw along with it as it spun.

      I am having an different problem now that I'm pretty sure is software-based, but I'm going to a separate post about that after studying the logs some more.

  • Plot your RCOU.Ch1-4 

    You will see something is very wrong, yes, as you lose yaw, motors 3,4 are very low, but the same happens around log line 91000 - without mych yawing.   (that should not be possible)

    Something is not performing correctly. While at hover, you should expect all 4 motors to be at about the same thrust setting, and unless yawing, 1,2 or 3,4 should not be far from each other.

    Screenshot from 2016-06-06 23-15-31.png

    https://storage.ning.com/topology/rest/1.0/file/get/3702251083?profile=original
This reply was deleted.

Activity

DIY Robocars via Twitter
RT @a1k0n: Sync'd @joshu's GoPro w/ my datalogging; video is 2.5X speed, Google imagery upper-right. Found out my track boundaries are WAY…
yesterday
DIY Robocars via Twitter
RT @a1k0n: Also, at 45mph, the front tires literally blow up like a balloon and it doesn't have much front traction, so the car becomes fai…
yesterday
DIY Robocars via Twitter
RT @a1k0n: Okay, some datalogs! Green dots are precalculated racing line (from my crummy optimizer -- it veers to the middle after 2 for Re…
yesterday
DIY Robocars via Twitter
RT @a1k0n: Welp my @selfracingcars entry, hastily conceived heading filter and all, actually worked! Heading home, datalogs and videos to f…
yesterday
DIY Robocars via Twitter
Monday
DIY Robocars via Twitter
Friday
DIY Robocars via Twitter
RT @f1tenth: What can we learn from autonomous racing? Actually, a lot! To get an idea what you can do in this field and where the research…
Oct 11
DIY Robocars via Twitter
Oct 11
DIY Robocars via Twitter
RT @a1k0n: It's aliiiiiive! Less than a week until @selfracingcars and I'm just now digging this bad boy out. Been a crazy few months. Hope…
Oct 10
DIY Robocars via Twitter
RT @OttawaAVGroup: Mark your calendars. CAV Canada is happening on Dec. 2nd, 10am-4pm EST. And guess what - admission is FREE! Get your ti…
Oct 6
DIY Robocars via Twitter
RT @f1tenth: Our new 1:10 scale 3D racetrack is here. We will implement it in the @SVLSimulator in the next weeks so everybody can use it.…
Oct 6
DIY Robocars via Twitter
RT @DAVGtech: Received sweet autonomous Ferrari's that we plan to demo at the @IndyAChallenge on our portable @donkey_car track. Let us kno…
Oct 6
DIY Robocars via Twitter
Sep 30
DIY Robocars via Twitter
Sep 9
DIY Robocars via Twitter
RT @chr1sa: We've got another virtual @DIYRobocars race tomorrow at 9:00am PT. Two dozen autonomous cars will compete, four at a time. Ther…
Sep 4
DIY Robocars via Twitter
Sep 1
More…