From b22bb601a027ad33097f8bd0f3d34bc579718a75 Mon Sep 17 00:00:00 2001 From: dufourj Date: Fri, 18 May 2007 22:17:45 +0000 Subject: * 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! --- i/chuck/src/ai/test_ai.cc | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) (limited to 'i/chuck/src/ai/test_ai.cc') 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) { -- cgit v1.2.3