v7

Dependents:   robot_final

Committer:
fab16
Date:
Thu Mar 16 14:58:24 2017 +0000
Revision:
7:fa09588320d0
Parent:
5:152295068384
Child:
9:aff70d8f388a
robot avec action en char

Who changed what in which revision?

UserRevisionLine numberNew contents of line
fab16 2:c17925c0ce25 1 #include "Affichage.h"
fab16 2:c17925c0ce25 2 #include "LED.h"
fab16 2:c17925c0ce25 3 #include "Deplacement.h"
fab16 3:3f75a7741b8f 4 #include "Pattern.h"
fab16 4:c8ae1b606d51 5 #include "SRF05.h"
fab16 3:3f75a7741b8f 6 #include "mbed.h"
fab16 2:c17925c0ce25 7
fab16 1:b3c45f39e86e 8
fab16 0:3cb651f7347b 9
fab16 0:3cb651f7347b 10 class Robot{
fab16 0:3cb651f7347b 11
fab16 1:b3c45f39e86e 12 private:
fab16 1:b3c45f39e86e 13
fab16 1:b3c45f39e86e 14 bool obstacle;
fab16 2:c17925c0ce25 15 Affichage affichage;
fab16 2:c17925c0ce25 16 LED led;
fab16 2:c17925c0ce25 17 Deplacement deplacement;
fab16 3:3f75a7741b8f 18 Pattern pattern;
fab16 5:152295068384 19 bool tabObstacle[4];
fab16 3:3f75a7741b8f 20
fab16 3:3f75a7741b8f 21
fab16 0:3cb651f7347b 22
fab16 1:b3c45f39e86e 23 public:
fab16 1:b3c45f39e86e 24
fab16 1:b3c45f39e86e 25 Robot();
fab16 1:b3c45f39e86e 26 ~Robot();
fab16 2:c17925c0ce25 27
fab16 2:c17925c0ce25 28 Affichage getAffichage();
fab16 2:c17925c0ce25 29 LED getLed();
fab16 2:c17925c0ce25 30 Deplacement getDeplacement();
fab16 3:3f75a7741b8f 31 Pattern getPattern();
fab16 7:fa09588320d0 32 void action(char idAction);
fab16 4:c8ae1b606d51 33 void utiliserUltrason();
fab16 5:152295068384 34 void afficherObstacle();
fab16 5:152295068384 35 void scanneEnvironement();
fab16 3:3f75a7741b8f 36
fab16 2:c17925c0ce25 37
fab16 1:b3c45f39e86e 38 };