![](/media/cache/profiles/e5815151957be36ad2085b7a1a02c5cc.jpg.50x50_q85.jpg)
Controlor for Humanoid. Walking trajectory generator, sensor reflection etc.
Dependencies: Adafruit-PWM-Servo-Driver MPU6050 RS300 mbed
main.cpp
- Committer:
- syundo0730
- Date:
- 2013-11-22
- Revision:
- 23:0927e605af4b
- Parent:
- 22:bf5aa20b9df0
File content as of revision 23:0927e605af4b:
#include "LPC17xx.h" #include "mbed.h" #include "Controlor.h" #include "PWM.h" //#include "rtos.h" uint16_t data[0x2000] __attribute__((section("AHBSRAM1"))); //motion data area DigitalOut led1(LED1); Ticker tick; int main(void) { Controlor controlor(data); tick.attach(&controlor, &Controlor::control, 0.01); while (1) { //controlor.control(); //wait(0.01); //Thread::wait(5); //led1 = !led1; } }