summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNélio Laranjeiro2008-04-07 22:35:53 +0200
committerNélio Laranjeiro2008-04-07 22:35:53 +0200
commit8877e2dc061b6f98a12445e66222bef9c155d7bc (patch)
treefe7554bca6766bfda864f623e7c3799a1b0b9719
parent4a78f478a8787f255b782f077b6931cbd51af1d3 (diff)
Added the asserv_goto prototype function and the empty function in the
asserv.c file.
-rw-r--r--digital/io/src/asserv.c12
-rw-r--r--digital/io/src/asserv.h9
2 files changed, 21 insertions, 0 deletions
diff --git a/digital/io/src/asserv.c b/digital/io/src/asserv.c
index de2edea2..97cd2650 100644
--- a/digital/io/src/asserv.c
+++ b/digital/io/src/asserv.c
@@ -344,3 +344,15 @@ asserv_set_speed (uint8_t linear_high, uint8_t angular_high,
/* Send the set speed of movements command to the asserv board */
asserv_twi_send_command ('p', 5);
}
+
+/**
+ * Go to the position provided in parameters. Those points shall be in the
+ * table.
+ * @param x the x position on the table.
+ * @param y the y position on the table.
+ */
+void
+asserv_goto (uint32_t x, uint32_t y)
+{
+}
+
diff --git a/digital/io/src/asserv.h b/digital/io/src/asserv.h
index 2f2e7f51..6bb883d2 100644
--- a/digital/io/src/asserv.h
+++ b/digital/io/src/asserv.h
@@ -224,4 +224,13 @@ void
asserv_set_speed (uint8_t linear_high, uint8_t angular_high,
uint8_t linear_low, uint8_t angular_low);
+/**
+ * Go to the position provided in parameters. Those points shall be in the
+ * table.
+ * @param x the x position on the table.
+ * @param y the y position on the table.
+ */
+void
+asserv_goto (uint32_t x, uint32_t y);
+
#endif /* asserv_h */