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

position.h

Committer:
AndyA
Date:
2021-01-18
Revision:
2:a79201e302d7
Parent:
0:97661408d0f9
Child:
3:14d241e29be3

File content as of revision 2:a79201e302d7:

#pragma once
#include "mbed.h"

class position {
    public:
    position();

  uint32_t time;
  double X;
  double Y;
  float Height;
  float roll;
  float pitch;
  float yaw;
  int ID;

    static bool interp(position* output, position *pos1, position *pos2);
    static float interpAngle(float value1, float weight1, float value2, float weight2);

};