This commit is contained in:
sihan 2024-02-28 09:26:30 -06:00
parent 712fd3e0a5
commit e940a0592a
1 changed files with 5 additions and 0 deletions

View File

@ -283,6 +283,7 @@ public class Robot {
this.led.setPattern(RevBlinkinLedDriver.BlinkinPattern.STROBE_WHITE); this.led.setPattern(RevBlinkinLedDriver.BlinkinPattern.STROBE_WHITE);
} }
} }
public static class Plane { public static class Plane {
private Servo plane; private Servo plane;
@ -302,6 +303,10 @@ public class Robot {
} }
public TrajectorySequenceBuilder getTrajectorySequenceBuilder() { public TrajectorySequenceBuilder getTrajectorySequenceBuilder() {
this.drive.update(); this.drive.update();
return this.drive.trajectorySequenceBuilder(this.drive.getPoseEstimate()); return this.drive.trajectorySequenceBuilder(this.drive.getPoseEstimate());