projects
/
3501
/
2017steamworks
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2291f7b
)
Delete shooter method comments
author
shainachen
<shaina.sierra@gmail.com>
Tue, 17 Jan 2017 05:02:31 +0000
(21:02 -0800)
committer
Cindy Zhang
<cindyzyx9@gmail.com>
Wed, 25 Jan 2017 03:40:38 +0000
(19:40 -0800)
src/org/usfirst/frc/team3501/robot/commands/shooter/RunIndexWheel.java
patch
|
blob
|
blame
|
history
src/org/usfirst/frc/team3501/robot/commands/shooter/RunIndexWheelContinuous.java
patch
|
blob
|
blame
|
history
diff --git
a/src/org/usfirst/frc/team3501/robot/commands/shooter/RunIndexWheel.java
b/src/org/usfirst/frc/team3501/robot/commands/shooter/RunIndexWheel.java
index a240d3ec7574ea1cd9e0dbd42a89b940f204d6eb..4c8cd54d102573329a4ee36dc4ca10288249ff20 100644
(file)
--- a/
src/org/usfirst/frc/team3501/robot/commands/shooter/RunIndexWheel.java
+++ b/
src/org/usfirst/frc/team3501/robot/commands/shooter/RunIndexWheel.java
@@
-39,7
+39,6
@@
public class RunIndexWheel extends Command {
protected void initialize() {
timer.start();
Robot.getShooter().setIndexWheelMotorVal(motorVal);
protected void initialize() {
timer.start();
Robot.getShooter().setIndexWheelMotorVal(motorVal);
-
}
// Called repeatedly when this Command is scheduled to run
}
// Called repeatedly when this Command is scheduled to run
@@
-51,7
+50,6
@@
public class RunIndexWheel extends Command {
@Override
protected void end() {
Robot.getShooter().stopIndexWheel();
@Override
protected void end() {
Robot.getShooter().stopIndexWheel();
-
}
// Called when another command which requires one or more of the same
}
// Called when another command which requires one or more of the same
diff --git
a/src/org/usfirst/frc/team3501/robot/commands/shooter/RunIndexWheelContinuous.java
b/src/org/usfirst/frc/team3501/robot/commands/shooter/RunIndexWheelContinuous.java
index d3d49b841a3322514b344e72b401155a1050094b..aba8b3e956d8fd4ad3def135ae7ebe228e4259e1 100644
(file)
--- a/
src/org/usfirst/frc/team3501/robot/commands/shooter/RunIndexWheelContinuous.java
+++ b/
src/org/usfirst/frc/team3501/robot/commands/shooter/RunIndexWheelContinuous.java
@@
-40,7
+40,6
@@
public class RunIndexWheelContinuous extends Command {
// Called once after isFinished returns true
@Override
protected void end() {
// Called once after isFinished returns true
@Override
protected void end() {
- Robot.getShooter().stopIndexWheel();
}
// Called when another command which requires one or more of the same
}
// Called when another command which requires one or more of the same
@@
-52,8
+51,7
@@
public class RunIndexWheelContinuous extends Command {
@Override
protected boolean isFinished() {
@Override
protected boolean isFinished() {
- // TODO
- return Robot.getOI().toggleIndexWheel.get();
+ return false;
}
}
}
}