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.
Dependencies: mbed
Lidar.cpp
- Committer:
- SolalNathan
- Date:
- 2019-06-07
- Revision:
- 18:daba0b3777c0
File content as of revision 18:daba0b3777c0:
#include "SaphTeamRacing.h" void afficher_lidar(float *tableau_distances_var, Serial pc) { /* Affiche les données du lidar dans la liaison série. */ int angle; float tableau_distances[360]; for(angle=0; angle<360; angle++) tableau_distances[angle]=tableau_distances_var[angle]; for(angle=0; angle<360; angle++) { float distance = tableau_distances[angle]; pc.printf("%i,%f\n\r",angle,distance); } }