summaryrefslogtreecommitdiff
path: root/i/marvin/src/ai/test_ai.cc
diff options
context:
space:
mode:
authorhaller2006-05-25 22:14:43 +0000
committerhaller2006-05-25 22:14:43 +0000
commitbf03b37b06877b55e4f23b627647a6b156ed664e (patch)
tree47aa544812fa1a1eed22666179bd21a7e1ee3807 /i/marvin/src/ai/test_ai.cc
parent1aff85cbaa8174f4aef9ded81c2156c8f1c5a508 (diff)
* Constification de getFd dans la classe Serial et ses clients
* Fonction afterMatch dans ai * Fonction motorSmartFindHole * Déclaration de la fonction motorDeblock * Ajout d'info sur le lcd lors de l'init * Utilisation des capteurs barillet
Diffstat (limited to 'i/marvin/src/ai/test_ai.cc')
-rw-r--r--i/marvin/src/ai/test_ai.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/i/marvin/src/ai/test_ai.cc b/i/marvin/src/ai/test_ai.cc
index 27d32a1..dd51b7d 100644
--- a/i/marvin/src/ai/test_ai.cc
+++ b/i/marvin/src/ai/test_ai.cc
@@ -61,6 +61,9 @@ class TestAi : public Tester
"Initialise le robal(void)");
interpreter.add("prepare", Interpreter::memFunc(ai_, &Ai::prepare),
"Lance la procédure pré-Match");
+ interpreter.add("afterMatch", Interpreter::memFunc(ai_,
+ &Ai::afterMatch),
+ "Lance la procédure post match");
interpreter.add("stop", Interpreter::memFunc(ai_, &Ai::stop),
"Stop le robal(void)");
interpreter.add("tempo", Interpreter::memFunc(ai_,
@@ -74,6 +77,8 @@ class TestAi : public Tester
interpreter.add("homologation", Interpreter::memFunc(ai_,
&Ai::progHomoloRobal),
"Programme d'homologation du robal");
+ interpreter.add("match", Interpreter::memFunc(ai_, &Ai::progMatch),
+ "Programme de match qui déchire du robal");
interpreter.add ("_postcall",
Interpreter::memFunc (*this, &TestAi::postcall));
}