summaryrefslogtreecommitdiffhomepage
path: root/digital/io/src/asserv.h
diff options
context:
space:
mode:
Diffstat (limited to 'digital/io/src/asserv.h')
-rw-r--r--digital/io/src/asserv.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/digital/io/src/asserv.h b/digital/io/src/asserv.h
index 5cb0c12b..04ebe68f 100644
--- a/digital/io/src/asserv.h
+++ b/digital/io/src/asserv.h
@@ -265,6 +265,18 @@ asserv_set_speed (uint8_t linear_high, uint8_t angular_high,
uint8_t linear_low, uint8_t angular_low);
/**
+ * Set the complete position of the bot.
+ * This is an helpful function preventing you from calling multiples other
+ * ones.
+ * It calls other class commands.
+ * @param x X position
+ * @param y Y position
+ * @param angle angular position
+ */
+void
+asserv_set_position (int32_t x, int32_t y, int16_t angle);
+
+/**
* Go to an absolute position in (X, Y).
* @param x the x position on the table.
* @param y the y position on the table.