Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
fcuellar13 committed Nov 23, 2024
1 parent 24cbe2f commit b150bf1
Showing 1 changed file with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ public class HeuristicPathTracker implements PathTracker {
private double proximityRadius = 0.5;
private int currentPointIndex = 0;
private double endPointProximityRadius = 0.1;
// private double distanceToTarget;
// private Pose2d currentTargetPose = new Pose2d();

// private double distanceToTarget;
// private Pose2d currentTargetPose = new Pose2d();

@Override
public void resetAndSetPoints(List<AutoPoint> points) {
Expand All @@ -41,9 +42,9 @@ public void updateRobotState(Pose2d currentPose, ChassisSpeeds currentFieldRelat

@Override
public Pose2d getTargetPose() {
//if (isFinished() == true) {
// return currentTargetPose;
// }
// if (isFinished() == true) {
// return currentTargetPose;
// }

var targetPose = points.get(currentPointIndex).poseSupplier.get();

Expand Down

0 comments on commit b150bf1

Please sign in to comment.