Example of LidarLite library usage. The data from sensor registers is refreshed using refreshRange() / refreshVelocity() / refreshRangeVelocity() functions and measurement data can be read into program using getRange_cm() / getVelocity_cms(). I separated the functions to refresh and report data for ease of upgrade to thread functions.
Example of LidarLite library usage, picture below shows the setup I used to test the program.
Diff: LidarLite.lib
- Revision:
- 0:17002a5fa7bc
- Child:
- 1:9c2f6fa9062f
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/LidarLite.lib Tue Feb 17 12:01:10 2015 +0000 @@ -0,0 +1,1 @@ +LidarLite#8e6304ab38d2