![](/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: Motions.h
- Revision:
- 13:711f74b2fa33
- Parent:
- 12:6cd135bf03bd
- Child:
- 14:522bb06f0f0d
diff -r 6cd135bf03bd -r 711f74b2fa33 Motions.h --- a/Motions.h Sun Feb 03 04:53:44 2013 +0000 +++ b/Motions.h Sun Feb 03 21:22:21 2013 +0000 @@ -18,7 +18,10 @@ private: void read(const string& filename, uint16_t* data); void set(uint16_t* data); - void setmotion(const int& id); + bool checkid(int id); + + public: + void setmotion(const int id); void play(); private: