Class RobotMethods
java.lang.Object
org.firstinspires.ftc.teamcode.subsystems.robotMethods.RobotMethods
-
Field Summary
Modifier and TypeFieldDescription(package private) static double
(package private) static double
(package private) static int
(package private) static float
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
driveTo
(Hardware robot, Context context, double targetX, double targetY, double motorRunPower, double tolerance, org.firstinspires.ftc.robotcore.external.Telemetry telemetry) static void
goToPosition
(Hardware robot, Context context, double targetX, double targetY, double motorRunPower, double tolerance, org.firstinspires.ftc.robotcore.external.Telemetry telemetry) static void
turnTo
(Hardware robot, Context context, double directionTo, double motorRunPower, double tolerance, org.firstinspires.ftc.robotcore.external.Telemetry telemetry)
-
Field Details
-
wheelEncoderPPR
static float wheelEncoderPPR -
wheelDiameter
static int wheelDiameter -
mmPerEncoderTick
static double mmPerEncoderTick -
distanceBetweenWheels
static double distanceBetweenWheels
-
-
Constructor Details
-
RobotMethods
public RobotMethods()
-
-
Method Details
-
driveTo
-
goToPosition
-
turnTo
-