Skip to content

Commit 56608a8

Browse files
LHowe-a11yLeanMeanBeanMachine4774
authored andcommitted
Adjusted one path to make it more conservative in general, and made one alternate slower path and auto routine using that instead. Also PreCommit now in use since I refiled my files.
1 parent 8fd3f98 commit 56608a8

File tree

5 files changed

+504
-86
lines changed

5 files changed

+504
-86
lines changed

autonomous/multi_algae_auto.py

Lines changed: 25 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ class CentreAuto(AutoBase):
77
def __init__(self):
88
super().__init__(
99
[
10-
"StartToAlgaeGH", # Seems good
11-
"AlgaeGHToShoot", # Slight wiggle, rotates while moving but seems not major issue
12-
"ShootToAlgaeIJ", # Goes outwards and takes a wide path while spinning
13-
"AlgaeIJToShoot", # Spins right at the end of its path and moves fastest there
14-
"ShootToAlgaeEF", # Slow long path, spins whole way, could perhaps start slow and spin fast, then speed up, slow down for the sharp corner
15-
"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
10+
"StartToAlgaeGH", # Seems good
11+
"AlgaeGHToShoot", # Slight wiggle, rotates while moving but seems not major issue
12+
"ShootToAlgaeIJ", # Goes outwards and takes a wide path while spinning
13+
"AlgaeIJToShoot", # Spins right at the end of its path and moves fastest there
14+
"ShootToAlgaeEF", # Slow long path, spins whole way, could perhaps start slow and spin fast, then speed up, slow down for the sharp corner
15+
"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
1616
]
1717
)
1818

@@ -60,8 +60,9 @@ def __init__(self):
6060
]
6161
)
6262

63+
6364
class RefinedQuickCentre(AutoBase):
64-
MODE_NAME = "REFINED Quick Centre GH>IJ>KL"
65+
MODE_NAME = "FAST REFINED Quick Centre GH>IJ>KL"
6566

6667
def __init__(self):
6768
super().__init__(
@@ -73,4 +74,20 @@ def __init__(self):
7374
"RefinedShootIJToAlgaeKL",
7475
"RefinedAlgaeKLToShootKL",
7576
]
76-
)
77+
)
78+
79+
80+
class RefinedQuickCentreSlow(AutoBase):
81+
MODE_NAME = "SLOW(ed) REFINED Quick Centre GH>IJ>KL"
82+
83+
def __init__(self):
84+
super().__init__(
85+
[
86+
"StartToAlgaeGH",
87+
"SlowedAlgaeGHToShootGH",
88+
"RefinedShootGHToAlgaeIJ",
89+
"RefinedAlgaeIJToShootIJ",
90+
"RefinedShootIJToAlgaeKL",
91+
"RefinedAlgaeKLToShootKL",
92+
]
93+
)

0 commit comments

Comments
 (0)