Motor control for robots. More compact, less object-oriented revision.

Dependencies:   FastPWM3 mbed-dev

Fork of Hobbyking_Cheetah_V1 by Ben Katz

Committer:
benkatz
Date:
Wed Aug 30 18:10:27 2017 +0000
Revision:
33:3ab3cce8b44d
Parent:
22:60276ba87ac6
Added firmware version number to debug stream.  Fixed duty cycle mistake

Who changed what in which revision?

UserRevisionLine numberNew contents of line
benkatz22:60276ba87ac6 1#include "loops.h"
benkatz24:58c2d7571207 2#include "foc.h"
benkatz24:58c2d7571207 3
benkatz24:58c2d7571207 4void pd1(float p_des, float v_des, float kp, float kd){
benkatz24:58c2d7571207 5
benkatz24:58c2d7571207 6 }
benkatz24:58c2d7571207 7void pd2(float p_des, float kp, float kd);
benkatz24:58c2d7571207 8
benkatz24:58c2d7571207 9void torque(float t){
benkatz24:58c2d7571207 10 }