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

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers position.h Source File

position.h

00001 #pragma once
00002 #include "mbed.h"
00003 
00004 class position {
00005     public:
00006     position();
00007 
00008   uint32_t time;
00009   double X;
00010   double Y;
00011   float Height;
00012   float roll;
00013   float pitch;
00014   float yaw;
00015   int ID;
00016   float x_accel;
00017   float y_accel;
00018   float z_accel;
00019   float x_gyro;
00020   float y_gyro;
00021   float z_gyro;
00022   uint32_t focus;
00023   uint16_t iris;
00024   uint16_t zoom;
00025   int beacons;
00026   int solutionType;
00027   int KFStatus;
00028   uint8_t UsedBeacons[12];
00029   
00030   bool UsedBeaconsValid;
00031   bool LLAPosition;
00032     static bool interp(position* output, position *pos1, position *pos2);
00033     static float interpAngle(float value1, float value2, float gradientWeight);
00034 
00035 };
00036