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:
JamieB
Date:
17 months ago
Revision:
85:0cc5931bb9ef
Parent:
79:1910ae03cb2e

File content as of revision 85:0cc5931bb9ef:

#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;
  float x_accel;
  float y_accel;
  float z_accel;
  float x_gyro;
  float y_gyro;
  float z_gyro;
  uint32_t focus;
  uint16_t iris;
  uint16_t zoom;
  int beacons;
  int solutionType;
  int KFStatus;
  uint8_t UsedBeacons[12];
  
  bool UsedBeaconsValid;
  bool LLAPosition;
    static bool interp(position* output, position *pos1, position *pos2);
    static float interpAngle(float value1, float value2, float gradientWeight);

};