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

math_ops.h

Committer:
benkatz
Date:
2 weeks ago
Revision:
23:2adf23ee0305

File content as of revision 23:2adf23ee0305:

#ifndef MATH_OPS_H
#define MATH_OPS_H

#define PI 3.14159265359f

#include "math.h"

float fmaxf(float x, float y);
float fminf(float x, float y);
float fmaxf3(float x, float y, float z);
float fminf3(float x, float y, float z);
void limit_norm(float *x, float *y, float limit);

#endif