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 Drones via Twitter
RT @MarvelmindMaxim: Extreme precision for 60 swarming robots. #marvelmind #autonomousrobotics #robotics #swarmrobotics #rtls #ips #indoor…
Monday
DIY Drones via Twitter
RT @MarvelmindMaxim: Precise (±2cm) tracking for racing boats and autonomous boats. Works outdoor and indoor. #autonomous #AutonomousVehic…
Monday
DIY Drones via Twitter
RT @MarvelmindMaxim: Helping PixHawk folks to fly autonomous quadcopters using PX4 and ArduPilot. https://marvelmind.com/drones/ Equally suitab…
Monday
DIY Robocars via Twitter
RT @chr1sa: The @DIYRobocars @donkey_car virtual AI car race is starting in 15 minutes! Watch it live on Twitch https://www.twitch.tv/mossmann3333 htt…
Saturday
DIY Robocars via Twitter
RT @chr1sa: Don't miss our monthly @DIYRobocars @donkey_car virtual AI car race tomorrow at 10:00am PT live on Twitch. Head-to-head racing…
Friday
DIY Robocars via Twitter
RT @sparkfun: Our completed tutorial on building an @NVIDIA Jetson Nano-powered @Sphero RVR gets your bot up and running via teleoperation…
Jul 30
DIY Robocars via Twitter
RT @SmallpixelCar: Freeway test https://t.co/4V5tV9lhIP
Jul 29
DIY Robocars via Twitter
Very small autonomous cars racing, thanks to an overhead camera: https://control.ee.ethz.ch/research/team-projects/autonomous-rc-car-racing.html
Jul 29
DIY Robocars via Twitter
Jul 29
DIY Robocars via Twitter
Jul 29
DIY Robocars via Twitter
RT @chr1sa: Don't miss our virtual AI car race this Saturday! Real developers + virtual cars =🏎️🏎️🏎️ Head-to-head battles with thrills, sp…
Jul 28
DIY Robocars via Twitter
Jul 27
DIY Robocars via Twitter
RT @usashirou1: Jetson nano by Isaac Kaya #jetson https://t.co/Mu1N0CyQkN
Jul 23
DIY Robocars via Twitter
RT @GPUsolution: JetRacer mady by Iflytek company #JetsonNANO #Nvidia https://t.co/MimTymIwge
Jul 23
DIY Robocars via Twitter
RT @openmvcam: I love this: Mega or Mini? Image Classification on the 1MB OpenMV Cam H7 by Ish Ot Jr. in OpenMV, Edge Impulse, Internet of…
Jul 23
DIY Robocars via Twitter
RT @RoboticMasters: This is looking pretty good... but still needs a bit more refinement. Pure OpenCV Turning Sign Detection. No Tensorfl…
Jul 23
More…