![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
bio robot
Dependencies: MPU6050-DMP QEI_hw mbed-rpc mbed
Fork of MPU6050_Example by
Comm/CommDelegate.h
- Committer:
- amandaghassaei
- Date:
- 2015-12-03
- Revision:
- 2:17b18ea93551
- Child:
- 5:c3d671959ef3
File content as of revision 2:17b18ea93551:
#ifndef CommDelegate_h #define CommDelegate_h class CommDelegate//parent class { public: CommDelegate(){}//constructor method //imu float virtual getTheta(){return 0.0;} float virtual getDtheta(){return 0.0;} //gains void virtual setGains(float k1, float d1, float k2, float d2){}; void virtual setK1(float k1){}; void virtual setD1(float d1){}; void virtual setK2(float k2){}; void virtual setD2(float d2){}; float virtual getK1(){return 0;}; float virtual getD1(){return 0;}; float virtual getK2(){return 0;}; float virtual getD2(){return 0;}; //target void virtual setPosition(int position){}; int virtual getPosition(){return 0;}; protected: }; #endif