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:
- 21 months ago
- Revision:
- 79:1910ae03cb2e
- Parent:
- 44:fe7fcf62c75d
File content as of revision 79:1910ae03cb2e:
#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); };