James Kuszmaul | 04a343c | 2023-02-20 16:38:22 -0800 | [diff] [blame] | 1 | include "y2023/localizer/status.fbs"; |
| 2 | |
| 3 | namespace y2023.localizer; |
| 4 | |
| 5 | table TargetEstimateDebug { |
| 6 | camera:uint8 (id: 0); |
| 7 | camera_x:double (id: 1); |
| 8 | camera_y:double (id: 2); |
| 9 | camera_theta:double (id: 3); |
| 10 | implied_robot_x:double (id: 4); |
| 11 | implied_robot_y:double (id: 5); |
| 12 | implied_robot_theta:double (id: 6); |
| 13 | accepted:bool (id: 7); |
| 14 | rejection_reason:RejectionReason (id: 8); |
| 15 | // Image age (more human-readable than trying to interpret raw nanosecond |
| 16 | // values). |
| 17 | image_age_sec:double (id: 9); |
James Kuszmaul | e600d17 | 2023-03-12 10:19:44 -0700 | [diff] [blame] | 18 | // Time at which the image was captured. |
| 19 | image_monotonic_timestamp_ns:uint64 (id: 10); |
| 20 | // April tag ID used for this image detection. |
| 21 | april_tag:uint (id: 11); |
| 22 | // If the image was accepted, the total correction that occurred as a result. |
| 23 | // These numbers will be equal to the value after the correction - the value |
| 24 | // before. |
| 25 | correction_x: double (id: 12); |
| 26 | correction_y: double (id: 13); |
| 27 | correction_theta: double (id: 14); |
milind-u | 5e055a0 | 2023-03-12 14:20:06 -0700 | [diff] [blame^] | 28 | // The angle between the camera axis and target normal. |
| 29 | skew:double (id: 15); |
James Kuszmaul | 04a343c | 2023-02-20 16:38:22 -0800 | [diff] [blame] | 30 | } |
| 31 | |
| 32 | table Visualization { |
| 33 | targets:[TargetEstimateDebug] (id: 0); |
| 34 | statistics:CumulativeStatistics (id: 1); |
| 35 | } |
| 36 | |
| 37 | root_type Visualization; |