projects
/
3501
/
stronghold-2016
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
da6933e
)
Remove useless variables and commented stuff in Robot.java
author
EvanYap
<evanyap.14@gmail.com>
Sat, 13 Feb 2016 05:10:20 +0000
(21:10 -0800)
committer
EvanYap
<evanyap.14@gmail.com>
Sat, 13 Feb 2016 05:20:05 +0000
(21:20 -0800)
src/org/usfirst/frc/team3501/robot/Robot.java
patch
|
blob
|
blame
|
history
diff --git
a/src/org/usfirst/frc/team3501/robot/Robot.java
b/src/org/usfirst/frc/team3501/robot/Robot.java
index b1b58641678723e1ca0b701edc1e867a7ef3b476..9b94e18ef2b16e9dba591cd905209b0d899b70aa 100644
(file)
--- a/
src/org/usfirst/frc/team3501/robot/Robot.java
+++ b/
src/org/usfirst/frc/team3501/robot/Robot.java
@@
-1,7
+1,6
@@
package org.usfirst.frc.team3501.robot;
import org.usfirst.frc.team3501.robot.Constants.Defense;
package org.usfirst.frc.team3501.robot;
import org.usfirst.frc.team3501.robot.Constants.Defense;
-import org.usfirst.frc.team3501.robot.GyroLib.Rotation;
import org.usfirst.frc.team3501.robot.subsystems.DefenseArm;
import org.usfirst.frc.team3501.robot.subsystems.DriveTrain;
import org.usfirst.frc.team3501.robot.subsystems.IntakeArm;
import org.usfirst.frc.team3501.robot.subsystems.DefenseArm;
import org.usfirst.frc.team3501.robot.subsystems.DriveTrain;
import org.usfirst.frc.team3501.robot.subsystems.IntakeArm;
@@
-20,7
+19,6
@@
public class Robot extends IterativeRobot {
public static Shooter shooter;
public static Scaler scaler;
public static Shooter shooter;
public static Scaler scaler;
- double then;
public static IntakeArm intakeArm;
public static DefenseArm defenseArm;
public static IntakeArm intakeArm;
public static DefenseArm defenseArm;
@@
-31,35
+29,16
@@
public class Robot extends IterativeRobot {
positionFourDefense, positionFiveDefense;
// Gyro stuff
positionFourDefense, positionFiveDefense;
// Gyro stuff
- short rawValue;
public GyroLib gyro;
public GyroLib gyro;
- double now;
- double degreesIncreased;
- double degrees;
-
- Rotation rotation;
-
@Override
public void robotInit() {
@Override
public void robotInit() {
- // driveTrain = new DriveTrain();
gyro = new GyroLib(I2C.Port.kOnboard, false);
gyro = new GyroLib(I2C.Port.kOnboard, false);
- // oi = new OI();
shooter = new Shooter();
scaler = new Scaler();
intakeArm = new IntakeArm();
shooter = new Shooter();
scaler = new Scaler();
intakeArm = new IntakeArm();
- // Sendable Choosers allows the driver to select the position of the
- // robot
- // and the positions of the defenses from a drop-down menu on the Smart
- // Dashboard
- // make the Sendable Choosers
- // initializeSendableChoosers();
- // addPositionChooserOptions();
- // addDefensesToAllDefenseSendableChooosers();
- // sendSendableChoosersToSmartDashboard();
-
}
private void initializeSendableChoosers() {
}
private void initializeSendableChoosers() {