Skip to content

Commit

Permalink
Post match Q80, updated auto initializing.
Browse files Browse the repository at this point in the history
  • Loading branch information
frc1987 committed Apr 6, 2024
1 parent 5426b18 commit dabf3ba
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
4 changes: 2 additions & 2 deletions src/main/deploy/pathplanner/paths/GKC Amp 1-2Red.path
Original file line number Diff line number Diff line change
Expand Up @@ -240,8 +240,8 @@
},
{
"name": "Slow Fifth Intake",
"minWaypointRelativePos": 6.8,
"maxWaypointRelativePos": 7.05,
"minWaypointRelativePos": 6.75,
"maxWaypointRelativePos": 7.15,
"constraints": {
"maxVelocity": 2.5,
"maxAcceleration": 2.5,
Expand Down
12 changes: 6 additions & 6 deletions src/main/deploy/pathplanner/paths/GKC Source 5-4-3.path
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,15 @@
{
"anchor": {
"x": 8.021177331478777,
"y": 2.273430338708075
"y": 2.37
},
"prevControl": {
"x": 6.1440471676400605,
"y": 0.6222542887343496
"x": 6.519473200407804,
"y": 1.0490591600210197
},
"nextControl": {
"x": 8.884743651289353,
"y": 3.0330473606407584
"x": 8.772029397014263,
"y": 3.0304704199894905
},
"isLocked": false,
"linkedName": null
Expand Down Expand Up @@ -121,7 +121,7 @@
},
{
"waypointRelativePos": 3,
"rotationDegrees": 24.451256919953906,
"rotationDegrees": 34.0,
"rotateFast": false
},
{
Expand Down
3 changes: 2 additions & 1 deletion src/main/java/frc/robot/RobotContainer.java
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,8 @@ public void configureNamedCommands() {
public void addAuto(String autoName) {
final PathPlannerAuto auto = new PathPlannerAuto(autoName);
if (autoName == "GKC-Amp-2-1Blue"
|| autoName == "GKC-Amp-1-2"
|| autoName == "GKC-Amp-1-2Blue"
|| autoName == "GKC-Amp-1-2Red"
|| autoName == "GKC-Amp-2-1Red") {
AUTO_CHOOSER.addOption(autoName, new ShootSubwoofer(ELEVATOR, WRIST, SHOOTER).andThen(auto));
return;
Expand Down

0 comments on commit dabf3ba

Please sign in to comment.