From 503e3511b2fa42263749c62a9625e6549ac2fe2d Mon Sep 17 00:00:00 2001 From: Jérémy Dufour Date: Wed, 20 May 2009 19:22:02 +0200 Subject: * digital/io/src: - support backward parameter for the asserv_goto, - enhance to avoid static obstacle, - add center circle of the playground table. --- digital/io/src/init_cb.c | 4 ++++ 1 file changed, 4 insertions(+) (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 b74937b2..f79ca49a 100644 --- a/digital/io/src/init_cb.c +++ b/digital/io/src/init_cb.c @@ -32,7 +32,9 @@ #include "aquajim.h" #include "switch.h" #include "chrono.h" +#include "playground.h" #include "modules/trace/trace.h" +#include "modules/path/path.h" /* * IDLE =start=> @@ -238,6 +240,8 @@ init__WAIT_SECOND_JACK_OUT__jack_removed_from_bot (void) init_match_is_started = 1; /* Start the chrono. */ chrono_init (); + /* Set the central round to path module. */ + path_obstacle (0x01, PG_WIDTH / 2, PG_LENGTH / 2, 350, 0xFFFF); return init_next (WAIT_SECOND_JACK_OUT, jack_removed_from_bot); } -- cgit v1.2.3