before test
Dependencies: BEAR_Protocol_Edited BufferedSerial Debug MaxSonar PID Process QEI UI iSerial mbed
Fork of clean_V1 by
Diff: rplidar/RPlidar.cpp
- Revision:
- 7:0dac9d4ff04f
- Parent:
- 5:fe76f3dae81e
--- a/rplidar/RPlidar.cpp Tue Jun 07 03:28:39 2016 +0000 +++ b/rplidar/RPlidar.cpp Tue Jun 07 16:17:34 2016 +0000 @@ -261,7 +261,7 @@ dis = _currentMeasurement.distance; - if(ang>=angMin&&ang<=angMax)Data[ang] = dis; + if(ang>=angMin&&ang<=angMax)Data[ang] = dis/10; return RESULT_OK; }