I was doing a flight today and I found that my plane is losing altitude from 200m to 180m while doing a loiter. I changed location of the loiter but it was the same issue.
I did calibration for the airspeed sensor but nothing happened. The airspeed is the 3DR digital airspeed.
I found that the Compass was giving error but I don’t know if the compass would affect the altitude, will it affect?
The compas/GPSs is 10cm away from the Pixhawk and the 400Mhz dragon link.
I am using the genuine 3DR Pixhawk with the arduplane 3.7.0
Maybe your loiter radius is too small for your aircraft. In turns you plane makes less lift, so you need more power to fly faster to not lose altitude.
Your maximum bank angle may need to be reduced. My default value was 4500 (centidegrees). Have you changed yours?
@farstein I recommend that you upgrade to the latest version of firmware to see if that solves your problem. It might not, but this problem was posted a year ago, and many improvements have been made since then.
For anyone interested, I took a look at the log: The flight duration was 2 hours, and steadily over the course of those 2 hours, the plane’s POS.Alt shows a decrease of about 10m. However, the POS.RelAlt does NOT show this decrease, it shows a constant trend for the whole 2 hours.
I don’t know how the computation of POS.RelAlt differs from POS.Alt to assist in determining the cause. Can someone else shed light on this?