blob: f041503a82b72cb461053abb3da309591a6009d9 [file] [log] [blame]
Alex Perrycb7da4b2019-08-28 19:35:56 -07001namespace y2016.control_loops.shooter;
2
3// All angles are in radians, and angular velocities are in radians/second.
4// For all angular velocities, positive is shooting the ball out of the robot.
5table Goal {
6 // Angular velocity goals in radians/second.
7 angular_velocity:double;
8
9 clamp_open:bool; // True to release our clamp on the ball.
10 // True to push the ball into the shooter.
11 // If we are in the act of shooting with a goal velocity != 0, wait until it
12 // is up to speed, push the ball into the shooter, and then wait until it
13 // spins up and down before letting the piston be released.
14 push_to_shooter:bool;
15
16 // Forces the lights on.
17 force_lights_on:bool;
18
19 // If true, the robot is shooting forwards.
20 shooting_forwards:bool;
21}
22
23root_type Goal;