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@8:961bb15570a1, 2021-02-16 (annotated)
- Committer:
- AndyA
- Date:
- Tue Feb 16 09:53:54 2021 +0000
- Revision:
- 8:961bb15570a1
- Parent:
- 3:14d241e29be3
- Child:
- 10:053bac3e326b
Added support for status block in VIPS data
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 | 0:97661408d0f9 | 22 | |
AndyA | 0:97661408d0f9 | 23 | static bool interp(position* output, position *pos1, position *pos2); |
AndyA | 0:97661408d0f9 | 24 | static float interpAngle(float value1, float weight1, float value2, float weight2); |
AndyA | 0:97661408d0f9 | 25 | |
AndyA | 0:97661408d0f9 | 26 | }; |
AndyA | 0:97661408d0f9 | 27 |