mirror of
https://github.com/Team4388/RiseOfRidgebotics2020.git
synced 2026-06-09 00:38:00 -06:00
Reverted Drive code to master
This commit is contained in:
@@ -25,12 +25,7 @@ public final class Constants {
|
||||
public static final int DRIVE_RIGHT_BACK_CAN_ID = 5;
|
||||
public static final int PIGEON_ID = 6;
|
||||
|
||||
/* PID Constants Drive*/
|
||||
public static final int DRIVE_SLOT_IDX = 0;
|
||||
public static final int DRIVE_PID_LOOP_IDX = 0;
|
||||
public static final int DRIVE_TIMEOUT_MS = 30;
|
||||
public static final Gains DRIVE_GAINS = new Gains(0.2, 0.0, 0.0, 0.2, 0, 1.0);
|
||||
|
||||
|
||||
public static final double ENCODER_TICKS_PER_REV = 2048;
|
||||
}
|
||||
|
||||
@@ -38,18 +33,7 @@ public final class Constants {
|
||||
public static final int INTAKE_SPARK_ID = 1;
|
||||
}
|
||||
|
||||
public static final class ElevatorConstants {
|
||||
public static final int TALON_1 = 7;
|
||||
public static final int TALON_2 = 8;
|
||||
|
||||
/* PID Constants Elevator */
|
||||
public static final int ELEVATOR_SLOT_IDX = 0;
|
||||
public static final int ELEVATOR_PID_LOOP_IDX = 1;
|
||||
public static final int ELEVATOR_TIMEOUT_MS = 30;
|
||||
public static final Gains ELEVATOR_GAINS = new Gains(0.1, 0.0, 0.0, 0.2, 0, 1.0);
|
||||
|
||||
public static final double ENCODER_TICKS_PER_REV = 2048;
|
||||
}
|
||||
|
||||
public static final class ShooterConstants {
|
||||
public static final int SHOOTER_FALCON_ID = 8;
|
||||
|
||||
Reference in New Issue
Block a user