From 73bbc9e206772e928878126187789448ab3d0d47 Mon Sep 17 00:00:00 2001 From: Jérémy Dufour Date: Wed, 20 May 2009 16:04:33 +0200 Subject: * digital/io/src: - add direction support in goto command, - move FSM use the angle for the end of the movement. --- digital/io/src/init_cb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'digital/io/src/init_cb.c') diff --git a/digital/io/src/init_cb.c b/digital/io/src/init_cb.c index 063314a3..b74937b2 100644 --- a/digital/io/src/init_cb.c +++ b/digital/io/src/init_cb.c @@ -211,7 +211,7 @@ init__GO_AWAY_FROM_THE_WALL_AGAIN__bot_move_succeed (void) - BOT_WIDTH / 2 - 50), PG_LENGTH - PG_START_ZONE_LENGTH + BOT_LENGTH / 2 + 50, - PG_A_VALUE_COMPUTING (0 * BOT_ANGLE_DEGREE)); + PG_A_VALUE_COMPUTING (0 * BOT_ANGLE_DEGREE), 0); return init_next (GO_AWAY_FROM_THE_WALL_AGAIN, bot_move_succeed); } -- cgit v1.2.3