lidar_sf11

Parallax SF11-A/B/C Laser Rangefinder connected over i2c bus. The update rate is 16 readings per second, so don’t poll the lidar faster than 32Hz. In practice lidar_sf11_periodic() can run at most at freq=32. The i2c address can be reconfigured.

Configures

Name

Value

Description

LIDAR_SF11_I2C_DEV

i2c2

I2C device to use for lidar

LIDAR_SF11_I2C_ADDR

0x50

default slave address of lidar

USE_LIDAR_SF11_AGL

1

use this lidar for AGL measurements. On by deafult

LIDAR_SF11_COMPENSATE_ROTATION

1

compensate AGL measurements for body rotation

Depends

  • i2c

Provides

  • sonar