Bayley Wang / Mbed 2 deprecated foc-ed_in_the_bot_compact

Dependencies:   FastPWM3 mbed

Committer:
bwang
Date:
Fri Feb 09 03:49:31 2018 +0000
Revision:
181:d3510c8beab6
Parent:
64:b4175385d718
02/08/2018 22:48 - integrated CommandProcessor and PreferenceWriter (but code does not use dynamic config variables or set error flags yet)

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 64:b4175385d718 5 float constrain_norm(float *x, float *y, float coeffx, float coeffy, float max);
bwang 19:a6cf15f89f3d 6 float map(float x, float in_min, float in_max, float out_min, float out_max);
bwang 19:a6cf15f89f3d 7 float fminf(float, float);
bwang 19:a6cf15f89f3d 8 float fmaxf(float, float);
bwang 181:d3510c8beab6 9 float update_filter(float old, float x, float str);
bwang 19:a6cf15f89f3d 10
bwang 38:07cb4ae6c1bd 11 float acbrt(float x);
bwang 39:80b38a8e1787 12 float aatan2(float q, float d);
bwang 38:07cb4ae6c1bd 13
bwang 38:07cb4ae6c1bd 14 #define M_PI 3.14159f
bwang 38:07cb4ae6c1bd 15
bwang 19:a6cf15f89f3d 16 #endif