Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tuning #72

Merged
merged 1 commit into from
Apr 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -110,12 +110,12 @@ public ShooterPivotSubsystem(DoubleSupplier distanceSupplier, BooleanSupplier re
6,
ShooterConstants.MAX_SHOOTER_DISTANCE};
double[] angles = {Units.degreesToRadians(60),
Units.degreesToRadians(51),
Units.degreesToRadians(35),
Units.degreesToRadians(29), //4
Units.degreesToRadians(27.26),
Units.degreesToRadians(26),
Units.degreesToRadians(27.5)};
Units.degreesToRadians(52),
Units.degreesToRadians(36),
Units.degreesToRadians(31), //4
Units.degreesToRadians(28),
Units.degreesToRadians(27),
Units.degreesToRadians(28.5)};

// X = distances, Y = angles in rads
akima = new AkimaSplineInterpolator();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public class SwerveSubsystem extends SubsystemBase {
public static final double MAX_ALPHA = 8;

public static final double ANGLE_OFFSET_FOR_AUTO_AIM = Units.degreesToRadians(0);
public static final double SHOT_SPEED = 10; // meters per sec
public static final double SHOT_SPEED = 30; // meters per sec

private final SwerveModule frontLeftModule;
private final SwerveModule frontRightModule;
Expand Down
Loading