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
Diff: Classes/Robot.h
- Revision:
- 17:aae5361ddddf
- Parent:
- 16:05665faaa489
- Child:
- 19:dad67302af25
--- a/Classes/Robot.h Tue Jun 04 08:49:01 2019 +0000 +++ b/Classes/Robot.h Tue Jun 04 17:25:49 2019 +0000 @@ -13,8 +13,7 @@ public: Robot(); bool aBalle(); - void getPos(short*); - bool getFlag(); + short pos(int); // Déplacements // bool avance(signed short=2500); @@ -31,9 +30,12 @@ void gobe(int); void stopRouleau(); + // Enum pour les infos sur la position // + enum {Y, X, THETA}; + private: Deplacement deplacement; - Laser laserG, laserD, laserA; //Lasers télémétriques du Robot + Laser laserG, laserD, laserA; //Lasers télémétriques du Robot Rouleau rouleau; DigitalIn BPs; };