summaryrefslogtreecommitdiff
path: root/i/chuck/src/motor/test_motor.cc
diff options
context:
space:
mode:
authorbecquet2007-05-11 02:46:56 +0000
committerbecquet2007-05-11 02:46:56 +0000
commit059d8ab05064e1cdd907e643b09c2bcc58daaf37 (patch)
treeb9feca5be3e3d0943625a113377e2a58536a671d /i/chuck/src/motor/test_motor.cc
parent7bd4a027d0b22489c998c201987855d73c79bee1 (diff)
Diffstat (limited to 'i/chuck/src/motor/test_motor.cc')
-rw-r--r--i/chuck/src/motor/test_motor.cc3
1 files changed, 2 insertions, 1 deletions
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),