Skip to content
This repository was archived by the owner on Sep 14, 2019. It is now read-only.

Commit 7c755d9

Browse files
committed
Merge branch 'master' of
https://github.com/DeepBlueRobotics/RobotCode2018.git Conflicts: Robot2018/src/org/usfirst/frc/team199/Robot2018/RobotMap.java Robot2018/src/org/usfirst/frc/team199/Robot2018/autonomous/VelocityPIDController.java hopefully this resolves the conflicts w/ Kate's merge :/
2 parents 6f55998 + 089009a commit 7c755d9

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

Robot2018/src/org/usfirst/frc/team199/Robot2018/RobotMap.java

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,11 @@
3232
* floating around.
3333
*/
3434
public class RobotMap {
35+
36+
public static WPI_TalonSRX intakeMotor;
37+
public static WPI_TalonSRX liftMotor;
38+
public static WPI_TalonSRX climberMotor;
39+
3540
public static DigitalSource leftEncPort1;
3641
public static DigitalSource leftEncPort2;
3742
public static Encoder leftEncDist;
@@ -89,6 +94,13 @@ private void configSPX(WPI_VictorSPX mc) {
8994

9095
public RobotMap() {
9196

97+
intakeMotor = new WPI_TalonSRX(getPort("IntakeTalonSRX", 4));
98+
configSRX(intakeMotor);
99+
liftMotor = new WPI_TalonSRX(getPort("LiftTalonSRX", 5));
100+
configSRX(liftMotor);
101+
climberMotor = new WPI_TalonSRX(getPort("ClimberTalonSRX", 6));
102+
configSRX(climberMotor);
103+
92104
leftEncPort1 = new DigitalInput(getPort("1LeftEnc", 0));
93105
leftEncPort2 = new DigitalInput(getPort("2LeftEnc", 1));
94106
leftEncDist = new Encoder(leftEncPort1, leftEncPort2);
@@ -153,4 +165,5 @@ public int getPort(String key, int def) {
153165
}
154166
return (int) SmartDashboard.getNumber("Port/" + key, def);
155167
}
168+
156169
}

0 commit comments

Comments
 (0)