PX4 v1.14 Drifting setpoints in position control

I just updated to PX4 v1.14, and I am now seeing some issues in position mode on my quadcopter. As can be seen in the below log, the local position setpoints in x, y, and z all vary over time when no joystick input is present. I was not seeing this issue when using PX4 v1.13. I did change a few parameters related to height estimation after making the switch from v1.13 to v1.14, so the issue could potentially lie there.

The log:
https://review.px4.io/plot_app?log=c64e03fc-6830-43a2-861f-e4fb3b043d31

My quadcopter is set up to use vision as its only source of position and height estimation. I also have an onboard computer on the drone which communicates with the flight controller via Mavlink. The onboard computer does not send any position target/setpoint messages to the drone.

Does anyone have any ideas regarding the source of this issue? Thanks.

Identified the issue - the vision information sent to the flight controller was sent with variable (and frequently high) latency. This latency caused the local position setpoints to drift over time.

1 Like

Hi there @chris_app! I am having the same issue using a motion capture system as my source for local position. How did you end up fixing the problem?