Skip to content

Commit

Permalink
odometry tuning
Browse files Browse the repository at this point in the history
  • Loading branch information
MysticalApple committed Apr 5, 2024
1 parent a1d3a4d commit a92e0be
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public class SwerveModule {
private double offsetRads;

// private static final double DRIVE_METERS_PER_ROTATION = (13.0 / 90.0) * Math.PI * Units.inchesToMeters(4.0);
private static final double DRIVE_ROTATIONS_PER_METER = 4.172 / 6428 * 60 * 4 / 3.42 * 3 / 3.08;
private static final double DRIVE_ROTATIONS_PER_METER = 4.172 / 6428 * 60 * 4 / 3.42 * 3 / 3.08 * 3 / 3.06;
// private static final double STEER_ROTATIONS_PER_RADIAN = (130.0 / 1776.0) * 2.0 * Math.PI;
private static final double STEER_VOLTS_RADIANS = 2 * Math.PI / 3.3;
// https://docs.revrobotics.com/sparkmax/feature-description/data-port#analog-input
Expand Down

0 comments on commit a92e0be

Please sign in to comment.