Loss and gain of altitude of in position mode flight
-
I am using flight core as external flight controller with voxl2. Additionally, it has a range finder as primary sensor to augment the altitude data. I have observed that when I move forward with throttle at 50%, it is gaining some altitude and come reverse (along negative x axis w.r.t body frame axis ) it is loosing altitude. The gain and loss of altitude is around +-0.2m. It is not a sensor issue, as during flight the changes in altitude are visible in mavlink inspector in distance sesnor segment and as soon as I stop giving pitch or roll input (throttle always at 50%) it comes back to its correct altitude. This phenomena is only observed when the quad is in motion. I have set the offset parameters with respect to cg for both the flight-core and range finder. But, I am still observing this issue. How to solve it?
-
@Tamas-Pal-0 That sounds like a good question for the PX4 community. We don't have any experience flying with a distance sensor but I'm sure others in the PX4 community do this all the time.