summaryrefslogtreecommitdiffhomepage
path: root/digital/io/src
diff options
context:
space:
mode:
authorJérémy Dufour2008-04-24 17:34:57 +0200
committerJérémy Dufour2008-04-24 17:34:57 +0200
commit3742db31fa93e011266c32f97089ae8260275fad (patch)
tree1c251dd05e222b4a027882413edf054cd3cffd80 /digital/io/src
parent54f637c140249456bf50e6133f23c848da6d132f (diff)
* 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]
Diffstat (limited to 'digital/io/src')
-rw-r--r--digital/io/src/top_cb.c2
1 files changed, 1 insertions, 1 deletions
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);
}