Ben Katz / Hobbyking_Cheetah_Compact

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

Dependencies:   CANnucleo FastPWM3 mbed

Fork of Hobbyking_Cheetah_V1 by Ben Katz

Wed Apr 05 20:54:16 2017 +0000
Added bayley's flash writer

Who changed what in which revision?

UserRevisionLine numberNew contents of line
benkatz20:bf9ea5125d52 1#ifndef MATH_OPS_H
benkatz20:bf9ea5125d52 2#define MATH_OPS_H
benkatz20:bf9ea5125d52 3
benkatz20:bf9ea5125d52 4#define PI 3.14159265359f
benkatz20:bf9ea5125d52 5
benkatz20:bf9ea5125d52 6#include "math.h"
benkatz20:bf9ea5125d52 7
benkatz20:bf9ea5125d52 8float fmaxf(float x, float y);
benkatz20:bf9ea5125d52 9float fminf(float x, float y);
benkatz20:bf9ea5125d52 10float fmaxf3(float x, float y, float z);
benkatz20:bf9ea5125d52 11float fminf3(float x, float y, float z);
benkatz20:bf9ea5125d52 12void limit_norm(float *x, float *y, float limit);
benkatz20:bf9ea5125d52 13
benkatz20:bf9ea5125d52 14#endif