blob: 9c9c648d2e1ff715081bef9f0daa2e36111e7dd8 [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);
James Kuszmaul04a343c2023-02-20 16:38:22 -080028}
29
30table Visualization {
31 targets:[TargetEstimateDebug] (id: 0);
32 statistics:CumulativeStatistics (id: 1);
33}
34
35root_type Visualization;