summaryrefslogtreecommitdiff
path: root/i/chuck/src/ai/test_ai.cc
diff options
context:
space:
mode:
Diffstat (limited to 'i/chuck/src/ai/test_ai.cc')
-rw-r--r--i/chuck/src/ai/test_ai.cc24
1 files changed, 23 insertions, 1 deletions
diff --git a/i/chuck/src/ai/test_ai.cc b/i/chuck/src/ai/test_ai.cc
index 1993036..39ddaf1 100644
--- a/i/chuck/src/ai/test_ai.cc
+++ b/i/chuck/src/ai/test_ai.cc
@@ -59,9 +59,31 @@ class TestAi : public Tester
// Add functions
interpreter.add ("progMatch", Interpreter::memFunc (ai_, &Ai::progMatch),
"progMatch ()");
- interpreter.add
+ interpreter.add ("progH2",Interpreter::memFunc (ai_, &Ai::progH2),"prog bourrin");
+ interpreter.add
+ ("progH", Interpreter::memFunc (ai_, &Ai::progHomoloRobal),
+ "prog d'homologation");
+interpreter.add ("roulo", Interpreter::memFunc (ai_, &Ai::rouloAction),"mise en fonction du roulo + servo");
+interpreter.add ("rotate",Interpreter::memFunc (ai_, &Ai::motorRotate), "angle en radian");
+interpreter.add
("avoid", Interpreter::memFunc (ai_, &Ai::avoidrobot),
"do the avoid prog");
+ interpreter.add("motorMove",Interpreter::memFunc (ai_, &Ai::motorMove),"bouge le robot avec les sharp");
+ interpreter.add
+ ("launchSharp", Interpreter::memFunc (ai_, &Ai::launchSharp),
+ "start sharp");
+ interpreter.add
+ ("test_ascenseur", Interpreter::memFunc (ai_, &Ai::test_ascenseur),
+ "test_ascenseur");
+ interpreter.add
+ ("temporisation", Interpreter::memFunc (ai_, &Ai::temporisation),
+ "temporisation");
+ interpreter.add
+ ("init", Interpreter::memFunc (ai_, &Ai::init),
+ "init");
+ interpreter.add
+ ("bougeAsc", Interpreter::memFunc (ai_, &Ai::bougeAsc),
+ "bougeAsc");
}
void postRun(void)
{