summaryrefslogtreecommitdiff
path: root/i/chuck/src/ai/test_ai.cc
diff options
context:
space:
mode:
authordufourj2007-05-18 22:17:45 +0000
committerdufourj2007-05-18 22:17:45 +0000
commitb22bb601a027ad33097f8bd0f3d34bc579718a75 (patch)
treeecf3ba31e48d94363e97f8f1805734453ae0db5a /i/chuck/src/ai/test_ai.cc
parent46a85a34f459c13e462a4d4098735fbff26964b7 (diff)
* General:
- commit post hoomologation. * Ai: - add functions to manage sharps, "rouleau", ascensor and fuck the wall. * Motor & Asserv: - update fuck the wall. * Es: - ascensor management; - "rouleau" management. * ToDo: - too much functions to manage the ascensor, simplify!
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)
{