![](/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
Diff: Motion/OfflineMotion.h
- Revision:
- 21:a54bcab078ed
- Parent:
- 20:abb7852df747
--- a/Motion/OfflineMotion.h Mon Aug 19 08:10:58 2013 +0000 +++ b/Motion/OfflineMotion.h Wed Sep 04 03:59:40 2013 +0000 @@ -3,13 +3,14 @@ #include "LPC17xx.h" #include "mbed.h" -#include "PWM.h" +//#include "PWM.h" +#include "Adafruit_PWMServoDriver.h" //#include "Motion.h" class OfflineMotion //: public Motion { public: - OfflineMotion(uint16_t** data, unsigned short int size_idx, unsigned char size_num, PWM* _pwm, bool* playing); + OfflineMotion(uint16_t** data, unsigned short int size_idx, unsigned char size_num, Adafruit_PWMServoDriver* _pwm, bool* _playing); ~OfflineMotion(); public: void step(); @@ -20,7 +21,8 @@ void step_inter(); private: - PWM* pwm; + //PWM* pwm; + Adafruit_PWMServoDriver* pwm; uint16_t** m_data; unsigned short int m_IDX_MAX; unsigned char m_NUM_MAX;