]> rtime.felk.cvut.cz Git - eurobot/public.git/commitdiff
camera/color-finder: delete control message
authorMonika Svedirohova <svedimon@fel.cvut.cz>
Sat, 29 Sep 2012 21:23:08 +0000 (23:23 +0200)
committerMonika Svedirohova <svedimon@fel.cvut.cz>
Sat, 29 Sep 2012 21:23:08 +0000 (23:23 +0200)
src/camera/color-finder/control/CRobot.cpp

index e388d849f778da25e5c25d1cdb45035f975d7523..bb0713e64a1bd4661adecefdf899d70c0d6484d1 100644 (file)
@@ -48,7 +48,7 @@ void CRobot::sendCommand(SRobotCommand command)
        int left,right;
        if (initialized){
                int ret;
-               fprintf(stdout,"Initial command is %i %i\n",command.forward,command.turn);
+               //fprintf(stdout,"Initial command is %i %i\n",command.forward,command.turn);
 
                //omezime doprednou a zataceci rychlost
                command.forward = MAX(MIN(command.forward,120),-120);
@@ -79,6 +79,6 @@ void CRobot::sendCommand(SRobotCommand command)
                
        }else{
                //kdyz neni robot pripojen, alespon se prikaz vypise na obrazovku
-               fprintf(stdout,"Robot command is %i %i\n",command.forward,command.turn);
+               //fprintf(stdout,"Robot command is %i %i\n",command.forward,command.turn);
        }
 }