summaryrefslogtreecommitdiff
path: root/i/chuck/src/motor/test_motor.cc
diff options
context:
space:
mode:
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),