From 29697d89931827a9f5cbdb50c6bee3513ef4ebba Mon Sep 17 00:00:00 2001 From: Kevin Zhang Date: Wed, 17 Feb 2016 10:37:21 -0800 Subject: [PATCH] Add comment explain get Shooter Speed() --- src/org/usfirst/frc/team3501/robot/subsystems/Shooter.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/org/usfirst/frc/team3501/robot/subsystems/Shooter.java b/src/org/usfirst/frc/team3501/robot/subsystems/Shooter.java index d91b2341..a9e8d6e8 100755 --- a/src/org/usfirst/frc/team3501/robot/subsystems/Shooter.java +++ b/src/org/usfirst/frc/team3501/robot/subsystems/Shooter.java @@ -65,6 +65,11 @@ public class Shooter extends Subsystem { return encoder.getRate(); } + /* + * We are going to map a lidar distance to a shooter speed that will be set to + * the shooter. This function does not yet exist so we will just use y=x but + * when testing commences we shall create the function + */ public double getShooterSpeed() { double distanceToGoal = lidar.getDistance(); double shooterSpeed = distanceToGoal; // Function to be determined -- 2.30.2