blob: 8fa03f0f13876bf664e987e8622ed872c8751711 [file] [log] [blame]
James Kuszmaul04a343c2023-02-20 16:38:22 -08001include "y2023/localizer/status.fbs";
2
3namespace y2023.localizer;
4
5table 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 Kuszmaule600d172023-03-12 10:19:44 -070018 // 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-u5e055a02023-03-12 14:20:06 -070028 // The angle between the camera axis and target normal.
29 skew:double (id: 15);
James Kuszmaul04a343c2023-02-20 16:38:22 -080030}
31
32table Visualization {
33 targets:[TargetEstimateDebug] (id: 0);
34 statistics:CumulativeStatistics (id: 1);
35}
36
37root_type Visualization;