Niko Sohmers | 3860f8a | 2024-01-12 21:05:19 -0800 | [diff] [blame] | 1 | include "frc971/vision/target_map.fbs"; |
| 2 | |
| 3 | namespace y2024; |
| 4 | |
Maxwell Henderson | 93f37f2 | 2024-01-19 17:08:23 -0800 | [diff] [blame^] | 5 | table ShotParams { |
| 6 | shot_velocity: double (id: 0); |
| 7 | shot_angle: double (id: 1); |
| 8 | } |
| 9 | |
| 10 | table InterpolationTablePoint { |
| 11 | distance_from_goal: double (id: 0); |
| 12 | shot_params: ShotParams (id: 1); |
| 13 | } |
Niko Sohmers | 3860f8a | 2024-01-12 21:05:19 -0800 | [diff] [blame] | 14 | |
| 15 | table RobotConstants { |
| 16 | |
| 17 | } |
| 18 | |
| 19 | table Constants { |
| 20 | target_map:frc971.vision.TargetMap (id: 0); |
| 21 | robot:RobotConstants (id: 1); |
Maxwell Henderson | 93f37f2 | 2024-01-19 17:08:23 -0800 | [diff] [blame^] | 22 | shooter_interpolation_table: [InterpolationTablePoint] (id: 2); |
Niko Sohmers | 3860f8a | 2024-01-12 21:05:19 -0800 | [diff] [blame] | 23 | } |
| 24 | |
| 25 | root_type Constants; |