mirror of
https://github.com/Team4388/RiseOfRidgebotics2020.git
synced 2026-06-09 08:48:01 -06:00
Added motion magic stuff
Looked at the CTRE website and went to github. Added the stuff we saw on there for motion magic. Needs to be tested to see if it's accurate.
This commit is contained in:
@@ -24,6 +24,17 @@ public final class Constants {
|
||||
public static final int DRIVE_LEFT_BACK_CAN_ID = 3;
|
||||
public static final int DRIVE_RIGHT_BACK_CAN_ID = 5;
|
||||
public static final int PIGEON_ID = 6;
|
||||
|
||||
/* PID Constants */
|
||||
public static final int SLOT_IDX = 0;
|
||||
|
||||
public static final int PID_LOOP_IDX = 0;
|
||||
|
||||
public static final int TIMEOUT_MS = 30;
|
||||
|
||||
static final Gains kGains = new Gains(0.2, 0.0, 0.0, 0.2, 0, 1.0);
|
||||
|
||||
public static final double ENCODER_TICKS_PER_REV = 2048;
|
||||
}
|
||||
|
||||
public static final class LEDConstants {
|
||||
|
||||
Reference in New Issue
Block a user