Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/Team334/R2024
Browse files Browse the repository at this point in the history
  • Loading branch information
PGgit08 committed Jan 27, 2024
2 parents fa9da79 + f5496f0 commit afdb069
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/frc/robot/Constants.java
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public static class Physical {
public static final double SHOOTER_FLYWHEEL_CIRCUMFERENCE =
2 * Math.PI * SHOOTER_FLYWHEEL_RADIUS;

public static final double ELEVATOR_GEAR_RATIO = 27;
public static final double ELEVATOR_GEAR_RATIO = 100; //TODO: fixed but they might change it

public static final double SHOOTER_HEIGHT_STOWED = 0; // TODO: Get this value

Expand Down
9 changes: 9 additions & 0 deletions src/main/java/frc/robot/subsystems/SwerveDriveSubsystem.java
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,15 @@ public void initSendable(SendableBuilder builder) {
"Swerve Speed", () -> Constants.Speeds.SWERVE_DRIVE_COEFF, null);
}
});
// SmartDashboard.putData(
// "Gyro",
// new Sendable() {
// @Override
// public void initSendable(SendableBuilder builder) {
// builder.setSmartDashboardType("Gyro");
// builder.addDoubleProperty("Value", () -> getHeading().getDegrees(), null);
// }
// });

SmartDashboard.putData("Swerve/Built-in Accelerometer", new BuiltInAccelerometer());

Expand Down

0 comments on commit afdb069

Please sign in to comment.