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

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

main.cpp

Committer:
syundo0730
Date:
2013-08-19
Revision:
20:abb7852df747
Parent:
17:60de3bfdc70b
Child:
21:a54bcab078ed

File content as of revision 20:abb7852df747:

#include "LPC17xx.h"
#include "mbed.h"
#include "Controlor.h"
#include "PWM.h"

uint16_t data[0x2000] __attribute__((section("AHBSRAM1"))); //motion data area

DigitalOut led1(LED1);

int main(void)
{
    Controlor controlor(data);
    
    while (1) {
        controlor.control();
        wait(0.02);
    }
}