Jared DiCarlo
/
george
motor controller
Diff: foc.h
- Revision:
- 1:2acd7dfc4b1b
- Parent:
- 0:f899a5183b5e
- Child:
- 2:7312ac02785d
--- a/foc.h Mon Oct 03 04:56:06 2016 +0000 +++ b/foc.h Mon Oct 03 05:57:20 2016 +0000 @@ -14,7 +14,8 @@ extern Inverter *inverter; extern sensorData *sensors; - +float fmaxf(float a, float b); +float fminf(float a, float b); void initControl(); void sampleCurrent(); void doFOC(float current_time);