just a test

Dependencies:   mbed

Fork of scoreLight_Advanced by Alvaro Cassinelli

Revision:
3:b44ff6de81bd
Parent:
2:34157ebbf56b
Child:
4:f9d364f10335
--- a/elasticLoop.cpp	Sat Mar 31 12:50:32 2012 +0000
+++ b/elasticLoop.cpp	Mon Apr 02 05:33:44 2012 +0000
@@ -50,8 +50,9 @@
             sprintf(spotName,"loop_relax"); //this is an relaxing elastic loop
 
             // Color: (use parameter in the future):
-            setColor(0x07);//0x04+0x02>>i);
-
+            //setColor(0x07);//0x04+0x02>>i);
+            setColor(0x04);
+            
             // default (initial) shape (the scafold belongs to the base class):
             bluePrint.buildCircularScafold(400, _initPos, vector2D(0,0), 40); //(float _radius, vector2D _pos,vector2D _vel, int _numScafoldPoints);
 
@@ -143,7 +144,8 @@
         case CONTRACT_CENTRAL:
             sprintf(spotName,"contract_central");
 
-            setColor(0x07);//0x04+0x02>>i);
+            //setColor(0x07);//0x04+0x02>>i);
+            setColor(0x04);
 
             // default (initial) shape:
             bluePrint.buildCircularScafold(400, _initPos, vector2D(0,0), 40); //(float _radius, vector2D _pos,vector2D _vel, int _numScafoldPoints);
@@ -188,7 +190,8 @@
         case CONTOUR_FOLLOWING:
             sprintf(spotName,"following"); //this is a contour-following loop
 
-            setColor(0x07);//0x04+0x02>>i);
+            //setColor(0x07);//0x04+0x02>>i);
+            setColor(0x04);
 
             // default (initial) shape:
             bluePrint.buildCircularScafold(100, _initPos, vector2D(0,0), 20); //(float _radius, vector2D _pos,vector2D _vel, int _numScafoldPoints);
@@ -329,7 +332,7 @@
 
     // !!!!!!!!!!!!!!!!!!!!! ::
     // The following is not nice here (should be in the classLaserSensingTrajectory, not even on the simpleLaserRenderer), but for the time being let's leave it here
-    setDelayMirrors(4); // ATTN!!! needs to be called AFTER setting the number of points!!! (note: 5 seemed good)
+    setDelayMirrors(5); // ATTN!!! needs to be called AFTER setting the number of points!!! (note: 5 seemed good)
 }
 
 void elasticLoop::initSizeBlob(int _numMasses) {