From cc275044597eef4136ebc48090510da365368d0f Mon Sep 17 00:00:00 2001 From: dufourj Date: Wed, 22 Jun 2005 08:23:10 +0000 Subject: Correction d'un bug de double initialisation. --- 2005/i/robert/src/ai/ai.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to '2005/i/robert/src') 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; -- cgit v1.2.3