From ad877a7e56c5f471d2518c984a5e965c60b58a79 Mon Sep 17 00:00:00 2001 From: Shivani Ghanta Date: Sat, 21 Jan 2017 11:06:50 -0800 Subject: [PATCH] Add constructer comments --- .../frc/team3501/robot/commands/climber/RunWinch.java | 6 ++++++ .../team3501/robot/commands/climber/RunWinchContinuous.java | 4 ++++ .../frc/team3501/robot/commands/climber/StopWinch.java | 4 +++- 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/src/org/usfirst/frc/team3501/robot/commands/climber/RunWinch.java b/src/org/usfirst/frc/team3501/robot/commands/climber/RunWinch.java index eda932a..5acd6d1 100644 --- a/src/org/usfirst/frc/team3501/robot/commands/climber/RunWinch.java +++ b/src/org/usfirst/frc/team3501/robot/commands/climber/RunWinch.java @@ -21,11 +21,17 @@ import edu.wpi.first.wpilibj.command.Command; * @author shivanighanta * */ + public class RunWinch extends Command { Timer timer; private double time; private double motorVal; + /** + * + * @author shivanighanta + * + */ public RunWinch(double time, double motorVal) { requires(Robot.getClimber()); this.time = time; diff --git a/src/org/usfirst/frc/team3501/robot/commands/climber/RunWinchContinuous.java b/src/org/usfirst/frc/team3501/robot/commands/climber/RunWinchContinuous.java index eef3967..f99af49 100644 --- a/src/org/usfirst/frc/team3501/robot/commands/climber/RunWinchContinuous.java +++ b/src/org/usfirst/frc/team3501/robot/commands/climber/RunWinchContinuous.java @@ -22,6 +22,10 @@ import edu.wpi.first.wpilibj.command.Command; public class RunWinchContinuous extends Command { private double motorVal; + /** + * + * @param motorVal + */ public RunWinchContinuous(double motorVal) { requires(Robot.getClimber()); this.motorVal = motorVal; diff --git a/src/org/usfirst/frc/team3501/robot/commands/climber/StopWinch.java b/src/org/usfirst/frc/team3501/robot/commands/climber/StopWinch.java index 892d2dd..a119c91 100644 --- a/src/org/usfirst/frc/team3501/robot/commands/climber/StopWinch.java +++ b/src/org/usfirst/frc/team3501/robot/commands/climber/StopWinch.java @@ -13,7 +13,9 @@ import edu.wpi.first.wpilibj.command.Command; * */ public class StopWinch extends Command { - + /** + * + */ public StopWinch() { requires(Robot.getClimber()); -- 2.30.2