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@44:fe7fcf62c75d, 2021-08-12 (annotated)
- Committer:
- AndyA
- Date:
- Thu Aug 12 11:30:14 2021 +0000
- Revision:
- 44:fe7fcf62c75d
- Parent:
- 10:053bac3e326b
- Child:
- 79:1910ae03cb2e
Make VIPS format output flexible;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
AndyA | 0:97661408d0f9 | 1 | #pragma once |
AndyA | 0:97661408d0f9 | 2 | #include "mbed.h" |
AndyA | 0:97661408d0f9 | 3 | |
AndyA | 0:97661408d0f9 | 4 | class position { |
AndyA | 0:97661408d0f9 | 5 | public: |
AndyA | 0:97661408d0f9 | 6 | position(); |
AndyA | 0:97661408d0f9 | 7 | |
AndyA | 0:97661408d0f9 | 8 | uint32_t time; |
AndyA | 0:97661408d0f9 | 9 | double X; |
AndyA | 0:97661408d0f9 | 10 | double Y; |
AndyA | 0:97661408d0f9 | 11 | float Height; |
AndyA | 0:97661408d0f9 | 12 | float roll; |
AndyA | 0:97661408d0f9 | 13 | float pitch; |
AndyA | 0:97661408d0f9 | 14 | float yaw; |
AndyA | 2:a79201e302d7 | 15 | int ID; |
AndyA | 3:14d241e29be3 | 16 | uint32_t focus; |
AndyA | 3:14d241e29be3 | 17 | uint16_t iris; |
AndyA | 3:14d241e29be3 | 18 | uint16_t zoom; |
AndyA | 8:961bb15570a1 | 19 | int beacons; |
AndyA | 8:961bb15570a1 | 20 | int solutionType; |
AndyA | 8:961bb15570a1 | 21 | int KFStatus; |
AndyA | 44:fe7fcf62c75d | 22 | uint8_t UsedBeacons[12]; |
AndyA | 44:fe7fcf62c75d | 23 | |
AndyA | 44:fe7fcf62c75d | 24 | bool UsedBeaconsValid; |
AndyA | 44:fe7fcf62c75d | 25 | bool LLAPosition; |
AndyA | 0:97661408d0f9 | 26 | static bool interp(position* output, position *pos1, position *pos2); |
AndyA | 10:053bac3e326b | 27 | static float interpAngle(float value1, float value2, float gradientWeight); |
AndyA | 0:97661408d0f9 | 28 | |
AndyA | 0:97661408d0f9 | 29 | }; |
AndyA | 0:97661408d0f9 | 30 |