Class StandardTrackingWheelLocalizer
java.lang.Object
com.acmerobotics.roadrunner.localization.ThreeTrackingWheelLocalizer
org.firstinspires.ftc.teamcode.subsystems.roadrunner.drive.StandardTrackingWheelLocalizer
- All Implemented Interfaces:
com.acmerobotics.roadrunner.localization.Localizer
public class StandardTrackingWheelLocalizer
extends com.acmerobotics.roadrunner.localization.ThreeTrackingWheelLocalizer
-
Field Summary
Modifier and TypeFieldDescriptionstatic double
static double
static double
static double
static double
static double
static double
-
Constructor Summary
ConstructorDescriptionStandardTrackingWheelLocalizer
(com.qualcomm.robotcore.hardware.HardwareMap hardwareMap, List<Integer> lastTrackingEncPositions, List<Integer> lastTrackingEncVels) -
Method Summary
Methods inherited from class com.acmerobotics.roadrunner.localization.ThreeTrackingWheelLocalizer
getPoseEstimate, getPoseVelocity, setPoseEstimate, setPoseVelocity, update
-
Field Details
-
TICKS_PER_REV
public static double TICKS_PER_REV -
WHEEL_RADIUS
public static double WHEEL_RADIUS -
GEAR_RATIO
public static double GEAR_RATIO -
LATERAL_DISTANCE
public static double LATERAL_DISTANCE -
FORWARD_OFFSET
public static double FORWARD_OFFSET -
X_MULTIPLIER
public static double X_MULTIPLIER -
Y_MULTIPLIER
public static double Y_MULTIPLIER
-
-
Constructor Details
-
StandardTrackingWheelLocalizer
-
-
Method Details
-
encoderTicksToInches
public static double encoderTicksToInches(double ticks) -
getWheelPositions
- Specified by:
getWheelPositions
in classcom.acmerobotics.roadrunner.localization.ThreeTrackingWheelLocalizer
-
getWheelVelocities
- Overrides:
getWheelVelocities
in classcom.acmerobotics.roadrunner.localization.ThreeTrackingWheelLocalizer
-