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:
mayabartels
2020-01-13 17:53:42 -07:00
parent fac7327b16
commit 18c21fdb7e
4 changed files with 58 additions and 13 deletions
@@ -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 {