@Disabled
@Autonomous(group="drive")
public class MaxVelocityTuner
extends com.qualcomm.robotcore.eventloop.opmode.LinearOpMode
Upon pressing start, your bot will run at max power for RUNTIME seconds.
Further fine tuning of kF may be desired.
Modifier and Type | Field and Description |
---|---|
private com.qualcomm.robotcore.hardware.VoltageSensor |
batteryVoltageSensor |
private double |
maxVelocity |
static double |
RUNTIME |
private com.qualcomm.robotcore.util.ElapsedTime |
timer |
Constructor and Description |
---|
MaxVelocityTuner() |
Modifier and Type | Method and Description |
---|---|
void |
runOpMode() |
private double |
veloInchesToTicks(double inchesPerSec) |
handleLoop, idle, init_loop, init, internalPostInitLoop, internalPostLoop, isStarted, isStopRequested, loop, opModeIsActive, sleep, start, stop, waitForStart