From 953ff53ccf92e700c7c25136eabbe6699caa90f9 Mon Sep 17 00:00:00 2001 From: Nicolas Schodet Date: Thu, 13 May 2010 00:46:21 +0200 Subject: digital/io/src: make angle optional in move FSM --- digital/io/src/move.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'digital/io/src/move.h') diff --git a/digital/io/src/move.h b/digital/io/src/move.h index c504a0b2..214fddba 100644 --- a/digital/io/src/move.h +++ b/digital/io/src/move.h @@ -47,6 +47,8 @@ struct move_data_t { /** Final position. */ position_t final; + /** Use angle consign for final point. */ + uint8_t with_angle; /** Next step. */ vect_t step; /** Backward direction allowed flag. */ @@ -71,6 +73,10 @@ extern struct move_data_t move_data; void move_start (position_t position, uint8_t backward); +/** Go to a position, with no angle consign. */ +void +move_start_noangle (vect_t position, uint8_t backward); + /** To be called when obstacles positions are computed. */ void move_obstacles_update (void); -- cgit v1.2.3