lidar_tfmini

TFMini Lidar driver with separate implementations for: - Real hardware using a single UART for communication (ap target) - NPS simulator (nps target)

Configures

Name

Value

Description

TFMINI_PORT

UART3

UART device to use for lidar

TFMINI_BAUD

B115200

baudrate of the TFMini UART port

USE_TFMINI_AGL

true

use this lidar for AGL measurements

TFMINI_COMPENSATE_ROTATION

0

compensate AGL measurements for body rotation

TFMINI_ROVER

0

is this lidar mounted on a rover? Change the way to calculate the compensation

LIDAR_OFFSET

0.0

Horizontal offset from vehicle center to LIDAR [m]

LIDAR_HEIGHT

0.0

Vertical height from ground to LIDAR [m]

LIDAR_MIN_RANGE

0.1

minimum range of the lidar in meters (see datasheet)

LIDAR_MAX_RANGE

12.0

maximum range of the lidar in meters (see datasheet)

Depends

  • uart

Provides

  • sonar