Jared DiCarlo
/
george
motor controller
foc.h@7:ed19a937daa0, 2016-11-06 (annotated)
- Committer:
- dicarloj
- Date:
- Sun Nov 06 03:09:28 2016 +0000
- Revision:
- 7:ed19a937daa0
- Parent:
- 3:08746709f023
works at 200V
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 | 3:08746709f023 | 4 | #include "pwm_in.h" |
dicarloj | 0:f899a5183b5e | 5 | |
dicarloj | 1:2acd7dfc4b1b | 6 | float fmaxf(float a, float b); |
dicarloj | 1:2acd7dfc4b1b | 7 | float fminf(float a, float b); |
dicarloj | 2:7312ac02785d | 8 | void init_control(); |
dicarloj | 3:08746709f023 | 9 | void motor_control(PWM_IN* p_in); |
dicarloj | 3:08746709f023 | 10 | void foc(float ia, float ib, PWM_IN* p_in); |
dicarloj | 2:7312ac02785d | 11 | void zero_current(); |
dicarloj | 2:7312ac02785d | 12 | float get_debug(int num); |
dicarloj | 2:7312ac02785d | 13 | |
dicarloj | 0:f899a5183b5e | 14 | #endif |