projects
/
3501
/
2017steamworks
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9dc6915
)
fix bugs
author
Cindy Zhang
<cindyzyx9@gmail.com>
Fri, 10 Feb 2017 03:51:44 +0000
(19:51 -0800)
committer
Cindy Zhang
<cindyzyx9@gmail.com>
Fri, 10 Feb 2017 03:51:44 +0000
(19:51 -0800)
src/org/usfirst/frc/team3501/robot/Constants.java
patch
|
blob
|
blame
|
history
src/org/usfirst/frc/team3501/robot/commands/climber/ToggleWinch.java
patch
|
blob
|
blame
|
history
src/org/usfirst/frc/team3501/robot/subsystems/DriveTrain.java
patch
|
blob
|
blame
|
history
diff --git
a/src/org/usfirst/frc/team3501/robot/Constants.java
b/src/org/usfirst/frc/team3501/robot/Constants.java
index 3567e2f7588937413b548f7b882c7c8563d7dc72..671de15e85b6e9d86dcc2f89872b5ec617b548fb 100644
(file)
--- a/
src/org/usfirst/frc/team3501/robot/Constants.java
+++ b/
src/org/usfirst/frc/team3501/robot/Constants.java
@@
-58,15
+58,11
@@
public class Constants {
public static final int ENCODER_RIGHT_B = 3;
public static final SPI.Port GYRO_PORT = SPI.Port.kOnboardCS0;
-
- public final static int TRIGGER_DRIVE_PORT = 0;
}
public static class Intake {
public static final int INTAKE_ROLLER_PORT = 0;
- public final static int HOLD_INTAKE_PORT = 0;
-
}
public static enum Direction {
diff --git
a/src/org/usfirst/frc/team3501/robot/commands/climber/ToggleWinch.java
b/src/org/usfirst/frc/team3501/robot/commands/climber/ToggleWinch.java
index 3e60406cc66e332167c465d59dae56d08311b13f..66c8364b1a37e78bcf993b5d4414e29d172322a7 100644
(file)
--- a/
src/org/usfirst/frc/team3501/robot/commands/climber/ToggleWinch.java
+++ b/
src/org/usfirst/frc/team3501/robot/commands/climber/ToggleWinch.java
@@
-34,7
+34,7
@@
public class ToggleWinch extends Command {
@Override
protected boolean isFinished() {
- return
false
;
+ return
Robot.getOI().toggleWinch.get()
;
}
@Override
diff --git
a/src/org/usfirst/frc/team3501/robot/subsystems/DriveTrain.java
b/src/org/usfirst/frc/team3501/robot/subsystems/DriveTrain.java
index b0113e8ed66312fc74931f0b79c101b56f08c4f8..1ffb14de3fba35fe495b2f2650ea173214184737 100644
(file)
--- a/
src/org/usfirst/frc/team3501/robot/subsystems/DriveTrain.java
+++ b/
src/org/usfirst/frc/team3501/robot/subsystems/DriveTrain.java
@@
-35,7
+35,7
@@
public class DriveTrain extends Subsystem {
private ADXRS450_Gyro imu;
- public boolean shouldBeClimbing;
+ public boolean shouldBeClimbing
= false
;
private DriveTrain() {
// MOTOR CONTROLLERS