Problems with rangefinder assisted flare

Hi there,

I had seen there were some issues fixed with this and am running 4.6.3, custom build as I am running Matek AS-DLVR-IC2.

I think the video with a good hud shows it clearly as it indicates “flare” as soon as the rangefinder is acquired. I have been trying to resolve this for a few months now. I included a lap of the QGC generated loiter to show airspeed was in good order, perhaps a 3 m/s headwind on landing.

I’ve got the log as well but the vid shows the problem clearly.

Thanks all!

vid

7-5-26.params.zip (7.2 KB)

I embedded the vid as a dropbox link, seems not to play here. I’ll try as a link.

Video

Please post the .bin log of the flight.

What is the rangefinder range? In my experience you want 10-12m at a minimum for small planes so plane has enough time to cleanly adjust path or perform go around.

There were some issues with flare transition when using rangefinder that are fixed in 4.7.0

6.5° is fairly steep unless you have a draggy airframe or reverse thrust.

.bin dropbox link. There are two flights, the first the land position was out and I went around and landed manually.

The 6.5 is steep. Ranger 2000 heavy with manual flaps and crow. I initiated full flaps when final started, but no crow. I had been trying lower slopes to get to the point where the plane used power on final but that approach wasn’t working, still early flare no energy so I went back to 6 degrees.

Rangefinder kicks in at 10m consistently, I tried increasing the RNGFND1_MAX_CM 1500 4 on a suggestion from AI. :slight_smile: but behaviour was the same as when it was set to 1000.

Thanks so much.

Perhaps my problem is 4.6.3. I saw some fixes to rangefinder flare around 4.6.x so I thought I would be fine with the 4.6.3 custom build I had to do for the Matek AS-DLVR-IC2 to work.

Here’s a shot from UAV log viewer showing hdem following baro, not rangefinder. I’ve migrated to 4.7, waiting for weather to test.

[00:34:24.3]: Rangefinder engaged at 9.81m
[00:34:24.4]: Flare -167.0m sink=0.65 speed=8.6 dist=67.0

Immediately after the rangefinder engages at 9.81m, LAND_fh (height for flare timing) shows -167m. This may be a problem with the terrain correction, so you might want to try setting TERRAIN_ENABLE to 0.

I see that now, I never noticed that param. I’ll try again with 4.7. Terrain is turned off.

Thanks guys I’m learning a lot on how to diagnose the issue going forward.

D

I think i found the problem. Even with rangefinder_max at 8, there were some 5m readings in the stream as the finder acquired. This blew up the the land.fh. Here’s the stream from the rangefinder, after the last stamp all values were good.

914.504 10.66

914.524 10.66

914.543 10.66

914.563 10.65

914.583 5.32

914.603 5.32

914.624 5.27

914.643 5.28

914.663 5.22

914.684 5.21

914.704 0.00

914.724 0.00

914.743 5.22

914.763 5.22

914.783 10.45

914.803 10.44

914.824 10.44

914.843 10.43

914.863 10.41

914.884 10.40

I notice the wiki for the Benewake TFmini suggests a rangefinder_max of 6, this might not be appropriate as I see the 5m anomaly showing up in many logs.