Mini Cheetah Actuator Branch Superseded by: https://github.com/bgkatz/motorcontrol

Dependencies:   mbed-dev-f303 FastPWM3

Superseded by: https://github.com/bgkatz/motorcontrol

Revision:
26:2b865c00d7e9
Parent:
22:60276ba87ac6
Child:
37:c0f352d6e8e3
--- a/FOC/foc.h	Sun Apr 09 03:05:52 2017 +0000
+++ b/FOC/foc.h	Mon May 01 15:22:58 2017 +0000
@@ -16,4 +16,5 @@
 void zero_current(int *offset_1, int *offset_2);
 void reset_foc(ControllerStruct *controller);
 void commutate(ControllerStruct *controller, GPIOStruct *gpio, float theta);
+void torque_control(ControllerStruct *controller);
 #endif