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

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

Revision:
17:60de3bfdc70b
Parent:
16:e65c192b7ecf
Child:
20:abb7852df747
--- a/main.cpp	Wed Feb 27 12:32:44 2013 +0000
+++ b/main.cpp	Tue Apr 02 04:19:09 2013 +0000
@@ -4,15 +4,13 @@
 #include "PWM.h"
 
 uint16_t data[0x2000] __attribute__((section("AHBSRAM1"))); //motion data area
-Ticker tick;    //Ticker for main control roop
+
+DigitalOut led1(LED1);
 
 int main(void)
 {
     Motions motions(data);
     
-    // Motion 0 is Home position
-    motions.setmotion(0);
-    
     while (1) {
         motions.control();
         wait(0.02);