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: main.cpp
- Revision:
- 2:faef6636d456
- Parent:
- 0:c25c4b67b6a1
--- a/main.cpp Wed May 05 13:55:51 2021 +0000 +++ b/main.cpp Wed May 05 14:14:28 2021 +0000 @@ -12,15 +12,13 @@ int main() { - float odomX, odomY, odomTheta; struct RPLidarMeasurement data; pc.baud(115200); init_communication(&pc); // Lidar initialization - rplidar_motor.period(0.001f); - rplidar_motor.write(0.5f); + rplidar_motor.period(0.0005f); lidar.begin(se_lidar); lidar.setAngle(0,360);