From 059d8ab05064e1cdd907e643b09c2bcc58daaf37 Mon Sep 17 00:00:00 2001 From: becquet Date: Fri, 11 May 2007 02:46:56 +0000 Subject: --- i/chuck/src/motor/test_motor.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'i/chuck/src/motor/test_motor.cc') diff --git a/i/chuck/src/motor/test_motor.cc b/i/chuck/src/motor/test_motor.cc index 760dfd6..a659a12 100644 --- a/i/chuck/src/motor/test_motor.cc +++ b/i/chuck/src/motor/test_motor.cc @@ -1,4 +1,4 @@ -// test_motor.cc + test_motor.cc // marvin - programme du robot 2006. {{{ // // Copyright (C) 2006 Nicolas Schodet @@ -62,6 +62,7 @@ class TestMotor : public Tester void preRun (void) { Interpreter &i = getInterpreter (); + i.add ("avoid",Interpreter::memFunc(motor_,&Motor::avoidrobot),"j evite un super robot"); i.add ("wait", Interpreter::memFunc (*this, &TestMotor::wait), "wait MS\nwait for a delay in millisecond"); i.add ("move", Interpreter::memFunc (motor_, &Motor::move), -- cgit v1.2.3