projects
/
3501
/
2017steamworks
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
implement tank drive and toggle winch
[3501/2017steamworks]
/
src
/
org
/
usfirst
/
frc
/
team3501
/
robot
/
subsystems
/
Climber.java
diff --git
a/src/org/usfirst/frc/team3501/robot/subsystems/Climber.java
b/src/org/usfirst/frc/team3501/robot/subsystems/Climber.java
index 4cb6c0b8c2f4981c8424467a857cd2bb2ec9ae6e..d9268cb8f2705e921549d3f12abd2602dd51ad80 100644
(file)
--- a/
src/org/usfirst/frc/team3501/robot/subsystems/Climber.java
+++ b/
src/org/usfirst/frc/team3501/robot/subsystems/Climber.java
@@
-2,7
+2,6
@@
package org.usfirst.frc.team3501.robot.subsystems;
import org.usfirst.frc.team3501.robot.Constants;
import org.usfirst.frc.team3501.robot.MathLib;
import org.usfirst.frc.team3501.robot.Constants;
import org.usfirst.frc.team3501.robot.MathLib;
-import org.usfirst.frc.team3501.robot.commands.climber.RunWinchContinuous;
import com.ctre.CANTalon;
import com.ctre.CANTalon;
@@
-14,7
+13,8
@@
public class Climber extends Subsystem {
public static final boolean BRAKE_MODE = true;
public static final boolean COAST_MODE = false;
public static final boolean BRAKE_MODE = true;
public static final boolean COAST_MODE = false;
- public static final double CLIMBER_SPEED = 0;
+ public static final double CLIMBER_SPEED = 1.0;
+ public boolean shouldBeClimbing = false;
private CANTalon winch;
private CANTalon winch;
@@
-43,6
+43,5
@@
public class Climber extends Subsystem {
@Override
protected void initDefaultCommand() {
@Override
protected void initDefaultCommand() {
- setDefaultCommand(new RunWinchContinuous());
}
}
}
}