projects
/
3501
/
2017steamworks
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
move setmotorvalues to execute and set wheels to constant speeds
[3501/2017steamworks]
/
src
/
org
/
usfirst
/
frc
/
team3501
/
robot
/
commands
/
shooter
/
RunIndexWheelContinuous.java
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 1bf1c6f0c4941cba314eeff63030e066f345e557..bf9af68ad85b3c0617672edba540c37aeb7d2989 100644
(file)
--- a/
src/org/usfirst/frc/team3501/robot/commands/shooter/RunIndexWheelContinuous.java
+++ b/
src/org/usfirst/frc/team3501/robot/commands/shooter/RunIndexWheelContinuous.java
@@
-27,18
+27,18
@@
public class RunIndexWheelContinuous extends Command {
* value range from -1 to 1
*/
public RunIndexWheelContinuous() {
* value range from -1 to 1
*/
public RunIndexWheelContinuous() {
-
+ requires(shooter);
}
// Called just before this Command runs the first time
@Override
protected void initialize() {
}
// Called just before this Command runs the first time
@Override
protected void initialize() {
- shooter.setIndexWheelMotorVal(shooter.CURRENT_SHOOTING_SPEED);
}
// Called repeatedly when this Command is scheduled to run
@Override
protected void execute() {
}
// Called repeatedly when this Command is scheduled to run
@Override
protected void execute() {
+ shooter.setIndexWheelMotorVal(shooter.DEFAULT_INDEXING_SPEED);
}
// Called once after isFinished returns true
}
// Called once after isFinished returns true