Guillaume Chauvon
/
Asservissment_robot2_v16_05
l
Diff: math_precalc.h
- Revision:
- 0:38dbe2988e77
- Child:
- 2:3066e614372f
diff -r 000000000000 -r 38dbe2988e77 math_precalc.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/math_precalc.h Wed Apr 17 09:05:21 2019 +0000 @@ -0,0 +1,21 @@ +#ifndef MATH_PRECALC_H +#define MATH_PRECALC_H + + +#define PI 3.1416 + +float cos_precalc(int angle); +float sin_precalc(int angle); + +double racine(long int a); +double pow(long int a, long int b); +double abs(double a, double b); + +double diff_angle(double angle1, double angle2); + + +double borne_angle_d(double angle); +double borne_angle_r(double angle); +int signe(float entier); + +#endif \ No newline at end of file