protocol detected after 2 fixes
[u360gts.git] / src / main / tracker / math.h
blobe7e5f8c3c3eb9c78c051972ce221b5bec90e0ec3
1 #ifndef MATH_H
2 #define MATH_H
4 #include <stdint.h> //#include "inttypes.h"
6 #include "defines.h"
7 //#include "Arduino.h"
9 void calcTargetDistanceAndHeading(positionVector_t *tracker, positionVector_t *target);
10 void setHome(positionVector_t *tracker, positionVector_t *target);
12 //Easing functions
13 float easeTilt(float t, float b, float c, float d);
14 float easeOutQuart(float t, float b, float c, float d);
15 float easeOutCirc(float t, float b, float c, float d);
16 float easeOutExpo(float t, float b, float c, float d);
17 float easeOutCubic(float t, float b, float c, float d);
18 #endif