Hello,
I bought a Benewake TFMini Plus LiDAR sensor to use as a rangefinder for automatic landings.
It’s the UART version of the sensor.
My flight controller is a SpeedyBee F405 Wing, and I connected the LiDAR to UART4.
I followed the configuration steps shown in the Painless360 YouTube tutorial about automatic landings.
However, I noticed that the sensor used in the video is an I²C version, while mine is the UART version.
So, I also referred to the ArduPilot documentation to set the correct RNGFND1_TYPE parameter to 20 for UART communication.
Of course, I’ve already tried the following troubleshooting steps:
Swapped RX and TX in case they were reversed
Tried using a different UART port
Even tested whether my sensor might be an I²C version after all
Tryed Baudrate 9600 and 115200
Watched all Rangefinder Parameter and Sonar Range in the Status
Unfortunately, nothing has worked so far.
I’m completely new to ArduPilot, so I would really appreciate well-explained solution suggestions that I can easily follow and check step by step.
I tryed to set the sensor in i2c mode but with no success. I think there are diffenent types of these TF mini Plus. Versions there can only be use in UART or Versions there can also be use in UART or i2c.
However, I have ordered a new i2c LiDAR with the opportunity for UART. I will keep updating you.
I have an update. The new Benewake LiDAR TFmini Plus arrived over the past few days. I was able to connect it via UART to my Speedybee F405 Wing board without any issues and get it up and running. No idea why the old one didn’t work.
Now I have a new question for you. I’ve installed and configured everything in a Multiplex FunCub with a 1400 mm wingspan. My current problem is that the aircraft would perform a perfect landing — but the ground is still about 3 meters away. I don’t understand why the LiDAR is working perfectly, yet the aircraft won’t properly descend all the way to the ground.
It behaves as if the last waypoint of the mission has a set altitude of 3 m AGL. Does anyone have an idea what could be causing this? For example, the parameter LAND_FLARE_ALT is set to 0.1 m altitude, yet it still holds at around 2 m AGL. Where does this discrepancy come from?
And yes, I also enabled the option for the LiDAR to be used starting from 6 m AGL. I also tested the “Assist” feature.
I’m attaching my parameters. Maybe someone would do me a huge favor and take a careful look at them.