robot

Dependencies:   FastPWM3 mbed

Committer:
bwang
Date:
Sat Dec 03 17:49:02 2016 +0000
Revision:
39:80b38a8e1787
Parent:
38:07cb4ae6c1bd
Child:
64:b4175385d718
lastest updates; loads of stubs for broken FW and optimization functions

Who changed what in which revision?

UserRevisionLine numberNew contents of line
bwang 19:a6cf15f89f3d 1 #ifndef __MATH_HELPERS_H
bwang 19:a6cf15f89f3d 2 #define __MATH_HELPERS_H
bwang 19:a6cf15f89f3d 3
bwang 19:a6cf15f89f3d 4 float constrain(float in, float min, float max);
bwang 19:a6cf15f89f3d 5 float map(float x, float in_min, float in_max, float out_min, float out_max);
bwang 19:a6cf15f89f3d 6 float fminf(float, float);
bwang 19:a6cf15f89f3d 7 float fmaxf(float, float);
bwang 19:a6cf15f89f3d 8
bwang 38:07cb4ae6c1bd 9 float acbrt(float x);
bwang 39:80b38a8e1787 10 float aatan2(float q, float d);
bwang 38:07cb4ae6c1bd 11
bwang 38:07cb4ae6c1bd 12 #define M_PI 3.14159f
bwang 38:07cb4ae6c1bd 13
bwang 19:a6cf15f89f3d 14 #endif