Controlor for Humanoid. Walking trajectory generator, sensor reflection etc.
Dependencies: Adafruit-PWM-Servo-Driver MPU6050 RS300 mbed
Diff: OnlineMotion.h
- Revision:
- 18:7077bedc37eb
- Parent:
- 17:60de3bfdc70b
- Child:
- 19:c2ec475367aa
diff -r 60de3bfdc70b -r 7077bedc37eb OnlineMotion.h --- a/OnlineMotion.h Tue Apr 02 04:19:09 2013 +0000 +++ b/OnlineMotion.h Wed Apr 03 04:56:13 2013 +0000 @@ -1,6 +1,8 @@ #ifndef ONLINEMOTION_H_2013_02_04_ #define ONLINEMOTION_H_2013_02_04_ +#include <cmath> + #include "LPC17xx.h" #include "mbed.h" #include "PWM.h" @@ -25,8 +27,8 @@ private: PWM* pwm; - uint16_t** m_data; - unsigned short int m_IDX_MAX; + //uint16_t** m_data; + //unsigned short int m_IDX_MAX; unsigned char m_NUM_MAX; bool* playing; float t, T ,STEP;