mirror of
https://github.com/Team4388/2022NoWayHome.git
synced 2026-06-09 00:38:05 -06:00
Bug fixes
This commit is contained in:
@@ -33,20 +33,20 @@ public final class Constants {
|
||||
public static final class SwerveDriveConstants {
|
||||
public static final double ROTATION_SPEED = 0.1;
|
||||
public static final double WHEEL_SPEED = 0.1;
|
||||
public static final double WIDTH = 0;
|
||||
public static final double HEIGHT = 0;
|
||||
public static final int LEFT_FRONT_STEER_CAN_ID = 0;
|
||||
public static final int LEFT_FRONT_WHEEL_CAN_ID = 0;
|
||||
public static final int RIGHT_FRONT_STEER_CAN_ID = 0;
|
||||
public static final int RIGHT_FRONT_WHEEL_CAN_ID = 0;
|
||||
public static final int LEFT_BACK_STEER_CAN_ID = 0;
|
||||
public static final int LEFT_BACK_WHEEL_CAN_ID = 0;
|
||||
public static final int RIGHT_BACK_STEER_CAN_ID = 0;
|
||||
public static final int RIGHT_BACK_WHEEL_CAN_ID = 0;
|
||||
public static final int LEFT_FRONT_STEER_CAN_ENCODER_ID = 0;
|
||||
public static final int RIGHT_FRONT_STEER_CAN_ENCODER_ID = 0;
|
||||
public static final int LEFT_BACK_STEER_CAN_ENCODER_ID = 0;
|
||||
public static final int RIGHT_BACK_STEER_CAN_ENCODER_ID = 0;
|
||||
public static final double WIDTH = 22;
|
||||
public static final double HEIGHT = 22;
|
||||
public static final int LEFT_FRONT_STEER_CAN_ID = 2;
|
||||
public static final int LEFT_FRONT_WHEEL_CAN_ID = 3;
|
||||
public static final int RIGHT_FRONT_STEER_CAN_ID = 4;
|
||||
public static final int RIGHT_FRONT_WHEEL_CAN_ID = 5;
|
||||
public static final int LEFT_BACK_STEER_CAN_ID = 6;
|
||||
public static final int LEFT_BACK_WHEEL_CAN_ID = 7;
|
||||
public static final int RIGHT_BACK_STEER_CAN_ID = 8;
|
||||
public static final int RIGHT_BACK_WHEEL_CAN_ID = 9;
|
||||
public static final int LEFT_FRONT_STEER_CAN_ENCODER_ID = 10;
|
||||
public static final int RIGHT_FRONT_STEER_CAN_ENCODER_ID = 11;
|
||||
public static final int LEFT_BACK_STEER_CAN_ENCODER_ID = 12;
|
||||
public static final int RIGHT_BACK_STEER_CAN_ENCODER_ID = 13;
|
||||
//ofsets are in degrees
|
||||
public static final float LEFT_FRONT_ENCODER_OFFSET = 0;
|
||||
public static final float RIGHT_FRONT_ENCODER_OFFSET = 0;
|
||||
@@ -57,7 +57,7 @@ public final class Constants {
|
||||
public static final int SWERVE_SLOT_IDX = 0;
|
||||
public static final int SWERVE_PID_LOOP_IDX = 1;
|
||||
public static final int SWERVE_TIMEOUT_MS = 30;
|
||||
public static final Gains SWERVE_GAINS = new Gains(0.0, 0.0, 0.0, 0.0, 0, 1.0);
|
||||
public static final Gains SWERVE_GAINS = new Gains(1.0, 0.0, 0.0, 0.0, 0, 1.0);
|
||||
|
||||
// swerve configuration
|
||||
public static final double NEUTRAL_DEADBAND = 0.04;
|
||||
|
||||
Reference in New Issue
Block a user