V1.13 denies change to position mode without any apparent reason

Hello everyone,

As the title says, my drone is using v1.13 and it will reject the transition to position mode without any apparent reason. I checked the log file, and it shows both global_position_valid and local_position_valid equals to 1 (true), thus I would expect it to pass the criteria and change to position mode without any problem. Looking for similar topics here, I found on this post that if the parameter CBRK_VELPOSERR = 1, it will pass the check and never change the state. I checked CBRK_VELPOSERR and it is 0, so it would allow the check. Any idea why I might be having this issue? Here you can find the log file.

Thank you in advance.

Hello,

Do a PID tuning through QGC and check the flight again …..

Why not upload the log to review.px4.io and publish the link directly to the viewer?

I agree with @sibujacob that you need to calibrate your PID gains.

You’re also running a custom PX4 v1.9.0, which is older than the v1.13 you mentioned which is itself super old.

You do have CubeOrange, which could run newest PX4.

Look at your Console Output in your log (under “show additional data” in Flight Review):

WARN  [commander] Switching to Position is currently not available	
WARN  [PreFlightCheck] Preflight: GPS Horizontal Pos Drift too high

GPS signal weak/bad/jammed/spoofed, or maybe IMU calibration is needed.