bio robot
Dependencies: MPU6050-DMP QEI_hw mbed-rpc mbed
Fork of MPU6050_Example by
Controls/Dynamics.h@8:1a3a69fecedf, 2015-12-03 (annotated)
- Committer:
- amandaghassaei
- Date:
- Thu Dec 03 23:55:44 2015 +0000
- Revision:
- 8:1a3a69fecedf
- Child:
- 9:1d9b24d7ac77
added in matlab controls;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
amandaghassaei | 8:1a3a69fecedf | 1 | #ifndef Dynamics_h |
amandaghassaei | 8:1a3a69fecedf | 2 | #define Dynamics_h |
amandaghassaei | 8:1a3a69fecedf | 3 | |
amandaghassaei | 8:1a3a69fecedf | 4 | #include "Kinematics.h" |
amandaghassaei | 8:1a3a69fecedf | 5 | |
amandaghassaei | 8:1a3a69fecedf | 6 | |
amandaghassaei | 8:1a3a69fecedf | 7 | float calcTau(float z[4], float p[10]); |
amandaghassaei | 8:1a3a69fecedf | 8 | float thetaDesired(float range, float th1, float th2, float dth1, float dth2); |
amandaghassaei | 8:1a3a69fecedf | 9 | int fix(float val);//round toward zero |
amandaghassaei | 8:1a3a69fecedf | 10 | int signNonZero(float val); |
amandaghassaei | 8:1a3a69fecedf | 11 | |
amandaghassaei | 8:1a3a69fecedf | 12 | |
amandaghassaei | 8:1a3a69fecedf | 13 | |
amandaghassaei | 8:1a3a69fecedf | 14 | |
amandaghassaei | 8:1a3a69fecedf | 15 | |
amandaghassaei | 8:1a3a69fecedf | 16 | #endif |