mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
Clean up unit UDL usage (#6961)
This commit is contained in:
@@ -37,9 +37,8 @@ public final class Constants {
|
||||
public static final int[] kEncoderPorts = {4, 5};
|
||||
public static final boolean kEncoderReversed = false;
|
||||
public static final int kEncoderCPR = 1024;
|
||||
public static final double kEncoderDistancePerPulse =
|
||||
// Distance units will be rotations
|
||||
1.0 / kEncoderCPR;
|
||||
// Distance units will be rotations
|
||||
public static final double kEncoderDistancePerPulse = 1.0 / kEncoderCPR;
|
||||
|
||||
public static final int kShooterMotorPort = 4;
|
||||
public static final int kFeederMotorPort = 5;
|
||||
@@ -54,9 +53,8 @@ public final class Constants {
|
||||
// On a real robot the feedforward constants should be empirically determined; these are
|
||||
// reasonable guesses.
|
||||
public static final double kSVolts = 0.05;
|
||||
public static final double kVVoltSecondsPerRotation =
|
||||
// Should have value 12V at free speed...
|
||||
12.0 / kShooterFreeRPS;
|
||||
// Should have value 12V at free speed
|
||||
public static final double kVVoltSecondsPerRotation = 12.0 / kShooterFreeRPS;
|
||||
|
||||
public static final double kFeederSpeed = 0.5;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user