Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed-dev-f303 FastPWM3
Diff: ImpedanceController/ImpedanceController.h
- Revision:
- 4:c023f7b6f462
- Parent:
- 3:6a0015d88d06
- Child:
- 9:d7eb815cb057
--- a/ImpedanceController/ImpedanceController.h Wed Mar 09 04:00:48 2016 +0000
+++ b/ImpedanceController/ImpedanceController.h Sat Mar 12 08:04:51 2016 +0000
@@ -3,9 +3,10 @@
class ImpedanceController{
public:
-
+ //CurrentRegulator();
+ virtual void SetImpedance(float K, float B, float );
private:
- float reference, K, B, output; //Referene position (rad), motor stiffness (N-m/rad), motor damping (N-m*s/rad), output(N-m)
+ float reference, _K, _B, output; //Referene position (rad), motor stiffness (N-m/rad), motor damping (N-m*s/rad), output(N-m)
};
\ No newline at end of file