Jared DiCarlo
/
george
motor controller
foc.h@2:7312ac02785d, 2016-10-30 (annotated)
- Committer:
- dicarloj
- Date:
- Sun Oct 30 19:37:46 2016 +0000
- Revision:
- 2:7312ac02785d
- Parent:
- 1:2acd7dfc4b1b
- Child:
- 3:08746709f023
working, no safety
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
dicarloj | 0:f899a5183b5e | 1 | #ifndef _foc |
dicarloj | 0:f899a5183b5e | 2 | #define _foc |
dicarloj | 0:f899a5183b5e | 3 | #include "config.h" |
dicarloj | 0:f899a5183b5e | 4 | |
dicarloj | 1:2acd7dfc4b1b | 5 | float fmaxf(float a, float b); |
dicarloj | 1:2acd7dfc4b1b | 6 | float fminf(float a, float b); |
dicarloj | 2:7312ac02785d | 7 | void init_control(); |
dicarloj | 2:7312ac02785d | 8 | void motor_control(); |
dicarloj | 2:7312ac02785d | 9 | void foc(float ia, float ib); |
dicarloj | 2:7312ac02785d | 10 | void zero_current(); |
dicarloj | 2:7312ac02785d | 11 | float get_debug(int num); |
dicarloj | 2:7312ac02785d | 12 | |
dicarloj | 0:f899a5183b5e | 13 | #endif |