summaryrefslogtreecommitdiff
path: root/2005/i/robert/src/motor/motor.hh
diff options
context:
space:
mode:
Diffstat (limited to '2005/i/robert/src/motor/motor.hh')
-rw-r--r--2005/i/robert/src/motor/motor.hh6
1 files changed, 6 insertions, 0 deletions
diff --git a/2005/i/robert/src/motor/motor.hh b/2005/i/robert/src/motor/motor.hh
index 79af4d8..27f1894 100644
--- a/2005/i/robert/src/motor/motor.hh
+++ b/2005/i/robert/src/motor/motor.hh
@@ -79,6 +79,8 @@ class Motor : public Asserv::Receiver
double getY(void);
/// Renvoie l'angle A
double getA(void);
+ /// On set les positions dans l'avr
+ void setPosition(double x, double y, double a);
/// Ammène le robot à la position x,y
void goTo(double x, double y, double a);
/// Recale le robot
@@ -89,6 +91,10 @@ class Motor : public Asserv::Receiver
void linearMove(double d);
/// Execute une rotation(argument en radian)
void rotation(double newA);
+ /// set de la vitesse des moteurs
+ void setMaxSpeed(int maxLspeed, int maxRspeed);
+ /// récupère la vitesse linéaire maximum
+ int getMaxLSpeed(void);
/// Syncronisation
bool sync(void);
/// On attend...