Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: lidar.h
- Revision:
- 4:c393c14f4502
- Parent:
- 0:9eb40ee5ff41
- Child:
- 5:73aac5fe9696
--- a/lidar.h Fri May 31 13:45:02 2019 +0000 +++ b/lidar.h Wed Jun 05 22:55:03 2019 +0000 @@ -55,7 +55,7 @@ angleHex2 = data_received[2]; checkC = (angleHex1&0x01); angle = (((uint16_t)angleHex2) <<1) + ((uint16_t)angleHex1>>7); - angle = angle - 90; // Decalage par rapport au centre du lidar et de la voiture + angle = angle - 180; // Decalage par rapport au centre du lidar et de la voiture // distance distanceHex1 = data_received[3]; distanceHex2 = data_received[4];