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 Apr 05 20:54:16 2017 +0000
Revision:
23:2adf23ee0305
Child:
26:2b865c00d7e9
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