KentridgeRobotics / 2021Robot

Other
0 stars 7 forks source link

Add method to adjust shooter hood angle based on distance #4

Closed cpdupuis closed 3 years ago

cpdupuis commented 3 years ago

In order to hit the target from a given distance, we need to change the angle of the shooter hood so the ball is thrown at the right angle. This angle will be based on how far from the target the robot is standing.

Add a method to ShooterHoodSubsystem that takes a distance to the target, and adjusts the hood angle based on that.