bio robot
Dependencies: MPU6050-DMP QEI_hw mbed-rpc mbed
Fork of MPU6050_Example by
Controls/Dynamics.h@12:49813131dd15, 2015-12-09 (annotated)
- Committer:
- amandaghassaei
- Date:
- Wed Dec 09 03:08:30 2015 +0000
- Revision:
- 12:49813131dd15
- Parent:
- 10:769cc457c3a4
- Child:
- 13:64d337c5114e
simple targeting;
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 | 12:49813131dd15 | 7 | #include "Target.h" |
amandaghassaei | 8:1a3a69fecedf | 8 | |
amandaghassaei | 8:1a3a69fecedf | 9 | |
amandaghassaei | 12:49813131dd15 | 10 | float calcTau(volatile float z[4], float p[10], Gains *gains, Target *target, Serial *pc); |
amandaghassaei | 12:49813131dd15 | 11 | float thetaDesired(float range, volatile float z[4]); |
amandaghassaei | 12:49813131dd15 | 12 | float thetaDesiredForTargeting(volatile float z[4]); |
amandaghassaei | 8:1a3a69fecedf | 13 | int fix(float val);//round toward zero |
amandaghassaei | 8:1a3a69fecedf | 14 | int signNonZero(float val); |
amandaghassaei | 8:1a3a69fecedf | 15 | |
amandaghassaei | 8:1a3a69fecedf | 16 | |
amandaghassaei | 8:1a3a69fecedf | 17 | |
amandaghassaei | 8:1a3a69fecedf | 18 | |
amandaghassaei | 8:1a3a69fecedf | 19 | |
amandaghassaei | 8:1a3a69fecedf | 20 | #endif |