File tree Expand file tree Collapse file tree
content/docs/pathing/examples Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ import static com.pedropathing.ivy.pedro.PedroCommands.*;
2929import static com.pedropathing.ivy.groups.Groups.* ;
3030
3131@Autonomous (name = " Example Auto" , group = " Examples" )
32- public class Example Auto extends LinearOpMode {
32+ public class ExampleAuto extends LinearOpMode {
3333
3434 private Follower follower;
3535```
@@ -334,35 +334,4 @@ public void runOpMode {
334334 telemetry. update();
335335 }
336336}
337-
338- @Override
339- public void init () {
340-
341- }
342-
343- @Override
344- public void init_loop () {}
345-
346- @Override
347- public void start () {
348- opmodeTimer. resetTimer();
349- setPathState(0 );
350- }
351-
352- /* * This is the main loop of the OpMode, it will run repeatedly after clicking "Play". **/
353- @Override
354- public void loop () {
355- follower. update();
356- autonomousPathUpdate();
357-
358- // Feedback to Driver Hub for debugging
359- telemetry. addData(" path state" , pathState);
360- telemetry. addData(" x" , follower. getPose(). getX());
361- telemetry. addData(" y" , follower. getPose(). getY());
362- telemetry. addData(" heading" , follower. getPose(). getHeading());
363- telemetry. update();
364- }
365-
366- @Override
367- public void stop () {}
368337```
You can’t perform that action at this time.
0 commit comments