Code Training Module Help

exampleAutoBlank

//imports @Autonomous(name="exampleAutoBlank", group="Autonomous") //@Disabled public class exampleAutoBlank extends exampleTeleOpBlank { //your doc name *extends* your main code branch private ElapsedTime runtime = new ElapsedTime(); @Override public void runOpMode(){ runtime.reset(); getRuntime(); waitForStart(); //actual code while (getRuntime()<=30) { getRuntime(); telemetry.addData(String.valueOf(runtime), "Working"); } } }
Last modified: 22 February 2025