I want to use my TFMini Plus for simple front facing object avoidance like heading toward a wall or tree and have it stop say at 3 meters.
I did this first and realized it was for terrain following: https://ardupilot.org/copter/docs/common-benewake-tfmini-lidar.html
I have it hooked up to my Hex Cube black carrier board on Telemetry 2 using serial. I looked at the sonarrange in MP and it is showing a number from the lidar which seems correct. I do not want to use it for terrain follow though, so now should I disable those settings as I want to use front facing for object avoidance?
I am not sure exactly what I should do now as I have it setup facing down and reading terrain height? I am only going to be using this with Loiter mode to start and I still want to be able to use geofence as well. Do I leave everything the way I have it and set:
avoid_margin=3 (is that meters?)
Thank you, David