Local Position Drift - PX4 EKF2 with optical flow and GPS

Hi,

I am using PX4 firmware on Pixhawk, position estimation is based on EKF2 with optical flow and GPS.

I wonder how is it possible that the the readings from local position are very noisy, drifting 1.5m in XY, while the drone keeps the position very well in the air.

How does that happen? how is it possible that the drone is able to keep his position while the input is that noisy?

Screenshot of the XY drift -

1 Like

That would be odd. Are you looking at the right part of the plot on the time axis?

It’s hard to judge given these two super small plots. If you upload a log to logs.px4.io that would help.