Hi Folks, I'm really struggling with an altitude problem on my quad. I've tried every tweak Google and other postings could bring up.  The problems is this:

1) In Alt_Hold or Loiter mode the quad will gradually rise, or more often than not it will sink slowly towards the ground.

2) All the Altitude readings look good, in fact the DAlt readings make it look to me like the quad is simply doing that it thinks it's being asked to do.  But I'm not the one asking. My throttle is mid!  Input levels are the same, but DAlt is graduallys saying "descend".

Nothing I do changes this behavior.  I sometimes randomly get good performance for up to 2-3 minutes, but then it manifests.  Here's a quick log snippet illustrating the issue.  I've also attached a full log for review.  Any help would be tremendously appreciated. I'm 100% at the end of my rope on this.


Note the DAlt behavior.  Why...in....the....heck....is that changing?  It pulls my quad up, and then takes it down.  My quad is doing what it's told - but told by who???



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

Join diydrones

Email me when people reply –


  • Ok, it looks like your copter is under powered and you need to set the THR_MID value.

    Please refer to this page: http://copter.ardupilot.com/wiki/ac_throttlemid

    It looks like you may need to change something to get it fly correctly otherwise you need to lower the stick when using ALT_HOLD or Loiter mode.

    When you where in loiter mode the stick was at 1671 which is higher than 1500 normally seen when at mid value.  IE your mid stick value should be 1540 (1941-1139)/2+1139.  Since the dead zone is 100 and a value over 1640 is climb it climbs.

  • PROBLEM SOLVED - The issue has nothing to do with my settings and everything to with APM which is behaving extremely erratically for me on my Macbook.  APM is arbitrarily changing settings when I use the sub-menus such as "Basic Tuning" "Extended Tuning", etc.  

    Example, if I dare use the "Extended Tuning" configuration tab, it will zero out the Throttle P value to "0".  Every time.  APM cares not what value is in the board, it will populate that with a "0" in APM and if you dare press "write" it will blow away whatever value was in there before. 

    The same is true for WPNAV values.  I now have to do all tuning directly in the Full Parameter section and I always compare against a known good configuration value before I go flying.  

    I've also noticed that I have to re-start the APM software every time I disconnect from my flight board, and if I dare connect to a PC vs my Mac (I tried that thinking the Mac software was the problem) and it blows away a huge range of settings instantly.

    So tuning my quad is an enormous pain - but it does work, and it flies beautifully.

    • Make sure your Mission Planner is up to date.... I had similar issues in the past, all because I was running an outdated version of the Mission Planner.

  • Ok, the logging needs to be turned up from 893 to NearlyAll so we can see everything that's going on.

    Second it looks like your RC1_Trim is wrong.  Did you do the Radio Calibration?

    • Okay, I turned on the "nearly everything" LOG_BITMASK.  Attached is an updated log that beautifully illustrates the problem.  Note that in this case the quad is climbing steadily in response to the DAlt going up vs. down.  But again the quad seems to be doing exactly what it would think to do.

      I did a Radio Calibration but can do another.  The quad isn't totally stable in yaw or roll, it drifts *ever* so slightly, but it's a really small drift.  I can easily hover in my basement.

      Also note that I can't plot the vibration errors in my log viewer.  It doesn't show anything at all.


      • I've tried now with various settings to get the IMU values to graph properly and simply put, they do not.  I can sometimes get AccX to graph, but the others simply show: ERR status when I mouse over the graph to pull values.  Maybe I've got an issue with my Accelerometers?  I just pulled out my last hair.

  • 3D Robotics

    That's almost always due to vibration. Have you vibration damped your autopilot?

    • Funny you should ask, that's on my agenda for tomorrow. The APM is currently on top of a plate with rubber "earplug" feet. So it's fairly isolated from the main quad body. I plan to enable vibration logging tomorrow and review that output. I could put a layer of foam and Velcro between the APM and the isolated plate. I'll post photos tomorrow. Thanks a million for the quick reply!
This reply was deleted.


DIY Drones via Twitter
Review of the new Nivida Jetson NX for robocars https://t.co/bWjd3sH2o4
2 hours ago
DIY Robocars via Twitter
RT @chr1sa: My review of the new @NVIDIAEmbedded Jetson Xavier NX in robotics and @DIYRobocars applications https://t.co/O7TfJZhiF9 https:/…
15 hours ago
DIY Drones via Twitter
RT @chr1sa: Somehow I missed this, but last week @Nvidia released a new version of its Isaac robot development framework. Lots of new Lidar…
DIY Robocars via Twitter
RT @Smartphone89: DonkeyCar Racing League Korea #donkeycar @diyrobocars https://t.co/mDlHDR1d98
Jørn Ramnæs liked VIDEO LINK's profile
Mark Harrison left a comment on Moderators
"Wow, Ning2 looks really great on mobile. I had sort of drifted away as my browse-time went more on my phone, so this is great."
Hank Deucker left a comment on PIXHAWK
"I am sure most will say not again, Pixhawk telemetry. I do need help and all can be reassured that I have spent many hours scouring the net for useful information. I am not new at quadcopter flying, I started in 2012 and have progressed through many…"
DIY Robocars via Twitter
Hank Deucker left a comment on PIXHAWK
"Tomorrow, I am thinking about the wording at the moment."
DIY Drones via Twitter
Welcome to the new DIY Drones design!. You may have noticed that DIY Drones looks a little different today. That's… https://t.co/cg2EmeDGMQ
DIY Drones via Twitter
New! Online Training on Drones for Disaster Response https://t.co/brqRuujjY2
May 26
DIY Robocars via Twitter
May 25
DIY Robocars via Twitter
RT @OttawaAVGroup: We are going to try something new this week. We will be having a drop-in style meeting Wednesday @ 7-9pm EST. Pop in and…
May 25
DIY Robocars via Twitter
RT @tawnkramer: Thanks Everyone for another fun virtual race! Amazing Ai racers competing head-to-head, Virtual Makers Fair event. Catch us…
May 23
DIY Robocars via Twitter
RT @make: Find out the latest from @diyrobocars at 10am PT from @chr1sa of @3DRobotics on Virtually Make Faire! #makerfaire #maketogether #…
May 23
DIY Robocars via Twitter
RT @Heavy02011: Join us Saturday online: Virtual Race League: @DIYRobocars Race #2 - Parking Lot Nerds https://t.co/aJUu4sdutx #Meetup via…
May 22