Skip to content

Commit 7ebdf2a

Browse files
committed
dfretf
1 parent a876e79 commit 7ebdf2a

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/main/java/frc/trigon/robot/commands/commandfactories/CoralPlacingCommands.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public class CoralPlacingCommands {
2525
public static Command getScoreInReefCommand(boolean shouldScoreRight) {
2626
return new ConditionalCommand(
2727
getAutonomouslyScoreCommand(shouldScoreRight),
28-
getScoreCommand(shouldScoreRight),
28+
getScoreCommand(),
2929
() -> SHOULD_SCORE_AUTONOMOUSLY && REEF_CHOOSER.getScoringLevel() != ScoringLevel.L1
3030
).onlyIf(CoralCollectionCommands::hasCoral);
3131
}
@@ -40,7 +40,7 @@ private static Command getAutonomouslyScoreCommand(boolean shouldScoreRight) {
4040
);
4141
}
4242

43-
private static Command getScoreCommand(boolean shouldScoreRight) {
43+
private static Command getScoreCommand() {
4444
return new SequentialCommandGroup(
4545
CoralCollectionCommands.getLoadCoralCommand(),
4646
GeneralCommands.getFlippableOverridableArmCommand(REEF_CHOOSER::getArmElevatorState, true, CoralPlacingCommands::shouldReverseScore).until(OperatorConstants.CONTINUE_TRIGGER),

src/main/java/frc/trigon/robot/subsystems/armelevator/ArmElevatorConstants.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public class ArmElevatorConstants {
5555
SHOULD_ELEVATOR_FOLLOWER_OPPOSE_MASTER = false;
5656
static final double
5757
ARM_DEFAULT_MAXIMUM_VELOCITY = RobotHardwareStats.isSimulation() ? 2.4614 : 2,
58-
ARM_DEFAULT_MAXIMUM_ACCELERATION = RobotHardwareStats.isSimulation() ? 67.2344 : 3.5,
58+
ARM_DEFAULT_MAXIMUM_ACCELERATION = RobotHardwareStats.isSimulation() ? 67.2344 : 3.2,
5959
ARM_DEFAULT_MAXIMUM_JERK = ARM_DEFAULT_MAXIMUM_ACCELERATION * 10,
6060
ELEVATOR_DEFAULT_MAXIMUM_VELOCITY = RobotHardwareStats.isSimulation() ? 25.178 : 21,
6161
ELEVATOR_DEFAULT_MAXIMUM_ACCELERATION = RobotHardwareStats.isSimulation() ? 80 : 55;
@@ -344,8 +344,8 @@ public enum ArmElevatorState {
344344
SCORE_PROCESSOR(Rotation2d.fromDegrees(0), 0.1, null, false, 0.4),
345345
COLLECT_ALGAE_L2(Rotation2d.fromDegrees(0), 0.603, null, false, 1),
346346
COLLECT_ALGAE_L3(Rotation2d.fromDegrees(0), 1.15, null, false, 1),
347-
PREPARE_COLLECT_ALGAE_FLOOR(Rotation2d.fromDegrees(-32), 0.3, null, false, 1),
348-
COLLECT_ALGAE_FLOOR(Rotation2d.fromDegrees(-32), 0.18, PREPARE_COLLECT_ALGAE_FLOOR, true, 1),
347+
PREPARE_COLLECT_ALGAE_FLOOR(Rotation2d.fromDegrees(-32), 0.35, null, false, 1),
348+
COLLECT_ALGAE_FLOOR(Rotation2d.fromDegrees(-32), 0.22, PREPARE_COLLECT_ALGAE_FLOOR, true, 1),
349349
COLLECT_ALGAE_LOLLIPOP(Rotation2d.fromDegrees(0), 0.15, null, false, 1);
350350

351351

src/main/java/frc/trigon/robot/subsystems/transporter/TransporterConstants.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ private static void configureBeamBreak() {
103103

104104
public enum TransporterState {
105105
REST(0, 0),
106-
COLLECT(-4, 5),
106+
COLLECT(-3.5, 5),
107107
ALIGN_CORAL(-5, 6),
108108
HOLD_CORAL(-1, 1),
109109
EJECT(5, -5);

0 commit comments

Comments
 (0)