Skip to content

Commit

Permalink
holy cows monday
Browse files Browse the repository at this point in the history
  • Loading branch information
HipurWiz committed Oct 8, 2024
1 parent 4eb1c1f commit f772d6b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public class ShooterConstants {
kWheelRotationMeters / GlobalConstants.kFalconTicksPerRotation * kGearboxReduction;

// tune ff
public static final double kS = 9.8182; // 21.415; // 17.729; // 8.7167;
public static final double kS = 2.0; // 21.415; // 17.729; // 8.7167;
public static final double kV = 0; // 1.5; // 0.28947; // 0.24226;
public static final double kA = 0; // 0.88966; // 0.60231;

Expand Down
2 changes: 2 additions & 0 deletions src/main/java/team3647/frc2024/robot/RobotContainer.java
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,8 @@ public void teleopInit() {}
void configTestCommands() {}

public void configureSmartDashboardLogging() {
//logging offset for interp
printer.addDouble("offset", targetingUtil::getOffset);
printer.addBoolean("note seen", () -> !autoCommands.noteNotSeen.getAsBoolean());
// SmartDashboard.putNumber("pivot output", 0);
// // SmartDashboard.putNumber("wrist kg", 0);
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/team3647/frc2024/subsystems/Superstructure.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public class Superstructure {
private final double churroDeployAngle = 70;
private final double churroStowAngle = ChurroConstants.kInitialDegree;
private final double shootSpeed;
public double currentLimit = 59;
public double currentLimit = 49;

;
private boolean hasPiece = false;
Expand Down Expand Up @@ -165,7 +165,7 @@ public Command stowChurro() {
}

public Command spinUpAmp() {
return shooterCommands.setVelocity(() -> 3.5, () -> 1);
return shooterCommands.setVelocity(() -> 6, () -> 1);
}

public Command setShootModeStationary() {
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/team3647/frc2024/util/RobotTracker.java
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public RobotTracker(
this.speakerPose = AllianceFlip.flipForPP(speakerPose, this.color == Alliance.Red);
this.ampPose = color.equals(Alliance.Red) ? AllianceFlip.flipForPP(ampPose) : ampPose;
this.robotToShooter = robotToShooter;
this.feedPose = feedPose;
this.feedPose = AllianceFlip.flipForPP(feedPose, color == Alliance.Red);
this.drivePose = drivePose;
this.driveSpeeds = driveSpeeds;
this.shootSpeedMap = shootSpeedMap;
Expand Down

0 comments on commit f772d6b

Please sign in to comment.