Skip to content

Commit

Permalink
fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
Mineinjava committed Aug 5, 2024
1 parent 778a479 commit f9208a9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion quail/src/test/java/quail/pathing/PathFollowerTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,9 @@ void driveMovementsConvergeToPathAndFinishPath() {
RobotMovement mvmt = this.pathFollower.calculateNextDriveMovement(); // calculate movement
KalmanFilterLocalizer localizer = (KalmanFilterLocalizer) this.pathFollower.getLocalizer();
Pose2d newPose =
localizer.getPose().plus(new Pose2d(mvmt.translation.scale(this.SIMLOOPTIME))); // update position
localizer
.getPose()
.plus(new Pose2d(mvmt.translation.scale(this.SIMLOOPTIME))); // update position
localizer.setPose(newPose);
this.simulatedtime += this.SIMLOOPTIME; // this does nothing (yet)
if (this.pathFollower.isFinished()) {
Expand Down

0 comments on commit f9208a9

Please sign in to comment.