Skip to content

Commit 0386686

Browse files
authored
Merge pull request #45 from TechonVS/patch-2
Fix ExampleAuto class name and me forgetting to clean stuff up
2 parents e3b01c0 + 221fcca commit 0386686

1 file changed

Lines changed: 1 addition & 32 deletions

File tree

content/docs/pathing/examples/auto.mdx

Lines changed: 1 addition & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ import static com.pedropathing.ivy.pedro.PedroCommands.*;
2929
import 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
```

0 commit comments

Comments
 (0)