During outdoor GPS hover, it was very stable the whole time. During landing (at 1:43), the aircraft suddenly drifted significantly in one direction. Flight logs and video are attached.
Hi,
Thanks for sharing the flight details.
Since the vehicle remained stable during GPS hover and the significant drift appeared specifically during landing at around 1:43, it would be useful to examine the estimator and position controller behaviour around that timestamp.
Could you please share the PX4 ULog file or a public Flight Review link?
A few additional details would also help:
-
Was the landing performed in Position mode or an automatic landing mode?
-
Was the drift accompanied by an unexpected vehicle tilt or acceleration?
-
Was an optical flow sensor or rangefinder enabled?
-
Did the vehicle recover its position, or did the drift continue until touchdown?
I would suggest checking the following signals around 1:43:
-
Local position and velocity estimates versus setpoints.
-
EKF position and velocity innovations.
-
GPS accuracy and estimator validity.
-
Attitude setpoints versus actual attitude.
-
Land detector state and actuator outputs.
This should help distinguish an estimator-related position jump from an actual vehicle movement or control response.
I’d be happy to take a closer look at the log once it’s accessible.
Best regards,
PAMILANGA LIMITED
Hi,
Thanks for sharing the ULog. I’ve started examining the estimator and position-control data around the landing event.
There are several interesting observations:
-
At approximately 110.18 s, the vehicle enters Auto Land mode.
-
Around 111.76–111.78 s, GPS fusion becomes active while optical flow fusion is disabled.
-
Shortly afterwards, the EKF horizontal position reset counter increments.
-
By approximately 113.9 s, the estimated horizontal position differs from the position setpoint by about 0.77 m.
-
The estimator velocity innovation test ratio exceeds 1.0, and inertial dead reckoning becomes active later.
These observations suggest that the horizontal aiding-source transition deserves closer investigation.
However, I would not yet conclude that GPS caused the physical drift. We still need to correlate the estimator transition with attitude commands, actuator outputs and the actual movement visible in the video.
Could you also confirm whether the vehicle was intentionally switched into Auto Land mode at approximately this point, and whether optical flow and a rangefinder were installed and enabled?
I’ll continue reviewing the control response before suggesting any parameter changes.
Best regards,
Yiğitcan Öztürk
PAMILANGA LTD
Hi
Thank you very much for you reply.
- yes, The vehicle was manually switched to Land mode at this point in time.
- Optical flow and the rangefinder are confirmed to be installed and enabled.
Hi,
Thanks for confirming both points.
Since the transition to Land mode was manually commanded, we can exclude an automatic landing failsafe as the cause of that particular mode transition.
The next step is to determine whether the abnormal drift originates from the state estimator or the position controller.
Although optical flow and the rangefinder are installed and enabled, we should verify whether their measurements were actually being fused by EKF2 during the affected flight segment.
I would suggest checking the following:
-
Estimator fusion status: Confirm whether GPS and optical flow measurements were accepted and fused by EKF2 during hover.
-
Position and velocity innovations: Look for increasing innovation residuals, test ratios, or estimator resets around the onset of drift.
-
Position setpoint versus actual position: Determine whether the vehicle was following an incorrect position estimate or failing to maintain the commanded position.
-
Local velocity and optical flow: Compare estimated horizontal velocity with optical flow measurements, taking rangefinder validity and sensor quality into account.
-
Estimator configuration: Check EKF2_GPS_CTRL, EKF2_OF_CTRL, sensor orientation, and relevant optical flow and rangefinder settings.
Could you share the complete ULog file and confirm the PX4 firmware version?
It would also help to know whether the drift occurs consistently in one direction or changes between flights.
I would avoid further autonomous hover testing until the estimator behavior has been verified.
Best regards,
Yiğitcan