summaryrefslogtreecommitdiff
path: root/2005/i/robert/src/motor/motor.hh
diff options
context:
space:
mode:
authorhaller2005-04-28 22:31:07 +0000
committerhaller2005-04-28 22:31:07 +0000
commit236cf50a11672fd15ba62f2eca2e9368d2681c1e (patch)
tree7e1793180fdf4cf7e8d44ef3b1974014099f31d3 /2005/i/robert/src/motor/motor.hh
parent10e9b5ada8232d3ec6320953ad9b6f42bead79ed (diff)
Création de test_motor pour tester la classe motor
Quelques petites modifications Modification du Makefile.defs pour ajouter les objets necessaires
Diffstat (limited to '2005/i/robert/src/motor/motor.hh')
-rw-r--r--2005/i/robert/src/motor/motor.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/2005/i/robert/src/motor/motor.hh b/2005/i/robert/src/motor/motor.hh
index e617980..60eb504 100644
--- a/2005/i/robert/src/motor/motor.hh
+++ b/2005/i/robert/src/motor/motor.hh
@@ -62,8 +62,6 @@ class Motor : public Asserv::Receiver
void goTo(double x, double y, double a);
/// Recale le robot
void recalage(void);
- /// Règle la vitesse des moteurs
- void setSpeed(double v);
/// Indique si les moteurs sont occupé ou non
bool idle (void);
/// Execute un déplacement linéaire
@@ -72,6 +70,8 @@ class Motor : public Asserv::Receiver
void rotation(double newA);
/// Syncronisation
bool sync(void);
+ /// On attend...
+ void wait(int timeout);
/// déclaration des fonctions de receiver
void receiveCounter (double lMotor, double rMotor);
void receivePosX (double xPos);