![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
bio robot
Dependencies: MPU6050-DMP QEI_hw mbed-rpc mbed
Fork of MPU6050_Example by
Diff: Comm/CommDelegate.h
- Revision:
- 10:769cc457c3a4
- Parent:
- 9:1d9b24d7ac77
- Child:
- 11:711d3c207e8c
diff -r 1d9b24d7ac77 -r 769cc457c3a4 Comm/CommDelegate.h --- a/Comm/CommDelegate.h Sat Dec 05 00:40:42 2015 +0000 +++ b/Comm/CommDelegate.h Sat Dec 05 09:04:23 2015 +0000 @@ -16,12 +16,12 @@ //gains void virtual setSwingUpK(float k){}; void virtual setSwingUpD(float d){}; - void virtual setK2(float k2){}; - void virtual setD2(float d2){}; + void virtual setCurrentP(float p){}; + void virtual setCurrentD(float d){}; float virtual getSwingUpK(){return 0;}; float virtual getSwingUpD(){return 0;}; - float virtual getK2(){return 0;}; - float virtual getD2(){return 0;}; + float virtual getCurrentP(){return 0;}; + float virtual getCurrentD(){return 0;}; //target void virtual setTargetPosition(int position){};