mirror of
https://github.com/Team4388/RiseOfRidgebotics2020.git
synced 2026-06-09 00:38:00 -06:00
Update Motor Type
This commit is contained in:
@@ -30,7 +30,7 @@ public final class Constants {
|
||||
public static final int INTAKE_SPARK_ID = 1;
|
||||
}
|
||||
public static final class StorageConstants {
|
||||
public static final int STORAGE_TALON_ID = 9;
|
||||
public static final int STORAGE_CAN_ID = 10;
|
||||
public static final int BEAM_SENSOR_DIO_0 = 0;
|
||||
public static final int BEAM_SENSOR_DIO_1 = 1;
|
||||
public static final int BEAM_SENSOR_DIO_2 = 2;
|
||||
|
||||
@@ -19,7 +19,7 @@ import edu.wpi.first.wpilibj2.command.SubsystemBase;
|
||||
import frc4388.robot.Constants.StorageConstants;
|
||||
|
||||
public class Storage extends SubsystemBase {
|
||||
private WPI_TalonSRX m_storageMotor = new WPI_TalonSRX(StorageConstants.STORAGE_TALON_ID);
|
||||
private CANSparkMax m_storageMotor = new CANSparkMax(StorageConstants.STORAGE_CAN_ID, MotorType.kBrushless);
|
||||
private DigitalInput[] m_beamSensors = new DigitalInput[6];
|
||||
/**
|
||||
* Creates a new Storage.
|
||||
|
||||
Reference in New Issue
Block a user