I am using TFmini LIDAR, it works very well as SONAR
but when I use it as Object Avoidance, I get to take off but I can not go forward.
can it be by the degrees of inclination of the drone when it goes forward?
The TFMINI outputs ZERO if over 12 Meter indoor and over 6 Meter outdoor.
You can change this behavior and report a fixed 12 Meter if beyond range send this command:
42 57 02 00 00 00 00 20 using the BENEWAKE Console