After Firmware 4.2.1 Rangefinder shows me 100m and not 10cm

I have a Sensorfail with Firmware 4.1.0. Log for attatche is to big…, all was working, and from waypoint 3 to 4 crash it in Air.

022-06-01 11:52:57.926 ArduCopter V4.1.0 (ea559a56)

2022-06-01 11:52:57.926 ChibiOS: 08877972

2022-06-01 11:52:57.926 CUAV-Nora 003E0023 3130510D 32303437

2022-06-01 11:52:57.926 Param space used: 922/5376

2022-06-01 11:52:57.926 RC Protocol: SBUS

2022-06-01 11:52:57.926 New mission

2022-06-01 11:52:57.928 New rally

2022-06-01 11:52:57.928 Frame: QUAD/X

2022-06-01 11:52:57.928 GPS 1: detected as u-blox at 230400 baud

2022-06-01 11:52:57.928 u-blox 1 HW: 00190000 SW: EXT CORE 4.04 (7f89f7)

2022-06-01 11:52:59.394 Event: DATA_MOTORS_INTERLOCK_ENABLED

2022-06-01 11:52:59.459 Event: DATA_AUTO_ARMED

2022-06-01 11:53:01.562 Event: DATA_NOT_LANDED

2022-06-01 11:53:05.389 EKF3 IMU0 MAG0 in-flight yaw alignment complete

2022-06-01 11:53:05.390 Event: DATA_EKF_YAW_RESET

2022-06-01 11:53:05.392 EKF3 IMU1 MAG0 in-flight yaw alignment complete

2022-06-01 11:53:20.622 Mission: 1 WP

2022-06-01 11:53:32.044 Reached command #1

2022-06-01 11:53:32.044 Mission: 2 WP

2022-06-01 11:53:43.634 Reached command #2

2022-06-01 11:53:43.634 Mission: 3 WP

2022-06-01 11:53:55.804 EKF3 IMU1 switching to compass 1

2022-06-01 11:54:00.067 Reached command #3

2022-06-01 11:54:00.067 Mission: 4 WP

2022-06-01 11:54:05.817 EKF3 IMU1 switching to compass 0

2022-06-01 11:54:08.312 EKF3 lane switch 1

2022-06-01 11:54:08.312 Event: DATA_EKF_YAW_RESET

2022-06-01 11:54:08.312 Error: Subsys EKF_PRIMARY ECode 1

2022-06-01 11:54:08.312 EKF primary changed:1

2022-06-01 11:54:08.320 Error: Subsys GPS ECode 2

2022-06-01 11:54:08.320 GPS Glitch

2022-06-01 11:54:09.320 Error: Subsys FAILSAFE_VIBE ECode 1

2022-06-01 11:54:09.320 Vibration compensation ON

2022-06-01 11:54:11.020 Error: Subsys EKFCHECK ECode 2

2022-06-01 11:54:11.020 EKF variance

2022-06-01 11:54:11.020 Error: Subsys FAILSAFE_EKFINAV ECode 1

2022-06-01 11:54:11.020 Event: DATA_LANDING_GEAR_DEPLOYED

2022-06-01 11:54:11.020 EKF Failsafe: changed to LAND Mode

2022-06-01 11:54:18.312 EKF3 lane switch 0

2022-06-01 11:54:18.312 Event: DATA_EKF_YAW_RESET

2022-06-01 11:54:18.312 Error: Subsys EKF_PRIMARY ECode 0

2022-06-01 11:54:18.312 EKF primary changed:0

2022-06-01 11:54:19.220 Error: Subsys EKFCHECK ECode 0

2022-06-01 11:54:19.220 EKF Failsafe Cleared

Now i update to 4.2.1 Use my Rangefinder Typ is PWM set to 5 on M13 Channel = AUX 5, and i set RNG_FNG_pin to 62 (54 like description not work)
Servofunktion13 is set to -1.
Now i see 100m and the RNGFND is only 10cm off the ground. I try with RNGFNG Scalling… no chance… any ideas?
I have in use M8 with servopasstrue and M12 for Cameratrigger.

1 Like

Any chance you could put the onboard log on dropbox or something similar and then provide a link?

did you solve? I am getting trouble same problem

@Agus_Prihatno,

If you can post an onboard log that will give us more information. You may need to set LOG_DISARMED = 1 to allow the autopilot to produce a log even though it is disarmed.