blob: 490bc99605338ec2543766c0650c7118a28c8959 [file] [log] [blame]
Niko Sohmers3860f8a2024-01-12 21:05:19 -08001include "frc971/vision/target_map.fbs";
2
3namespace y2024;
4
Maxwell Henderson93f37f22024-01-19 17:08:23 -08005table ShotParams {
6 shot_velocity: double (id: 0);
7 shot_angle: double (id: 1);
8}
9
10table InterpolationTablePoint {
11 distance_from_goal: double (id: 0);
12 shot_params: ShotParams (id: 1);
13}
Niko Sohmers3860f8a2024-01-12 21:05:19 -080014
15table RobotConstants {
16
17}
18
19table Constants {
20 target_map:frc971.vision.TargetMap (id: 0);
21 robot:RobotConstants (id: 1);
Maxwell Henderson93f37f22024-01-19 17:08:23 -080022 shooter_interpolation_table: [InterpolationTablePoint] (id: 2);
Niko Sohmers3860f8a2024-01-12 21:05:19 -080023}
24
25root_type Constants;