Bayley Wang
/
foc-ed_in_the_bot_compact
robot
MathHelpers/MathHelpers.h
- Committer:
- bwang
- Date:
- 2016-11-29
- Revision:
- 38:07cb4ae6c1bd
- Parent:
- 19:a6cf15f89f3d
- Child:
- 39:80b38a8e1787
File content as of revision 38:07cb4ae6c1bd:
#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); float acbrt(float x); float aatan(float d, float q); #define M_PI 3.14159f #endif