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-02-16
Revision:
8:961bb15570a1
Parent:
3:14d241e29be3
Child:
10:053bac3e326b

File content as of revision 8:961bb15570a1:

#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;
  uint32_t focus;
  uint16_t iris;
  uint16_t zoom;
  int beacons;
  int solutionType;
  int KFStatus;

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

};