summaryrefslogtreecommitdiff
path: root/i/marvin/src/motor/motor.hh
diff options
context:
space:
mode:
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);