summaryrefslogtreecommitdiff
path: root/i/marvin/src/motor/motor.hh
diff options
context:
space:
mode:
authorhaller2006-05-25 22:14:43 +0000
committerhaller2006-05-25 22:14:43 +0000
commitbf03b37b06877b55e4f23b627647a6b156ed664e (patch)
tree47aa544812fa1a1eed22666179bd21a7e1ee3807 /i/marvin/src/motor/motor.hh
parent1aff85cbaa8174f4aef9ded81c2156c8f1c5a508 (diff)
* Constification de getFd dans la classe Serial et ses clients
* Fonction afterMatch dans ai * Fonction motorSmartFindHole * Déclaration de la fonction motorDeblock * Ajout d'info sur le lcd lors de l'init * Utilisation des capteurs barillet
Diffstat (limited to 'i/marvin/src/motor/motor.hh')
-rw-r--r--i/marvin/src/motor/motor.hh4
1 files changed, 3 insertions, 1 deletions
diff --git a/i/marvin/src/motor/motor.hh b/i/marvin/src/motor/motor.hh
index 68da820..f1c9843 100644
--- a/i/marvin/src/motor/motor.hh
+++ b/i/marvin/src/motor/motor.hh
@@ -62,9 +62,11 @@ class Motor : public Asserv::Receiver
/// Stop now.
void stop (void);
/// get the file descriptor
- int getFd(void);
+ int getFd(void) const;
/// Reset.
void reset (void);
+ /// get the position of robal
+ void getPosition(double & x, double & y, double & a) const;
private:
/// Next seq number.
inline void nextSeq (void);