Skip to content
This repository was archived by the owner on Oct 30, 2025. It is now read-only.

Commit e2474ff

Browse files
committed
Fix align
1 parent 1a4255e commit e2474ff

2 files changed

Lines changed: 3 additions & 9 deletions

File tree

src/main/kotlin/com/frcteam3636/frc2025/subsystems/drivetrain/autos/AutoMode.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ open class AutoMode {
3535
}
3636

3737
companion object Constants {
38-
val ALGAE_ONE = AprilTagTarget(21, Translation2d(1.5.inches.inMeters(), 0.0)).pose
39-
val ALGAE_TWO = AprilTagTarget(20, Translation2d(1.5.inches.inMeters(), 0.0)).pose
38+
val ALGAE_ONE = AprilTagTarget(21, Translation2d()).pose
39+
val ALGAE_TWO = AprilTagTarget(20, Translation2d()).pose
4040
val SLOW_ZONE_DISTANCE = 2.feet
4141
val SLOW_ZONE_ENTER_VELOCITY = 1.0.metersPerSecond
4242
val DEFAULT_AUTO_CONSTRAINTS = PathConstraints(10.0, 4.0, 2 * Math.PI, 4 * Math.PI)

src/main/kotlin/com/frcteam3636/frc2025/subsystems/drivetrain/autos/OneAlgae.kt

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,7 @@ class OneAlgae(val side: StartingPosition) : AutoMode() {
1616
return Commands.sequence(
1717
OnePieceCoralMiddle().autoSequence(),
1818
Elevator.setTargetHeight(Elevator.Position.Stowed),
19-
Drivetrain.driveToPointAllianceRelativeWithSlowZone(
20-
ALGAE_ONE,
21-
DEFAULT_AUTO_CONSTRAINTS,
22-
DEFAULT_AUTO_CONSTRAINTS_SLOW_ZONE,
23-
SLOW_ZONE_DISTANCE,
24-
SLOW_ZONE_ENTER_VELOCITY,
25-
),
19+
Drivetrain.alignToReefAlgae(false),
2620
Commands.race(
2721
Manipulator.intakeAlgae(),
2822
Commands.sequence(

0 commit comments

Comments
 (0)