Althold and position hold problem

I’m having trouble with my drone. When I fly in stabilized mode, the altitude remains steady. However, when I switch to altitude hold or position hold, the altitude starts to drop, resulting in the drone rapidly gaining altitude. Additionally, I’m receiving a “terrain clamping offset” message. I spoke with my colleague, who suggested I cover the barometer with an open sponge. Despite trying this, I still received the same message. When I attempted to activate altitude hold mode, the drone rapidly ascended.below, mentioning the log file and video clip of flight

Hover throttle will set to 0.3
Motor hover learn 2

log of my drone

video of drone

Remove the access requirement from the link.

I have updated it. I apologize for the inconvenience.

The altitude is not dropping, you have default parameters for the vertical acceleration controller gains with a hover thrust ~.02 (it’s hard to tell in this log). You also have default PID’s adding to the problem and resulting in nothing but oscillation on the outputs:

I would say with your limited level of tuning knowledge that the Methodic Configurator is your best bet. Reset all to default and follow it thru.

And, don’t double, or triple in your case, post.

But as you seen in my altitude graph the altitude was showing in negative after flight

Likely noise and temperature changes as things warm up. Don’t worry about that yet. Get the tuning sorted like @dkemxr suggested.

1 Like