TwoWheelConstants

public class TwoWheelConstants

This is the TwoWheelConstants class. It holds many constants and parameters for the Two Wheel Localizer.

Author

Baron Henderson - 20077 The Indubitables

Constructors

Link copied to clipboard
public void TwoWheelConstants()

Properties

Link copied to clipboard
The Hardware Map Name of the Forward Encoder (name of the motor port it is plugged into) Default Value: "leftFront"
Link copied to clipboard
public static double forwardEncoderDirection
The direction of the forward encoder Default Value: Encoder.
Link copied to clipboard
public static double forwardTicksToInches
The number of inches per tick of the encoder for forward movement Default Value: .
Link copied to clipboard
public static double forwardY
The y offset of the forward encoder (Deadwheel) from the center of the robot Default Value: 1
Link copied to clipboard
The Hardware Map Name of the IMU (built-in IMU will be Port 0, "imu") Default Value: "imu"
Link copied to clipboard
public static RevHubOrientationOnRobot IMU_Orientation
The Orientation of the IMU on the robot Default Value: new RevHubOrientationOnRobot(RevHubOrientationOnRobot.LogoFacingDirection.UP, RevHubOrientationOnRobot.UsbFacingDirection.
Link copied to clipboard
The Hardware Map Name of the Strafe Encoder (name of the motor port it is plugged into) Default Value: "rightRear"
Link copied to clipboard
public static double strafeEncoderDirection
The direction of the strafe encoder Default Value: Encoder.
Link copied to clipboard
public static double strafeTicksToInches
The number of inches per tick of the encoder for lateral movement (strafing) Default Value: .
Link copied to clipboard
public static double strafeX
The x offset of the strafe encoder (Deadwheel) from the center of the robot Default Value: -2.