bio robot
Dependencies: MPU6050-DMP QEI_hw mbed-rpc mbed
Fork of MPU6050_Example by
Diff: Controls/Dynamics.h
- Revision:
- 9:1d9b24d7ac77
- Parent:
- 8:1a3a69fecedf
- Child:
- 10:769cc457c3a4
--- a/Controls/Dynamics.h Thu Dec 03 23:55:44 2015 +0000 +++ b/Controls/Dynamics.h Sat Dec 05 00:40:42 2015 +0000 @@ -1,10 +1,12 @@ #ifndef Dynamics_h #define Dynamics_h + #include "Kinematics.h" +#include "Gains.h" -float calcTau(float z[4], float p[10]); +float calcTau(float z[4], float p[10], Gains *gains, Serial *pc); float thetaDesired(float range, float th1, float th2, float dth1, float dth2); int fix(float val);//round toward zero int signNonZero(float val);