From: Marcelo Benitez Date: Fri, 1 Dec 2006 04:37:56 +0000 (+0000) Subject: (no commit message) X-Git-Tag: entrega-20061218~43 X-Git-Url: https://git.llucax.com/z.facultad/75.68/celdas.git/commitdiff_plain/5e215362bcbddf94398779b9e9b9cfb98c771829 --- diff --git a/trunk/src/breve/robot/Celdas-2-5.tz b/trunk/src/breve/robot/Celdas-2-5.tz index e59f092..ee56a6e 100644 --- a/trunk/src/breve/robot/Celdas-2-5.tz +++ b/trunk/src/breve/robot/Celdas-2-5.tz @@ -391,13 +391,13 @@ Link : CeldasSensor (aka CeldasSensors) { posObstacle=i get-location. - + #! if(dot((i get-direction),direction)==0): des1=1. else des1=0. + !# - des1=1. des2=0. if(dot(direction,(1,1,1))<0): { @@ -450,7 +450,7 @@ Link : CeldasSensor (aka CeldasSensors) { print "sensor: $id , des1: $des1, des2: $des2, des3: $des3". - if ((des1) && (des2) && (des3)): + if ((des2) && (des3)): { draw clear. #print " posObstacle: $posObstacle".