From f8506e55841f86ef2c385eac31aa8cdb53349b8a Mon Sep 17 00:00:00 2001 From: Jérémy Dufour Date: Fri, 22 May 2009 07:14:25 +0200 Subject: * digital/io/src: - fix angle for clean distributor position, - when we do not need to stop move FSM to go somewhere else, do not stop it. --- digital/io/src/top.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'digital/io/src/top.c') diff --git a/digital/io/src/top.c b/digital/io/src/top.c index 7cdeacef..af9d0ff7 100644 --- a/digital/io/src/top.c +++ b/digital/io/src/top.c @@ -85,9 +85,9 @@ top_get_next_position_to_get_distributor (asserv_position_t *clean_position, /* First distributor. */ { { 2711, 0 + DISTRIBUTOR_PROTECTION, 270 }, { 2711, DISTRIBUTOR_PROTECTION, 270 } }, /* Second distributor. */ - { { PG_WIDTH - DISTRIBUTOR_PROTECTION, 600, 90 }, { PG_WIDTH - DISTRIBUTOR_PROTECTION, 800, 0 } }, + { { PG_WIDTH - DISTRIBUTOR_PROTECTION, 600, 270 }, { PG_WIDTH - DISTRIBUTOR_PROTECTION, 800, 0 } }, /* Third distributor. */ - { { PG_WIDTH - DISTRIBUTOR_PROTECTION, 1100, 90 }, { PG_WIDTH - DISTRIBUTOR_PROTECTION, 1300, 0 } }, + { { PG_WIDTH - DISTRIBUTOR_PROTECTION, 1100, 270 }, { PG_WIDTH - DISTRIBUTOR_PROTECTION, 1300, 0 } }, }; /* Maximum number of remaining puck by distributor. */ static uint8_t distributor_puck_count[DISTRIBUTOR_COUNT] = { 5, 5, 5 }; -- cgit v1.2.3