Ben Katz / Hobbyking_Cheetah_Compact

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

Dependencies:   FastPWM3 mbed

Fork of Hobbyking_Cheetah_V1 by Ben Katz

loops.h

Committer:
benkatz
Date:
3 months ago
Revision:
26:2b865c00d7e9
Parent:
22:60276ba87ac6

File content as of revision 26:2b865c00d7e9:

#ifndef LOOPS_H
#define LOOPS_H

#include "structs.h"
#include "PositionSensor.h"


void pd1(float p_des, float v_des, float kp, float kd);
void pd2(float p_des, float kp, float kd);
void torque(float t);

#endif