This repository has been archived by the owner on Jan 13, 2025. 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.
* driverOI handlePre * changed autons to old shootNow * adjusted auton path * re-added DriverShootVelocityIntake in driverOI changed auton to shoot off of subwoofer for first shot * added timeout to auto intake and removed incorrect context ownership * resets gyro to 180 degrees of current after auton is done * stop shooter at the end of an auton and other context stuff * Started making a more complete set of autons * renamed autoIntake * defualt 4800 * Shooter 4800 Changes and added center auton * slight path tweaks * spotless * updated path * Added midfield autons * increased moveClimbersToBottom speed * slightly decreased the intake feeding time into shooter for auton * lowered climber speed back down, since it doesn't actually slow down the auton * moved prox sensor threshold into a constant we should increase to above 200 * reverted changes * changed intake feeding time to 1.2 seconds * commented log * spotless --------- Co-authored-by: Leek <[email protected]>
- Loading branch information
Showing
41 changed files
with
581 additions
and
1,392 deletions.
There are no files selected for viewing
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
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
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
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
84 changes: 84 additions & 0 deletions
84
src/main/deploy/pathplanner/paths/Bottom Start to Bottom Midfield.path
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,84 @@ | ||
{ | ||
"version": 1.0, | ||
"waypoints": [ | ||
{ | ||
"anchor": { | ||
"x": 0.7132975145579924, | ||
"y": 4.40352978391142 | ||
}, | ||
"prevControl": null, | ||
"nextControl": { | ||
"x": 0.7139507427163004, | ||
"y": 3.9251886188957568 | ||
}, | ||
"isLocked": false, | ||
"linkedName": "Bottom Start" | ||
}, | ||
{ | ||
"anchor": { | ||
"x": 2.0177347623213766, | ||
"y": 1.3250436269391064 | ||
}, | ||
"prevControl": { | ||
"x": 0.5501092437370062, | ||
"y": 2.1267327303173134 | ||
}, | ||
"nextControl": { | ||
"x": 3.8443245108246487, | ||
"y": 0.32727063977417226 | ||
}, | ||
"isLocked": false, | ||
"linkedName": null | ||
}, | ||
{ | ||
"anchor": { | ||
"x": 8.214257072032662, | ||
"y": 0.7568538979670562 | ||
}, | ||
"prevControl": { | ||
"x": 7.759606904612749, | ||
"y": 1.1302501893122792 | ||
}, | ||
"nextControl": null, | ||
"isLocked": false, | ||
"linkedName": "Bottom Midfield" | ||
} | ||
], | ||
"rotationTargets": [ | ||
{ | ||
"waypointRelativePos": 0.5, | ||
"rotationDegrees": 0, | ||
"rotateFast": false | ||
}, | ||
{ | ||
"waypointRelativePos": 2.0, | ||
"rotationDegrees": 0.0, | ||
"rotateFast": false | ||
}, | ||
{ | ||
"waypointRelativePos": 2, | ||
"rotationDegrees": 0, | ||
"rotateFast": false | ||
} | ||
], | ||
"constraintZones": [], | ||
"eventMarkers": [], | ||
"globalConstraints": { | ||
"maxVelocity": 3.0, | ||
"maxAcceleration": 3.0, | ||
"maxAngularVelocity": 540.0, | ||
"maxAngularAcceleration": 720.0 | ||
}, | ||
"goalEndState": { | ||
"velocity": 0, | ||
"rotation": -60.0, | ||
"rotateFast": true | ||
}, | ||
"reversed": false, | ||
"folder": null, | ||
"previewStartingState": { | ||
"rotation": -60.0, | ||
"velocity": 0 | ||
}, | ||
"useDefaultConstraints": true | ||
} |
63 changes: 63 additions & 0 deletions
63
src/main/deploy/pathplanner/paths/Bottom Start to Bottom Piece.path
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,63 @@ | ||
{ | ||
"version": 1.0, | ||
"waypoints": [ | ||
{ | ||
"anchor": { | ||
"x": 0.7132975145579924, | ||
"y": 4.40352978391142 | ||
}, | ||
"prevControl": null, | ||
"nextControl": { | ||
"x": 1.717665500144788, | ||
"y": 4.387436617470951 | ||
}, | ||
"isLocked": false, | ||
"linkedName": "Bottom Start" | ||
}, | ||
{ | ||
"anchor": { | ||
"x": 2.496610386739292, | ||
"y": 4.342898333944817 | ||
}, | ||
"prevControl": { | ||
"x": 1.876340558235646, | ||
"y": 4.303526491317366 | ||
}, | ||
"nextControl": null, | ||
"isLocked": false, | ||
"linkedName": "Bottom Piece" | ||
} | ||
], | ||
"rotationTargets": [ | ||
{ | ||
"waypointRelativePos": 0.6, | ||
"rotationDegrees": 0, | ||
"rotateFast": true | ||
}, | ||
{ | ||
"waypointRelativePos": 0.05, | ||
"rotationDegrees": -60.0, | ||
"rotateFast": false | ||
} | ||
], | ||
"constraintZones": [], | ||
"eventMarkers": [], | ||
"globalConstraints": { | ||
"maxVelocity": 3.0, | ||
"maxAcceleration": 3.0, | ||
"maxAngularVelocity": 540.0, | ||
"maxAngularAcceleration": 720.0 | ||
}, | ||
"goalEndState": { | ||
"velocity": 0, | ||
"rotation": -31.5, | ||
"rotateFast": false | ||
}, | ||
"reversed": false, | ||
"folder": null, | ||
"previewStartingState": { | ||
"rotation": -60.0, | ||
"velocity": 0 | ||
}, | ||
"useDefaultConstraints": false | ||
} |
Oops, something went wrong.