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@79:1910ae03cb2e, 22 months ago (annotated)
- Committer:
- JamieB
- Date:
- Thu Dec 15 05:53:28 2022 +0000
- Revision:
- 79:1910ae03cb2e
- Parent:
- 44:fe7fcf62c75d
Working State RAW IMU output in message
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; |
JamieB | 79:1910ae03cb2e | 16 | float x_accel; |
JamieB | 79:1910ae03cb2e | 17 | float y_accel; |
JamieB | 79:1910ae03cb2e | 18 | float z_accel; |
JamieB | 79:1910ae03cb2e | 19 | float x_gyro; |
JamieB | 79:1910ae03cb2e | 20 | float y_gyro; |
JamieB | 79:1910ae03cb2e | 21 | float z_gyro; |
AndyA | 3:14d241e29be3 | 22 | uint32_t focus; |
AndyA | 3:14d241e29be3 | 23 | uint16_t iris; |
AndyA | 3:14d241e29be3 | 24 | uint16_t zoom; |
AndyA | 8:961bb15570a1 | 25 | int beacons; |
AndyA | 8:961bb15570a1 | 26 | int solutionType; |
AndyA | 8:961bb15570a1 | 27 | int KFStatus; |
AndyA | 44:fe7fcf62c75d | 28 | uint8_t UsedBeacons[12]; |
AndyA | 44:fe7fcf62c75d | 29 | |
AndyA | 44:fe7fcf62c75d | 30 | bool UsedBeaconsValid; |
AndyA | 44:fe7fcf62c75d | 31 | bool LLAPosition; |
AndyA | 0:97661408d0f9 | 32 | static bool interp(position* output, position *pos1, position *pos2); |
AndyA | 10:053bac3e326b | 33 | static float interpAngle(float value1, float value2, float gradientWeight); |
AndyA | 0:97661408d0f9 | 34 | |
AndyA | 0:97661408d0f9 | 35 | }; |
AndyA | 0:97661408d0f9 | 36 |