Skip to content

Commit

Permalink
more auton changes
Browse files Browse the repository at this point in the history
  • Loading branch information
faeqk committed Jul 1, 2024
1 parent 9feeadb commit 1b4399f
Show file tree
Hide file tree
Showing 10 changed files with 11,039 additions and 11,039 deletions.
7,350 changes: 3,675 additions & 3,675 deletions choreo.chor

Large diffs are not rendered by default.

724 changes: 362 additions & 362 deletions src/main/deploy/choreo/SourceDrop543Source.1.traj

Large diffs are not rendered by default.

674 changes: 337 additions & 337 deletions src/main/deploy/choreo/SourceDrop543Source.2.traj

Large diffs are not rendered by default.

1,002 changes: 501 additions & 501 deletions src/main/deploy/choreo/SourceDrop543Source.3.traj

Large diffs are not rendered by default.

1,060 changes: 530 additions & 530 deletions src/main/deploy/choreo/SourceDrop543Source.4.traj

Large diffs are not rendered by default.

1,610 changes: 805 additions & 805 deletions src/main/deploy/choreo/SourceDrop543Source.5.traj

Large diffs are not rendered by default.

1,572 changes: 786 additions & 786 deletions src/main/deploy/choreo/SourceDrop543Source.6.traj

Large diffs are not rendered by default.

790 changes: 395 additions & 395 deletions src/main/deploy/choreo/SourceDrop543Source.7.traj

Large diffs are not rendered by default.

7,290 changes: 3,645 additions & 3,645 deletions src/main/deploy/choreo/SourceDrop543Source.traj

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -668,12 +668,12 @@ public AutonomousCommand inverseGreedy() {
public AutonomousCommand sourceDrop543source() {
var command = loggedSequence(
print("Started source drop 543 source auto"),
followChoreoPathSeekNoteAndSpit("SourceDrop543Source.1", 0.2),
followChoreoPathSeekNoteAndSpit("SourceDrop543Source.1", 0.7),
efficientlyPreWarmShootAndDrive("SourceDrop543Source.2", "SourceDrop543Source.3", AutoNote.M4),
efficientlyPreWarmShootAndDrive("SourceDrop543Source.4", "SourceDrop543Source.5", AutoNote.M3),
driveBackPreWarmAndShoot("SourceDrop543Source.6"),
rotateToHeadingAndSeek(
() -> autoFlipRotation(Rotation2d.fromRadians(1.0)),
() -> autoFlipRotation(GeometryUtil.kRotationHalfPi),
() -> Configuration.isRedAlliance() ? AutoNote.SR : AutoNote.SB),
aimAndShoot())
.withName("SourceDrop543SourceAuto");
Expand All @@ -683,7 +683,7 @@ public AutonomousCommand sourceDrop543source() {
public AutonomousCommand sourceDrop54source() {
var command = loggedSequence(
print("Started source drop 54 source auto"),
followChoreoPathSeekNoteAndSpit("SourceDrop543Source.1", 0.2),
followChoreoPathSeekNoteAndSpit("SourceDrop543Source.1", 1),
efficientlyPreWarmShootAndDrive("SourceDrop543Source.2", "SourceDrop543Source.3", AutoNote.M4),
driveBackPreWarmAndShoot("SourceDrop543Source.4"),
rotateToHeadingAndSeek(
Expand Down

0 comments on commit 1b4399f

Please sign in to comment.