mirror of
https://github.com/Team4388/2019-Hit-or-Miss.git
synced 2026-06-09 00:28:05 -06:00
Updated Motor IDs
This commit is contained in:
@@ -27,10 +27,9 @@ public class RobotMap {
|
|||||||
|
|
||||||
|
|
||||||
//Climber Motors
|
//Climber Motors
|
||||||
public static final int CLIMBER_CAN_ID = 10;
|
public static final int CLIMBER_CAN_ID = 11;
|
||||||
public static final int CLIMBER_WHEEL1_ID = 9;
|
public static final int CLIMBER_WHEEL1_ID = 12;
|
||||||
public static final int CLIMBER_WHEEL2_ID = 11;
|
public static final int CLIMBER_WHEEL2_ID = 13;
|
||||||
public static final int CLIMBER_RATCHET_ID = 12;
|
|
||||||
|
|
||||||
|
|
||||||
// Pneumatics
|
// Pneumatics
|
||||||
|
|||||||
@@ -57,7 +57,6 @@ public class Climber extends Subsystem{
|
|||||||
climberBack = new WPI_TalonSRX(RobotMap.CLIMBER_CAN_ID);
|
climberBack = new WPI_TalonSRX(RobotMap.CLIMBER_CAN_ID);
|
||||||
climberFront = new WPI_TalonSRX(RobotMap.CLIMBER_WHEEL1_ID);
|
climberFront = new WPI_TalonSRX(RobotMap.CLIMBER_WHEEL1_ID);
|
||||||
climberFront2 = new WPI_TalonSRX(RobotMap.CLIMBER_WHEEL2_ID);
|
climberFront2 = new WPI_TalonSRX(RobotMap.CLIMBER_WHEEL2_ID);
|
||||||
flipOutMotor = new WPI_TalonSRX(RobotMap.CLIMBER_RATCHET_ID);
|
|
||||||
climberFront2.set(ControlMode.Follower, climberFront.getDeviceID());
|
climberFront2.set(ControlMode.Follower, climberFront.getDeviceID());
|
||||||
|
|
||||||
climberBack.configForwardLimitSwitchSource(limitSwitchSource, LimitSwitchNormal.NormallyOpen, 0);
|
climberBack.configForwardLimitSwitchSource(limitSwitchSource, LimitSwitchNormal.NormallyOpen, 0);
|
||||||
|
|||||||
Reference in New Issue
Block a user