blob: 6cca9e831a790ddb144f7102b0f28ff5249af620 [file] [log] [blame]
James Kuszmaul0dedb5e2022-03-05 16:02:20 -08001include "y2022/localizer/localizer_status.fbs";
2
3namespace frc971.controls;
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 implied_turret_goal:double (id: 7);
14 accepted:bool (id: 8);
15 rejection_reason:RejectionReason (id: 9);
16 // Image age (more human-readable than trying to interpret raw nanosecond
17 // values).
18 image_age_sec:double (id: 10);
19}
20
21table LocalizerVisualization {
22 targets:[TargetEstimateDebug] (id: 0);
23 statistics:CumulativeStatistics (id: 1);
24}
25
26root_type LocalizerVisualization;