![](/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-02-27
- Revision:
- 16:e65c192b7ecf
- Parent:
- 15:e37a8c413e51
- Child:
- 17:60de3bfdc70b
File content as of revision 16:e65c192b7ecf:
#include "LPC17xx.h" #include "mbed.h" #include "Motions.h" #include "PWM.h" uint16_t data[0x2000] __attribute__((section("AHBSRAM1"))); //motion data area Ticker tick; //Ticker for main control roop int main(void) { Motions motions(data); // Motion 0 is Home position motions.setmotion(0); while (1) { motions.control(); wait(0.02); } }