summaryrefslogtreecommitdiff
path: root/digital/io/src/asserv.h
diff options
context:
space:
mode:
authorJérémy Dufour2008-04-20 19:55:55 +0200
committerJérémy Dufour2008-04-20 19:55:55 +0200
commitf088b0f951d1d074429c2a6e8f4946310108db6d (patch)
treebf6401ef43ddad65e8ba1b34b0bce398bd27c55c /digital/io/src/asserv.h
parent4d0f3e53f4e845dd067daacf1c1086b09d825c98 (diff)
* digital/io/src
- add the goto an absolute position and them absolute angle to the asserv module.
Diffstat (limited to 'digital/io/src/asserv.h')
-rw-r--r--digital/io/src/asserv.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/digital/io/src/asserv.h b/digital/io/src/asserv.h
index 531fad09..5cb0c12b 100644
--- a/digital/io/src/asserv.h
+++ b/digital/io/src/asserv.h
@@ -185,6 +185,15 @@ void
asserv_goto_angle (int16_t angle);
/**
+ * Go to an absolute position and then an absolute angle.
+ * @param x the absolute position on the X axis.
+ * @param y the absolute position on the Y axis.
+ * @param a the absolute angle.
+ */
+void
+asserv_goto_xya (uint32_t x, uint32_t y, int16_t a);
+
+/**
* Go to the wall (moving backward).
* Move class command.
*/