Benewake TF02 lidar

The Benewake TF02 lidar has an indoor range of 22m, an outdoor range of 10m, an update rate of 100hz and weighs only 52g. More specifications can be found here and in the datasheet.

../_images/benewake-tf02-topimage.jpg

Note

Support for this sensor is available in Copter-3.6 (and higher) and Rover-3.4 (and higher)

Where to Buy

Connecting to the Flight Controller

For a serial connection you can use any spare Serial/UART port. The diagram below shows how to connect to SERIAL4.

../_images/benewake-tf02-pixhawk.png

If the SERIAL4/5 port on a Pixhawk is being used then the following parameters should be set:

  • SERIAL4_PROTOCOL = 9 (Lidar)
  • SERIAL4_BAUD = 115 (115200 baud)
  • RNGFND_TYPE = 19 (Benewake TF02)
  • RNGFND_MIN_CM = 30
  • RNGFND_MAX_CM = 2000 for indoor use OR 1000 for outdoor. This is the distance in centimeters that the rangefinder can reliably read.
  • RNGFND_GNDCLEAR = 10 or more accurately the distance in centimetres from the range finder to the ground when the vehicle is landed. This value depends on how you have mounted the rangefinder.

If instead the Telem2 port was used then the serial parameters listed above should instead be:

Testing the sensor

Distances read by the sensor can be seen in the Mission Planner’s Flight Data screen’s Status tab. Look closely for “sonarrange”.

../_images/mp_rangefinder_lidarlite_testing.jpg