Skip to content

Commit

Permalink
better elevator zero, better cone ground angle
Browse files Browse the repository at this point in the history
  • Loading branch information
JayK445 committed Nov 11, 2023
1 parent b2ace8c commit 814fd1f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/main/java/frc/robot/Constants.java
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ public static final class Setpoints {
public static final ElevatorState SHELF_INTAKE_CONE = new ElevatorState(47.3, 68.5);
public static final ElevatorState SHELF_INTAKE_CUBE = new ElevatorState(43.2, 68.5);
public static final ElevatorState GROUND_INTAKE_CONE =
new ElevatorState(MIN_EXTENSION_INCHES, 75);
new ElevatorState(MIN_EXTENSION_INCHES, 72.5);
public static final ElevatorState GROUND_INTAKE_CUBE =
new ElevatorState(MIN_EXTENSION_INCHES, 85);
public static final ElevatorState SCORE_HIGH_CONE = new ElevatorState(43, 52.5);
Expand Down Expand Up @@ -238,7 +238,7 @@ public static final class Setpoints {
public static final double ANGULAR_OFFSET = 0;

public static final double ZERO_MOTOR_POWER = -0.12;
public static final double ZERO_STATOR_LIMIT = 5;
public static final double ZERO_STATOR_LIMIT = 7;
public static final double STATOR_LIMIT = 25;

public static final double GRAVITY_OFFSET_PERCENT = .2;
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/frc/robot/commands/GroundPickupCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ public GroundPickupCommand(
// Add your commands in the addCommands() call, e.g.

addCommands(
new GroundIntakeElevatorCommand(elevatorSubsystem, isCube)
.alongWith(new IntakeModeCommand(intakeSubsystem, Modes.INTAKE, isCube))
new IntakeModeCommand(intakeSubsystem, Modes.INTAKE, isCube)
.alongWith(new GroundIntakeElevatorCommand(elevatorSubsystem, isCube))
.andThen(
new ElevatorPositionCommand(elevatorSubsystem, () -> Elevator.Setpoints.STOWED)));
}
Expand Down

0 comments on commit 814fd1f

Please sign in to comment.