![](/media/cache/group/Racelogic_Blue_Logo.jpg.50x50_q85.jpg)
I messed up the merge, so pushing it over to another repo so I don't lose it. Will tidy up and remove later
Dependencies: BufferedSerial FatFileSystemCpp mbed
Diff: position.h
- Revision:
- 0:97661408d0f9
- Child:
- 2:a79201e302d7
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/position.h Fri Jan 15 11:49:01 2021 +0000 @@ -0,0 +1,20 @@ +#pragma once +#include "mbed.h" + +class position { + public: + position(); + + uint32_t time; + double X; + double Y; + float Height; + float roll; + float pitch; + float yaw; + + static bool interp(position* output, position *pos1, position *pos2); + static float interpAngle(float value1, float weight1, float value2, float weight2); + +}; +