Class DriveConstants
java.lang.Object
org.firstinspires.ftc.teamcode.subsystems.roadrunner.drive.DriveConstants
-
Field Summary
Modifier and TypeFieldDescriptionstatic double
static double
static double
static double
static com.qualcomm.hardware.rev.RevHubOrientationOnRobot.LogoFacingDirection
static double
static double
static double
static final double
static double
static com.qualcomm.robotcore.hardware.PIDFCoefficients
static final boolean
static final double
static double
static com.qualcomm.hardware.rev.RevHubOrientationOnRobot.UsbFacingDirection
static double
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic double
encoderTicksToInches
(double ticks) static double
getMotorVelocityF
(double ticksPerSecond) static double
rpmToVelocity
(double rpm)
-
Field Details
-
TICKS_PER_REV
public static final double TICKS_PER_REV- See Also:
-
MAX_RPM
public static final double MAX_RPM- See Also:
-
RUN_USING_ENCODER
public static final boolean RUN_USING_ENCODER- See Also:
-
MOTOR_VELO_PID
public static com.qualcomm.robotcore.hardware.PIDFCoefficients MOTOR_VELO_PID -
WHEEL_RADIUS
public static double WHEEL_RADIUS -
GEAR_RATIO
public static double GEAR_RATIO -
TRACK_WIDTH
public static double TRACK_WIDTH -
kV
public static double kV -
kA
public static double kA -
kStatic
public static double kStatic -
MAX_VEL
public static double MAX_VEL -
MAX_ACCEL
public static double MAX_ACCEL -
MAX_ANG_VEL
public static double MAX_ANG_VEL -
MAX_ANG_ACCEL
public static double MAX_ANG_ACCEL -
LOGO_FACING_DIR
public static com.qualcomm.hardware.rev.RevHubOrientationOnRobot.LogoFacingDirection LOGO_FACING_DIR -
USB_FACING_DIR
public static com.qualcomm.hardware.rev.RevHubOrientationOnRobot.UsbFacingDirection USB_FACING_DIR
-
-
Constructor Details
-
DriveConstants
public DriveConstants()
-
-
Method Details
-
encoderTicksToInches
public static double encoderTicksToInches(double ticks) -
rpmToVelocity
public static double rpmToVelocity(double rpm) -
getMotorVelocityF
public static double getMotorVelocityF(double ticksPerSecond)
-