From 236cf50a11672fd15ba62f2eca2e9368d2681c1e Mon Sep 17 00:00:00 2001 From: haller Date: Thu, 28 Apr 2005 22:31:07 +0000 Subject: Création de test_motor pour tester la classe motor Quelques petites modifications Modification du Makefile.defs pour ajouter les objets necessaires --- 2005/i/robert/src/motor/motor.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '2005/i/robert/src/motor/motor.hh') 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); -- cgit v1.2.3