v7
Robot.cpp@2:c17925c0ce25, 2017-02-09 (annotated)
- Committer:
- fab16
- Date:
- Thu Feb 09 14:35:59 2017 +0000
- Revision:
- 2:c17925c0ce25
- Parent:
- 1:b3c45f39e86e
- Child:
- 3:3f75a7741b8f
v2
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
fab16 | 0:3cb651f7347b | 1 | #include "Robot.h" |
fab16 | 1:b3c45f39e86e | 2 | |
fab16 | 1:b3c45f39e86e | 3 | |
fab16 | 0:3cb651f7347b | 4 | |
fab16 | 1:b3c45f39e86e | 5 | Robot::Robot(){ |
fab16 | 2:c17925c0ce25 | 6 | obstacle = false; |
fab16 | 2:c17925c0ce25 | 7 | Affichage affichage; |
fab16 | 2:c17925c0ce25 | 8 | LED led; |
fab16 | 2:c17925c0ce25 | 9 | Deplacement deplacement; |
fab16 | 1:b3c45f39e86e | 10 | } |
fab16 | 1:b3c45f39e86e | 11 | |
fab16 | 1:b3c45f39e86e | 12 | Robot::~Robot(){ |
fab16 | 1:b3c45f39e86e | 13 | // TODO fermer connexion bluetooth |
fab16 | 1:b3c45f39e86e | 14 | } |
fab16 | 1:b3c45f39e86e | 15 | |
fab16 | 2:c17925c0ce25 | 16 | Affichage Robot::getAffichage(){ |
fab16 | 2:c17925c0ce25 | 17 | return affichage; |
fab16 | 2:c17925c0ce25 | 18 | } |
fab16 | 2:c17925c0ce25 | 19 | |
fab16 | 2:c17925c0ce25 | 20 | LED Robot::getLed(){ |
fab16 | 2:c17925c0ce25 | 21 | return led; |
fab16 | 2:c17925c0ce25 | 22 | } |
fab16 | 2:c17925c0ce25 | 23 | |
fab16 | 2:c17925c0ce25 | 24 | Deplacement Robot::getDeplacement(){ |
fab16 | 2:c17925c0ce25 | 25 | return deplacement; |
fab16 | 2:c17925c0ce25 | 26 | } |
fab16 | 2:c17925c0ce25 | 27 | |
fab16 | 2:c17925c0ce25 | 28 |