Skip to content
This repository has been archived by the owner on Jan 6, 2024. It is now read-only.

Commit

Permalink
change twist computation
Browse files Browse the repository at this point in the history
  • Loading branch information
fcuellar13 committed Nov 8, 2023
1 parent 2273667 commit 78189ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/frc/robot/swerve/SwerveSubsystem.java
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ public void setChassisSpeeds(ChassisSpeeds speeds, boolean openLoop) {
Logger.getInstance().recordOutput("Swerve/CommandedSpeeds/Omega", speeds.omegaRadiansPerSecond);

// Twist computation.
double lookAheadSeconds = 0.1;
double lookAheadSeconds = 0.02;
Pose2d target_pose =
new Pose2d(
lookAheadSeconds * speeds.vxMetersPerSecond,
Expand Down

0 comments on commit 78189ef

Please sign in to comment.