Skip to content

Commit

Permalink
rotate fast = true for java pathfinding command
Browse files Browse the repository at this point in the history
  • Loading branch information
mjansen4857 committed Feb 8, 2024
1 parent aa883be commit e2a5a24
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ public void initialize() {
new Pose2d(this.targetPath.getPoint(0).position, originalTargetPose.getRotation());
if (shouldFlipPath.getAsBoolean()) {
targetPose = GeometryUtil.flipFieldPose(this.originalTargetPose);
goalEndState = new GoalEndState(goalEndState.getVelocity(), targetPose.getRotation());
goalEndState = new GoalEndState(goalEndState.getVelocity(), targetPose.getRotation(), true);
}
}

Expand Down

0 comments on commit e2a5a24

Please sign in to comment.