From 3742db31fa93e011266c32f97089ae8260275fad Mon Sep 17 00:00:00 2001 From: Jérémy Dufour Date: Thu, 24 Apr 2008 17:34:57 +0200 Subject: * digital/io/src - correct a bug in the computed position (to go away from the start area/gutter, we need to decrease Y position) [related to r451, I forgot to stage the file with this modification] --- digital/io/src/top_cb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'digital/io/src') diff --git a/digital/io/src/top_cb.c b/digital/io/src/top_cb.c index 1a200cfb..6c2b3f05 100644 --- a/digital/io/src/top_cb.c +++ b/digital/io/src/top_cb.c @@ -58,7 +58,7 @@ top__DROP_OFF_BALLS_TO_GUTTER__gutter_fsm_finished (void) asserv_position_t position; asserv_get_position (&position); /* Move away from the gutter */ - move_start (position.x, position.y + BOT_MIN_DISTANCE_TURN_FREE); + move_start (position.x, position.y - BOT_MIN_DISTANCE_TURN_FREE); return top_next (DROP_OFF_BALLS_TO_GUTTER, gutter_fsm_finished); } -- cgit v1.2.3