summaryrefslogtreecommitdiff
path: root/2005/i
diff options
context:
space:
mode:
authordufourj2005-06-22 08:23:10 +0000
committerdufourj2005-06-22 08:23:10 +0000
commitcc275044597eef4136ebc48090510da365368d0f (patch)
treec4b84e3bb935e2b24cdcf7a59a5798b925c738a0 /2005/i
parente6c602ed430803248904f4eca64ba223027664cc (diff)
Correction d'un bug de double initialisation.
Diffstat (limited to '2005/i')
-rw-r--r--2005/i/robert/src/ai/ai.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/2005/i/robert/src/ai/ai.cc b/2005/i/robert/src/ai/ai.cc
index e52f71f..25445e8 100644
--- a/2005/i/robert/src/ai/ai.cc
+++ b/2005/i/robert/src/ai/ai.cc
@@ -292,7 +292,6 @@ Ai::runProtectFond (void)
void Ai::runVisionLine(void)
{
- init();
initTest();
do
{
@@ -507,8 +506,8 @@ void Ai::remonteWithCam(void)
// XXX position relative par rapport la prise de photo
std::cout << "Rotation" << std::endl;
rotation(motor_.getA() + angle);
- std::cout << "Max speed" << std::endl;
- setMaxSpeed(2,1);
+ std::cout << "Pas Max speed" << std::endl;
+// setMaxSpeed(2,1);
std::cout << "basic dist/d" << std::endl;
basic(dist);
std::cout << "Ascenceur +" << std::endl;