summaryrefslogtreecommitdiff
path: root/i/chuck/src/es/test_es.cc
diff options
context:
space:
mode:
Diffstat (limited to 'i/chuck/src/es/test_es.cc')
-rw-r--r--i/chuck/src/es/test_es.cc55
1 files changed, 4 insertions, 51 deletions
diff --git a/i/chuck/src/es/test_es.cc b/i/chuck/src/es/test_es.cc
index 1e39167..b96baa5 100644
--- a/i/chuck/src/es/test_es.cc
+++ b/i/chuck/src/es/test_es.cc
@@ -64,15 +64,7 @@ class TestEs : public Tester
interpreter.add ("wait", Interpreter::memFunc (*this, &TestEs::wait),
"Blocking wait (time)\n"
" - time : time to wait in ms");
- interpreter.add
- ("colorRef", Interpreter::memFunc (es_, &Es::refColor),
- "Reference current color as green for sensors (mask)");
- interpreter.add
- ("rvbAll", Interpreter::memFunc (es_, &Es::enableAllSensors),
- "Drop a ball at the rear ()");
- interpreter.add
- ("servoPos", Interpreter::memFunc (es_, &Es::setServoPos),
- "Set servo position (mask, pos)");
+
interpreter.add
("sharpUp", Interpreter::memFunc (es_, &Es::setSharpUpdate),
"Set sharp update frequency (mask, freq)");
@@ -91,48 +83,9 @@ class TestEs : public Tester
interpreter.add
("lcdKey", Interpreter::memFunc (es_, &Es::lcdGetKey),
"Set stat for key if pressed (freq)");
- interpreter.add
- ("turbSpeed", Interpreter::memFunc (es_, &Es::setTurbineSpeed),
- "Set turbine speed (num, speed)\n"
- " - num : 1 front, 2 rear\n"
- " - speed : 256 - 819");
- interpreter.add
- ("turbMinSpeed", Interpreter::memFunc (es_,
- &Es::barilletDebutLancement),
- avant1 = 0x20, arriere3 = 0x24};
- "Turbine minimal speed ()");
- interpreter.add
- ("turbFrontFull", Interpreter::memFunc (es_,
- &Es::barilletLancement),
- "Turbine front full speed ()");
- interpreter.add
- ("barSleep", Interpreter::memFunc (es_, &Es::barilletSleep),
- "Barillet in sleep mode (low speed turbine)");
- interpreter.add
- ("turbDepose", Interpreter::memFunc (es_, &Es::deposeBalle),
- "Drop a ball at the rear ()");
- interpreter.add
- ("barDropWhite", Interpreter::memFunc (es_, &Es::dropWhiteBall),
- "drop une balle blanche");
- interpreter.add("barDropBlack", Interpreter::memFunc (es_,
- &Es::dropBlackBall),
- "drop une balle noire");
- interpreter.add("barSetEmpty", Interpreter::memFunc (es_,
- &Es::setEmptyHoleFront),
- "met un trou vide en position avale une balle");
- interpreter.add
- ("barExtract", Interpreter::memFunc (es_, &Es::extraitBalle),
- "Extract a ball ()");
- interpreter.add
- ("barInit", Interpreter::memFunc (es_, &Es::barilletInit),
- "Init barillet ()");
- interpreter.add
- ("barGoTo", Interpreter::memFunc (es_, &Es::rotationBarillet),
- "Barillet go to position (pos)\n"
- " - pos : in 40 of a round");
- interpreter.add
- ("barPurge", Interpreter::memFunc (es_, &Es::barilletEmpty),
- "Extract a ball ()");
+ interpreter.add ("ascenseur", Interpreter::memFunc(es_,
+ &Es::bouge_ascenceur),"Set sens , vitesse , tps\n" "sens : 0 UP 1 DOWN\n" "vit and tps : en hex");
+
interpreter.add ("_postcall",
Interpreter::memFunc (*this, &TestEs::postcall));
}