Bayley Wang
/
foc-ed_in_the_bot_compact
robot
Diff: MathHelpers/MathHelpers.h
- Revision:
- 19:a6cf15f89f3d
- Child:
- 38:07cb4ae6c1bd
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/MathHelpers/MathHelpers.h Wed Nov 02 12:52:00 2016 +0000 @@ -0,0 +1,9 @@ +#ifndef __MATH_HELPERS_H +#define __MATH_HELPERS_H + +float constrain(float in, float min, float max); +float map(float x, float in_min, float in_max, float out_min, float out_max); +float fminf(float, float); +float fmaxf(float, float); + +#endif \ No newline at end of file