C++ and python libraries for getting data from the Lidar-Lite sensor
Branch: master
Clone or download
Sanderi44 Merge pull request #8 from nicewook/faster_getDistance
faster getDistance with read_i2c_block_data() function
Latest commit 1f39215 Jul 4, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
include folderize Apr 7, 2015
test test makefile created Apr 7, 2015
README.md Added Reference to blog post Jan 30, 2018



Libraries for interacting with Lidar-Lite over I2C

This library will only work in a linux environment please install i2c-dev and i2c-tools

For recent Raspberry Pis or if you get an error such as

/src/lidar_lite.cpp:36:64: error: ‘i2c_smbus_write_byte_data’ was not declared in this scope

use this command to install i2c-dev:

apt-get install libi2c-dev

I found a great tutorial (using my library!) on this website: https://mobiusstripblog.wordpress.com/2016/12/26/first-blog-post/ Please check it out!