This repository has been archived by the owner on Nov 13, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
auto intake in autos (current center autos aren't very safe yet)
- Loading branch information
1 parent
accfd4f
commit f677330
Showing
4 changed files
with
471 additions
and
0 deletions.
There are no files selected for viewing
233 changes: 233 additions & 0 deletions
233
src/main/deploy/pathplanner/autos/Center Shoot 3 vision.auto
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,233 @@ | ||
{ | ||
"version": 1.0, | ||
"startingPose": { | ||
"position": { | ||
"x": 1.42, | ||
"y": 5.527514849608872 | ||
}, | ||
"rotation": 0 | ||
}, | ||
"command": { | ||
"type": "sequential", | ||
"data": { | ||
"commands": [ | ||
{ | ||
"type": "deadline", | ||
"data": { | ||
"commands": [ | ||
{ | ||
"type": "named", | ||
"data": { | ||
"name": "DeployIntake" | ||
} | ||
}, | ||
{ | ||
"type": "named", | ||
"data": { | ||
"name": "LiftArmToDeployDemonHorns" | ||
} | ||
}, | ||
{ | ||
"type": "named", | ||
"data": { | ||
"name": "RampShooterForManualShot" | ||
} | ||
}, | ||
{ | ||
"type": "named", | ||
"data": { | ||
"name": "SwerveStraighten" | ||
} | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"type": "sequential", | ||
"data": { | ||
"commands": [ | ||
{ | ||
"type": "named", | ||
"data": { | ||
"name": "SetShootFromSubwoofer" | ||
} | ||
}, | ||
{ | ||
"type": "wait", | ||
"data": { | ||
"waitTime": 0.5 | ||
} | ||
}, | ||
{ | ||
"type": "named", | ||
"data": { | ||
"name": "Feed" | ||
} | ||
}, | ||
{ | ||
"type": "named", | ||
"data": { | ||
"name": "SetArmAndShooterForIntake" | ||
} | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"type": "sequential", | ||
"data": { | ||
"commands": [ | ||
{ | ||
"type": "race", | ||
"data": { | ||
"commands": [ | ||
{ | ||
"type": "path", | ||
"data": { | ||
"pathName": "center get center" | ||
} | ||
}, | ||
{ | ||
"type": "named", | ||
"data": { | ||
"name": "NoteVisible" | ||
} | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"type": "named", | ||
"data": { | ||
"name": "AutoIntake" | ||
} | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"type": "sequential", | ||
"data": { | ||
"commands": [ | ||
{ | ||
"type": "sequential", | ||
"data": { | ||
"commands": [ | ||
{ | ||
"type": "path", | ||
"data": { | ||
"pathName": "return center get center" | ||
} | ||
}, | ||
{ | ||
"type": "named", | ||
"data": { | ||
"name": "StopSwerves" | ||
} | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"type": "named", | ||
"data": { | ||
"name": "SetShootFromSubwoofer" | ||
} | ||
}, | ||
{ | ||
"type": "named", | ||
"data": { | ||
"name": "Feed" | ||
} | ||
}, | ||
{ | ||
"type": "named", | ||
"data": { | ||
"name": "SetArmAndShooterForIntake" | ||
} | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"type": "parallel", | ||
"data": { | ||
"commands": [ | ||
{ | ||
"type": "sequential", | ||
"data": { | ||
"commands": [ | ||
{ | ||
"type": "path", | ||
"data": { | ||
"pathName": "center get podium" | ||
} | ||
}, | ||
{ | ||
"type": "named", | ||
"data": { | ||
"name": "StopSwerves" | ||
} | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"type": "named", | ||
"data": { | ||
"name": "HasNote" | ||
} | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"type": "sequential", | ||
"data": { | ||
"commands": [ | ||
{ | ||
"type": "sequential", | ||
"data": { | ||
"commands": [ | ||
{ | ||
"type": "path", | ||
"data": { | ||
"pathName": "return center get podium" | ||
} | ||
}, | ||
{ | ||
"type": "named", | ||
"data": { | ||
"name": "StopSwerves" | ||
} | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"type": "named", | ||
"data": { | ||
"name": "SetShootFromSubwoofer" | ||
} | ||
}, | ||
{ | ||
"type": "named", | ||
"data": { | ||
"name": "Feed" | ||
} | ||
}, | ||
{ | ||
"type": "named", | ||
"data": { | ||
"name": "StopShooter" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
] | ||
} | ||
}, | ||
"folder": null, | ||
"choreoAuto": false | ||
} |
Oops, something went wrong.