v7
Robot.h@4:c8ae1b606d51, 2017-03-02 (annotated)
- Committer:
- fab16
- Date:
- Thu Mar 02 12:30:14 2017 +0000
- Revision:
- 4:c8ae1b606d51
- Parent:
- 3:3f75a7741b8f
- Child:
- 5:152295068384
robot v3;
Who changed what in which revision?
User | Revision | Line number | New 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 | 3:3f75a7741b8f | 19 | |
fab16 | 3:3f75a7741b8f | 20 | |
fab16 | 0:3cb651f7347b | 21 | |
fab16 | 1:b3c45f39e86e | 22 | public: |
fab16 | 1:b3c45f39e86e | 23 | |
fab16 | 1:b3c45f39e86e | 24 | Robot(); |
fab16 | 1:b3c45f39e86e | 25 | ~Robot(); |
fab16 | 2:c17925c0ce25 | 26 | |
fab16 | 2:c17925c0ce25 | 27 | Affichage getAffichage(); |
fab16 | 2:c17925c0ce25 | 28 | LED getLed(); |
fab16 | 2:c17925c0ce25 | 29 | Deplacement getDeplacement(); |
fab16 | 3:3f75a7741b8f | 30 | Pattern getPattern(); |
fab16 | 3:3f75a7741b8f | 31 | void action(int idAction); |
fab16 | 4:c8ae1b606d51 | 32 | void utiliserUltrason(); |
fab16 | 3:3f75a7741b8f | 33 | |
fab16 | 2:c17925c0ce25 | 34 | |
fab16 | 1:b3c45f39e86e | 35 | }; |