Initial Commit
This commit is contained in:
13
src/main/java/first/robot/constants/DrivetrainConstants.java
Normal file
13
src/main/java/first/robot/constants/DrivetrainConstants.java
Normal file
@@ -0,0 +1,13 @@
|
||||
package first.robot.constants;
|
||||
|
||||
public class DrivetrainConstants {
|
||||
public static final int kFrontLeftPWM = 0;
|
||||
public static final int kRearLeftPWM = 1;
|
||||
public static final int kFrontRightPWM = 2;
|
||||
public static final int kRearRightPWM = 3;
|
||||
|
||||
public static final double kSlowModeMultiplier = .75;
|
||||
|
||||
public static final boolean kInvertForwardBackward = true;
|
||||
public static final boolean kInvertLeftRight = true;
|
||||
}
|
||||
5
src/main/java/first/robot/constants/OIConstants.java
Normal file
5
src/main/java/first/robot/constants/OIConstants.java
Normal file
@@ -0,0 +1,5 @@
|
||||
package first.robot.constants;
|
||||
|
||||
public class OIConstants {
|
||||
public static final int kDriverUSB = 0;
|
||||
}
|
||||
12
src/main/java/first/robot/constants/PusherConstants.java
Normal file
12
src/main/java/first/robot/constants/PusherConstants.java
Normal file
@@ -0,0 +1,12 @@
|
||||
package first.robot.constants;
|
||||
|
||||
import org.wpilib.hardware.bus.SerialPort;
|
||||
|
||||
public class PusherConstants {
|
||||
public static final int kBaudRate = 9600;
|
||||
|
||||
public static final SerialPort.Port kPort = SerialPort.Port.USB;
|
||||
|
||||
public static final String kStopString = "s0~";
|
||||
public static final String kSpinString = "s-250~";
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
package first.robot.constants;
|
||||
|
||||
import org.wpilib.hardware.bus.CANPort;
|
||||
|
||||
public class ShooterConstants {
|
||||
public static final CANPort kShooterCANPort = CANPort.CAN_S0;
|
||||
public static final int kFrontShooterCAN = 1;
|
||||
public static final int kRearShooterCAN = 2;
|
||||
}
|
||||
Reference in New Issue
Block a user