Controlor for Humanoid. Walking trajectory generator, sensor reflection etc.

Dependencies:   Adafruit-PWM-Servo-Driver MPU6050 RS300 mbed

Revision:
16:e65c192b7ecf
Parent:
15:e37a8c413e51
Child:
17:60de3bfdc70b
--- a/main.cpp	Thu Feb 21 15:21:12 2013 +0000
+++ b/main.cpp	Wed Feb 27 12:32:44 2013 +0000
@@ -7,13 +7,14 @@
 Ticker tick;    //Ticker for main control roop
 
 int main(void)
-{  
-    PWM* pwm = new PWM();
-    delete pwm;
+{
     Motions motions(data);
     
+    // Motion 0 is Home position
+    motions.setmotion(0);
+    
     while (1) {
         motions.control();
-        wait(0.05);
+        wait(0.02);
     }
 }
\ No newline at end of file