Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 38 additions & 6 deletions autonomous/multi_algae_auto.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ class CentreAuto(AutoBase):
def __init__(self):
super().__init__(
[
"StartToAlgaeGH",
"AlgaeGHToShoot",
"ShootToAlgaeIJ",
"AlgaeIJToShoot",
"ShootToAlgaeEF",
"AlgaeEFToShoot",
"StartToAlgaeGH", # Seems good
"AlgaeGHToShoot", # Slight wiggle, rotates while moving but seems not major issue
"ShootToAlgaeIJ", # Goes outwards and takes a wide path while spinning
"AlgaeIJToShoot", # Spins right at the end of its path and moves fastest there
"ShootToAlgaeEF", # Slow long path, spins whole way, could perhaps start slow and spin fast, then speed up, slow down for the sharp corner
"AlgaeEFToShoot", # Funny backward spin at beginning, could perhaps spin the whole way while nearly stationary at end of sharp bend, then move to translational goal
]
)

Expand Down Expand Up @@ -59,3 +59,35 @@ def __init__(self):
"AlgaeKLToShootKL",
]
)


class RefinedQuickCentre(AutoBase):
MODE_NAME = "FAST REFINED Quick Centre GH>IJ>KL"

def __init__(self):
super().__init__(
[
"StartToAlgaeGH",
"RefinedAlgaeGHToShootGH",
"RefinedShootGHToAlgaeIJ",
"RefinedAlgaeIJToShootIJ",
"RefinedShootIJToAlgaeKL",
"RefinedAlgaeKLToShootKL",
]
)


class RefinedQuickCentreSlow(AutoBase):
MODE_NAME = "SLOW(ed) REFINED Quick Centre GH>IJ>KL"

def __init__(self):
super().__init__(
[
"StartToAlgaeGH",
"SlowedAlgaeGHToShootGH",
"SlowedShootGHToAlgaeIJ",
"RefinedAlgaeIJToShootIJ",
"RefinedShootIJToAlgaeKL",
"RefinedAlgaeKLToShootKL",
]
)
182 changes: 182 additions & 0 deletions deploy/choreo/RefinedAlgaeEFToShoot.traj

Large diffs are not rendered by default.

146 changes: 146 additions & 0 deletions deploy/choreo/RefinedAlgaeGHToShootGH.traj

Large diffs are not rendered by default.

124 changes: 124 additions & 0 deletions deploy/choreo/RefinedAlgaeIJToShootIJ.traj

Large diffs are not rendered by default.

134 changes: 134 additions & 0 deletions deploy/choreo/RefinedAlgaeKLToShootKL.traj

Large diffs are not rendered by default.

125 changes: 125 additions & 0 deletions deploy/choreo/RefinedShootGHToAlgaeIJ.traj

Large diffs are not rendered by default.

123 changes: 123 additions & 0 deletions deploy/choreo/RefinedShootGHToAlgaeIJ2.traj

Large diffs are not rendered by default.

149 changes: 149 additions & 0 deletions deploy/choreo/RefinedShootIJToAlgaeKL.traj

Large diffs are not rendered by default.

151 changes: 151 additions & 0 deletions deploy/choreo/SlowedAlgaeGHToShootGH.traj

Large diffs are not rendered by default.

125 changes: 125 additions & 0 deletions deploy/choreo/SlowedShootGHToAlgaeIJ.traj

Large diffs are not rendered by default.