James Kuszmaul | 0dedb5e | 2022-03-05 16:02:20 -0800 | [diff] [blame] | 1 | include "y2022/localizer/localizer_status.fbs"; |
| 2 | |
| 3 | namespace frc971.controls; |
| 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 | 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 | |
| 21 | table LocalizerVisualization { |
| 22 | targets:[TargetEstimateDebug] (id: 0); |
| 23 | statistics:CumulativeStatistics (id: 1); |
| 24 | } |
| 25 | |
| 26 | root_type LocalizerVisualization; |