bio robot
Dependencies: MPU6050-DMP QEI_hw mbed-rpc mbed
Fork of MPU6050_Example by
Controls/Dynamics.h@10:769cc457c3a4, 2015-12-05 (annotated)
- Committer:
- amandaghassaei
- Date:
- Sat Dec 05 09:04:23 2015 +0000
- Revision:
- 10:769cc457c3a4
- Parent:
- 9:1d9b24d7ac77
- Child:
- 12:49813131dd15
swinging looking good;
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 | 9:1d9b24d7ac77 | 4 | |
amandaghassaei | 8:1a3a69fecedf | 5 | #include "Kinematics.h" |
amandaghassaei | 9:1d9b24d7ac77 | 6 | #include "Gains.h" |
amandaghassaei | 8:1a3a69fecedf | 7 | |
amandaghassaei | 8:1a3a69fecedf | 8 | |
amandaghassaei | 10:769cc457c3a4 | 9 | float calcTau(volatile float z[4], float p[10], Gains *gains, Serial *pc); |
amandaghassaei | 8:1a3a69fecedf | 10 | float thetaDesired(float range, float th1, float th2, float dth1, float dth2); |
amandaghassaei | 8:1a3a69fecedf | 11 | int fix(float val);//round toward zero |
amandaghassaei | 8:1a3a69fecedf | 12 | int signNonZero(float val); |
amandaghassaei | 8:1a3a69fecedf | 13 | |
amandaghassaei | 8:1a3a69fecedf | 14 | |
amandaghassaei | 8:1a3a69fecedf | 15 | |
amandaghassaei | 8:1a3a69fecedf | 16 | |
amandaghassaei | 8:1a3a69fecedf | 17 | |
amandaghassaei | 8:1a3a69fecedf | 18 | #endif |