Copter not holding alt in GUIDED and AUTO modes

I suspect this may be a bug.

I have a simple build with MATEK F405 WING and BEITIAN BN 880. No additional sensors. AC3.6.7

I noticed that as soon as copter starts moving it keeps gaining altitude until it reaches the destination or a WP, then it descends back down to the ALT of the destination / WP.

Example in attached log:

my base elevation is 42 m. Guided (and mission) alts are relative - 100m .

--requesting new position at 100m
--starts moving:
--now copter transitions to the requested destination - already 9m above target:
--reached the dest at 20m above requested alt
--starts descent and reaches the original atl:

when i run similar experiment with pixhawk cube and here2 everything is fine - no altitude gain


gaining altitude is often a sign of too much Z vibration. Take a look at those values.

1 Like

Your Z-vibes are peaking at ~90 with clipping. No reason to think it’s a bug. The Cube IMU is vibe isolated, can’t make a comparison to that.

1 Like

ok, thx, fc is softmounted.

bug or not a bug question: FC can certainly see the ALT delta, what else is needed to correct it.

You need to look at the FC mounting, might be too soft or not soft enough or resonating at wrong frequency. Also check rest of craft mechanically for sources of vibration - chipped props, poorly balanced props or other mechanical issues that would introduce vibration.

My guess is you nee a more compliant mount. What are you using now?

thanks i’m using 1cm thick double-sided sticky foam - kind of soft - it actually comes in pixhawk cube package - i reused it for matek.
I wonder what others are doing on matek wing

Put some small weight on the matek, it should add enough inertia to reduce vibrations.
Make sure though that it does not fall-off.

1 Like