Can't get drone to fly level in stabilize mode

I am DESPERATELY trying to figure out why my hexacopter won't fly level in stabilize mode (not altitude hold, just regular stabilize).  Please please please help!  I'm using a Pixhawk.  The hex flew fine on an old frame, then, I moved to a new frame and all of a sudden stabilize mode won't work.  I didn't change anything!  Double checked that motors are laid out correctly and spin the right way!

When the copter takes off it's very "swirly" and unresponsive.  I tried upping the values in the PID loops but this didn't seem to help at all.  Strangely, when it takes off, it does so level, but then over the course of a few seconds I feel like I have to deflect the sticks more and more to keep level.  And then eventually I cannot deflect the sticks anymore and just tips one way and crashes.

After tuning didn't work I then used mission planner to reset the parameters to their default values, thinking that I may screwed something up that I didn't know about.  No luck, same behavior.

I've attached three logs from these flight attempts.  I'm at a total loss for what's wrong.  If anyone could identify a possible culprit I would be very grateful!

22.BIN

20.BIN

19.BIN

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

Join diydrones

Email me when people reply –

Replies

  • Ok it's update time.  The first thing I did was balance the props.  This didn't make any difference.  Same swirly behavior followed by a crash.

    Then, I made a setup to strap down the hex and rev up the motors without taking off.  This was key in testing vibrations without doing any more damage.  After careful experimenting, the problem turned out to be the vibration dampening setup.  I'd been mounting the Pixhawk on four small pieces of this Kyosho Vibration Foam.  Admittedly, I just used it because people on other multicopter forums/blogs said it was the best, and it seemed to work on previous things I've built.

    But clearly not in this case, where vibrations were out of control.  I tried lots of different things, but ultimately the only thing that truly seemed to work was another internet recommendation:  earplug mounting.  See my picture below.  It's mounted on four earplugs.  It does pretty well, though not spectacularly.  Accel values on the x & y axes are in the 8-10 m/s/s range - well above the 3 m/s/s recommendation but well below the 24-30 m/s/s I was getting before.  It takes off and flies well in level mode.  However, the accel values in the z range are still in the +- 60 m/s/s range, which means I can't imagine that altitude hold mode will work.

    So that brings me to my next question:  Base on the picture below, can you recommend ways to make the dampening better?3702374162?profile=original

    Robot Check
  • Props balanced? Motor mounting loose?

    Peter

  • I did not check your logs, but the symptoms indicate exactly that.
  • So it looks to me like the vibrations are insanely high, but I'm not very good at reading logs.  Can someone confirm this for me?  That would be strange since the Pixhawk is mounted on vibration-dampening gel, so I'm not sure why it would be that bad.

    But for starters, does my hunch about vibrations look right, judging from the logs?

This reply was deleted.

Activity

DIY Robocars via Twitter
RT @SmallpixelCar: Wrote a program to find the light positions at @circuitlaunch. Here is the hypothesis of the light locations updating ba…
yesterday
DIY Robocars via Twitter
RT @SmallpixelCar: Broke my @HokuyoUsa Lidar today. Luckily the non-cone localization, based on @a1k0n LightSLAM idea, works. It will help…
Thursday
DIY Robocars via Twitter
@gclue_akira CC @NVIDIAEmbedded
Wednesday
DIY Robocars via Twitter
RT @luxonis: OAK-D PoE Autonomous Vehicle (Courtesy of zonyl in our Discord: https://discord.gg/EPsZHkg9Nx) https://t.co/PNDewvJdrb
Wednesday
DIY Robocars via Twitter
RT @f1tenth: It is getting dark and rainy on the F1TENTH racetrack in the @LGSVLSimulator. Testing out the new flood lights for the racetra…
Wednesday
DIY Robocars via Twitter
RT @JoeSpeeds: Live Now! Alex of @IndyAChallenge winning @TU_Muenchen team talking about their racing strategy and open source @OpenRobotic…
Nov 20
DIY Robocars via Twitter
RT @DAVGtech: Live NOW! Alexander Wischnewski of Indy Autonomous Challenge winning TUM team talking racing @diyrobocars @Heavy02011 @Ottawa…
Nov 20
DIY Robocars via Twitter
Incredible training performance with Donkeycar https://www.youtube.com/watch?v=9yy7ASttw04
Nov 9
DIY Robocars via Twitter
RT @JoeSpeeds: Sat Nov 6 Virtual DonkeyCar (and other cars, too) Race. So bring any car? @diyrobocars @IndyAChallenge https://t.co/nZQTff5…
Oct 31
DIY Robocars via Twitter
RT @JoeSpeeds: @chr1sa awesomely scary to see in person as our $1M robot almost clipped the walls as it spun at 140mph. But it was also awe…
Oct 29
DIY Robocars via Twitter
RT @chr1sa: Hey, @a1k0n's amazing "localize by the ceiling lights" @diyrobocars made @hackaday! It's consistently been the fastest in our…
Oct 25
DIY Robocars via Twitter
RT @IMS: It’s only fitting that @BostonDynamics Spot is waving the green flag for today’s @IndyAChallenge! Watch LIVE 👉 https://t.co/NtKnO…
Oct 23
DIY Robocars via Twitter
RT @IndyAChallenge: Congratulations to @TU_Muenchen the winners of the historic @IndyAChallenge and $1M. The first autonomous racecar comp…
Oct 23
DIY Robocars via Twitter
RT @JoeSpeeds: 🏎@TU_Muenchen #ROS 2 @EclipseCyclone #DDS #Zenoh 137mph. Saturday 10am EDT @IndyAChallenge @Twitch http://indyautonomouschallenge.com/stream
Oct 23
DIY Robocars via Twitter
RT @DAVGtech: Another incident: https://t.co/G1pTxQug6B
Oct 23
DIY Robocars via Twitter
RT @DAVGtech: What a great way to connect why @diyrobocars community is so valuable and important! Have to start somewhere @IndyAChallenge…
Oct 23
More…