Flight controller used: pixhawk 2.4.8
Firmware version : Arducopter4.2.1
LiDAR in use: TFMini-s (not TFmini !)
Symptom: Even after wiring to the SERIAL4/5 port and setting various parameters according to the official documentation (Benewake TFmini / TFmini Plus lidar — Copter documentation), the TFmini value ( sonnar range) remains unchanged at 0 on the misson planner.
Also, the relative altitude that can be checked on QGC does not behave according to the distance between LiDAR and the ground. Since I am using brand new TF-mini and connectors , I think it is the software that has the problem, but what could be wrong?
Here is the screenshot of mission planner. The “Sonar range” is always 0.
Thank you for your reply !
I used benewakes official GUI app which has a serial monitor function, and I confirmed that the values behave according to the distance between ground and sensor.
So, my tf-mini-s’s factory default configuration is UART and it properly works. Even though, it doesn’t work when it is connected to pixhawk.
What is wrong ?
I have a question again, but the relative altitude values that I can see in QGC etc. do not match the distance sensor values, even though the sonar range values are changing.When I was using px4, they matched. Is this an ardupilot specification?
I would like to use the distance sensor value as the relative altitude in the range where the distance sensor is readable because I cannot rely on the GPS altitude estimation.