Fork and fix for mwork
Dependencies: mbed-dev-f303 FastPWM3 millis
FastMath/FastMath.h@59:568e7be5232f, 2020-06-29 (annotated)
- Committer:
- annhandt09
- Date:
- Mon Jun 29 09:36:26 2020 +0000
- Revision:
- 59:568e7be5232f
- Parent:
- 0:4e1c4df6aabd
add controller.p_des = controller.theta_mech - (controller.t_ff / controller.kp) ; for first enable.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
benkatz | 0:4e1c4df6aabd | 1 | #ifndef __FASTMATH_H |
benkatz | 0:4e1c4df6aabd | 2 | #define __FASTMATH_H |
benkatz | 0:4e1c4df6aabd | 3 | |
benkatz | 0:4e1c4df6aabd | 4 | #include "LUT.h" |
benkatz | 0:4e1c4df6aabd | 5 | |
benkatz | 0:4e1c4df6aabd | 6 | namespace FastMath{ |
benkatz | 0:4e1c4df6aabd | 7 | float FastSin(float theta); |
benkatz | 0:4e1c4df6aabd | 8 | float FastCos(float theta); |
benkatz | 0:4e1c4df6aabd | 9 | }; |
benkatz | 0:4e1c4df6aabd | 10 | |
benkatz | 0:4e1c4df6aabd | 11 | #endif |