Skip to content

Commit

Permalink
we all have a great story to tell
Browse files Browse the repository at this point in the history
  • Loading branch information
Oliver-Cushman committed Oct 31, 2024
1 parent 8b5f624 commit 92ae8b7
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 8 deletions.
8 changes: 7 additions & 1 deletion src/main/deploy/pathplanner/paths/C1 L.path
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,13 @@
"linkedName": "L"
}
],
"rotationTargets": [],
"rotationTargets": [
{
"waypointRelativePos": 0.7,
"rotationDegrees": -167.01,
"rotateFast": false
}
],
"constraintZones": [
{
"name": "GrabVision",
Expand Down
6 changes: 3 additions & 3 deletions src/main/deploy/pathplanner/paths/C2 L.path
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
"y": 6.499514282908736
},
"prevControl": {
"x": 5.272282384793014,
"y": 6.593200975274989
"x": 5.272284531787999,
"y": 6.593167959384961
},
"nextControl": null,
"isLocked": false,
Expand All @@ -31,7 +31,7 @@
"rotationTargets": [
{
"waypointRelativePos": 0.7,
"rotationDegrees": -169.07393297298722,
"rotationDegrees": -168.27,
"rotateFast": false
}
],
Expand Down
2 changes: 1 addition & 1 deletion src/main/deploy/pathplanner/paths/C3 M.path
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
},
"goalEndState": {
"velocity": 0,
"rotation": 177.65775021147127,
"rotation": 173.27446529773997,
"rotateFast": false
},
"reversed": false,
Expand Down
2 changes: 1 addition & 1 deletion src/main/deploy/pathplanner/paths/C4 R.path
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"rotationTargets": [
{
"waypointRelativePos": 0.75,
"rotationDegrees": 144.2413348418667,
"rotationDegrees": 143.91,
"rotateFast": false
}
],
Expand Down
2 changes: 1 addition & 1 deletion src/main/deploy/pathplanner/paths/C5 R.path
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"rotationTargets": [
{
"waypointRelativePos": 0.7,
"rotationDegrees": 142.93487488555044,
"rotationDegrees": 144.48,
"rotateFast": false
}
],
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/frc/robot/RobotContainer.java
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ private void configureTimedEvents() {
.onTrue(pathPlannerStorage.updatePathViewerCommand())
.onFalse(pathPlannerStorage.updatePathViewerCommand());

new Trigger(() -> PoseCalculations.isAlignedToAmp(robotPose2d)).or(shooterCalc.readyToShootSupplier())
new Trigger(() -> PoseCalculations.isAlignedToAmp(robotPose2d))
.onTrue(driver.setRumble(() -> 0.5))
.onFalse(driver.setRumble(() -> 0));

Expand Down

0 comments on commit 92ae8b7

Please sign in to comment.