From 8877e2dc061b6f98a12445e66222bef9c155d7bc Mon Sep 17 00:00:00 2001 From: NĂ©lio Laranjeiro Date: Mon, 7 Apr 2008 22:35:53 +0200 Subject: Added the asserv_goto prototype function and the empty function in the asserv.c file. --- digital/io/src/asserv.c | 12 ++++++++++++ digital/io/src/asserv.h | 9 +++++++++ 2 files changed, 21 insertions(+) (limited to 'digital/io/src') 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 */ -- cgit v1.2.3