bio robot

Dependencies:   MPU6050-DMP QEI_hw mbed-rpc mbed

Fork of MPU6050_Example by Shundo Kishi

Controls/Dynamics.h

Committer:
amandaghassaei
Date:
2015-12-09
Revision:
12:49813131dd15
Parent:
10:769cc457c3a4
Child:
13:64d337c5114e

File content as of revision 12:49813131dd15:

#ifndef Dynamics_h
#define Dynamics_h


#include "Kinematics.h"
#include "Gains.h"
#include "Target.h"


float calcTau(volatile float z[4], float p[10], Gains *gains, Target *target, Serial *pc);
float thetaDesired(float range, volatile float z[4]);
float thetaDesiredForTargeting(volatile float z[4]);
int fix(float val);//round toward zero
int signNonZero(float val);





#endif