projects
/
3501
/
2017steamworks
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Delete code in autonomousInit
[3501/2017steamworks]
/
src
/
org
/
usfirst
/
frc
/
team3501
/
robot
/
Robot.java
diff --git
a/src/org/usfirst/frc/team3501/robot/Robot.java
b/src/org/usfirst/frc/team3501/robot/Robot.java
index db5e469ff3be6a031e0efbfc571c6a9a13727cfd..fe515f2af33bd6e9e03a913a68f82bf0d3cf7cc7 100644
(file)
--- a/
src/org/usfirst/frc/team3501/robot/Robot.java
+++ b/
src/org/usfirst/frc/team3501/robot/Robot.java
@@
-1,6
+1,5
@@
package org.usfirst.frc.team3501.robot;
package org.usfirst.frc.team3501.robot;
-import org.usfirst.frc.team3501.robot.commands.driving.DriveDistance;
import org.usfirst.frc.team3501.robot.subsystems.DriveTrain;
import org.usfirst.frc.team3501.robot.subsystems.Intake;
import org.usfirst.frc.team3501.robot.subsystems.Shooter;
import org.usfirst.frc.team3501.robot.subsystems.DriveTrain;
import org.usfirst.frc.team3501.robot.subsystems.Intake;
import org.usfirst.frc.team3501.robot.subsystems.Shooter;
@@
-42,11
+41,7
@@
public class Robot extends IterativeRobot {
// both set to high gear
@Override
public void autonomousInit() {
// both set to high gear
@Override
public void autonomousInit() {
- Scheduler.getInstance().add(new DriveDistance(25, 10));
- if (driveTrain.getLeftGearPistonValue() != driveTrain
- .getRightGearPistonValue()) {
- driveTrain.setHighGear();
- }
+ driveTrain.setHighGear();
}
@Override
}
@Override