Class MotorPIDTuning
java.lang.Object
com.qualcomm.robotcore.eventloop.opmode.OpMode
org.firstinspires.ftc.teamcode.subsystems.pid.MotorPIDTuning
@TeleOp(name="Motor PID Tuning",
group="Testing")
public class MotorPIDTuning
extends com.qualcomm.robotcore.eventloop.opmode.OpMode
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic doublestatic doublecom.qualcomm.robotcore.hardware.Gamepadcom.qualcomm.robotcore.hardware.Gamepadcom.qualcomm.robotcore.hardware.HardwareMapstatic doublestatic final intintDeprecated.static doublestatic intorg.firstinspires.ftc.robotcore.external.TelemetryFields inherited from class com.qualcomm.robotcore.eventloop.opmode.OpMode
msStuckDetectInit, msStuckDetectInitLoop, msStuckDetectLoop, msStuckDetectStart, time -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.qualcomm.robotcore.eventloop.opmode.OpMode
getRuntime, init_loop, internalPostInitLoop, internalPostLoop, internalPreInit, internalUpdateTelemetryNow, resetRuntime, start, stop, terminateOpModeNow, updateTelemetry
-
Field Details
-
p
public static double p -
i
public static double i -
d
public static double d -
f
public static double f -
target
public static int target -
MS_BEFORE_FORCE_STOP_AFTER_STOP_REQUESTED
public static final int MS_BEFORE_FORCE_STOP_AFTER_STOP_REQUESTED- See Also:
-
gamepad1
public volatile com.qualcomm.robotcore.hardware.Gamepad gamepad1 -
gamepad2
public volatile com.qualcomm.robotcore.hardware.Gamepad gamepad2 -
telemetry
public org.firstinspires.ftc.robotcore.external.Telemetry telemetry -
hardwareMap
public volatile com.qualcomm.robotcore.hardware.HardwareMap hardwareMap -
msStuckDetectStop
Deprecated.
-
-
Constructor Details
-
MotorPIDTuning
public MotorPIDTuning()
-
-
Method Details
-
init
public void init()- Specified by:
initin classcom.qualcomm.robotcore.eventloop.opmode.OpMode
-
loop
public void loop()- Specified by:
loopin classcom.qualcomm.robotcore.eventloop.opmode.OpMode
-
requestOpModeStop
public final void requestOpModeStop()
-