From 4777e2a1e5211f015d760c1e8614d3936d6b9045 Mon Sep 17 00:00:00 2001 From: haller Date: Thu, 25 May 2006 01:53:31 +0000 Subject: * Gestion un peu plus avancé du barillet --- i/marvin/src/ai/ai.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'i/marvin/src/ai') diff --git a/i/marvin/src/ai/ai.cc b/i/marvin/src/ai/ai.cc index bbf3158..d9bfd0a 100644 --- a/i/marvin/src/ai/ai.cc +++ b/i/marvin/src/ai/ai.cc @@ -168,16 +168,17 @@ void Ai::progHomoloRobal(void) motor_.rotate(-M_PI/4); /// On cherche au moins une balle (sinon c'est con) es_.barilletLancement(); + motor_.move(1000, 0); /// XXX Voir la distance /// XXX Avancer d'une certaine facon pour choper des balles /// XXX Ouais ba y'a encore ddes truc à faire là /// On cherche un tru (repositionnement??) - // XXX motor_.lockGoodHole(); + motor_.lockGoodHole(); motor_.findHole(); /// On trouve un trou, chouette /// Aspirer le trou es_.extraitBalle(); /// mettre une baballe - // XXX es_.deposeBlanche(); + es_.dropWhiteBall(); /// Tourner 3 fois en chantant du Mickael Jackson /// Again.... /// Fin du match -- cgit v1.2.3