My modifications/additions to the code

Dependencies:   ADXL345 ADXL345_I2C IMUfilter ITG3200 Servo fishgait mbed-rtos mbed pixy_cam

Fork of robotic_fish_ver_4_8 by jetfishteam

Revision:
18:9ba4566f2361
Parent:
17:6970aef8154b
Child:
19:655db88b045c
--- a/MainController.cpp	Thu May 22 04:32:19 2014 +0000
+++ b/MainController.cpp	Thu May 22 13:35:01 2014 +0000
@@ -7,9 +7,9 @@
      ch4(p17,0.055,0.092), //rudder
      ch6(p15,0.055,0.092), //volume
      mcon(p22, p6, p7), // change pin p5 to p7, because p5 is burned through
-     ap(p25, p26),
-     leftservo(p21),
-     rightservo(p22)
+     ap(p25, p26)//,
+     //leftservo(p21),
+     //rightservo(p22)
      
 {
     wait_ms(50);
@@ -70,9 +70,9 @@
     }
     
     //Set Servo Values
-    pitch = this->calculatePitch();
-    leftservo = pitch;
-    rightservo = 1.0 - pitch;
+    //pitch = this->calculatePitch();
+    //leftservo = pitch;
+    //rightservo = 1.0 - pitch;
        
 //    if (curTime > 1/(2*frq) && (switched == false))
 //    {