Skip to content

Commit

Permalink
SCREAM
Browse files Browse the repository at this point in the history
  • Loading branch information
Nins97 committed Mar 6, 2024
1 parent 2926bca commit 8b472f7
Show file tree
Hide file tree
Showing 49 changed files with 399 additions and 132 deletions.
2 changes: 1 addition & 1 deletion .pathplanner/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"Center Speaker",
"Source Speaker"
],
"defaultMaxVel": 4.0,
"defaultMaxVel": 3.8,
"defaultMaxAccel": 4.0,
"defaultMaxAngVel": 500.0,
"defaultMaxAngAccel": 2000.0,
Expand Down
2 changes: 1 addition & 1 deletion src/main/deploy/pathplanner/autos/AmpSpeaker1Note.auto
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"startingPose": {
"position": {
"x": 0.74,
"y": 6.6
"y": 6.61
},
"rotation": 60.0
},
Expand Down
14 changes: 7 additions & 7 deletions src/main/deploy/pathplanner/autos/AmpSpeaker2NoteCloseAmp.auto
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"startingPose": {
"position": {
"x": 0.74,
"y": 6.596235535725297
"y": 6.61
},
"rotation": 60.0
},
Expand All @@ -27,12 +27,6 @@
"type": "deadline",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "IntakeUntilNote"
}
},
{
"type": "sequential",
"data": {
Expand All @@ -57,6 +51,12 @@
}
]
}
},
{
"type": "named",
"data": {
"name": "IntakeUntilNote"
}
}
]
}
Expand Down
16 changes: 8 additions & 8 deletions src/main/deploy/pathplanner/autos/AmpSpeaker2NoteFarAmp.auto
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"startingPose": {
"position": {
"x": 0.74,
"y": 6.596235535725297
"y": 6.61
},
"rotation": 60.0
},
Expand All @@ -27,6 +27,12 @@
"type": "deadline",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "IntakeUntilNote"
}
},
{
"type": "sequential",
"data": {
Expand All @@ -40,7 +46,7 @@
{
"type": "wait",
"data": {
"waitTime": 0.5
"waitTime": 0.25
}
},
{
Expand All @@ -51,12 +57,6 @@
}
]
}
},
{
"type": "named",
"data": {
"name": "IntakeUntilNote"
}
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"startingPose": {
"position": {
"x": 0.74,
"y": 6.596235535725297
"y": 6.61
},
"rotation": 60.0
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,6 @@
"name": "ShootNote"
}
},
{
"type": "wait",
"data": {
"waitTime": 0.5
}
},
{
"type": "deadline",
"data": {
Expand All @@ -46,7 +40,7 @@
{
"type": "wait",
"data": {
"waitTime": 0.5
"waitTime": 0.3
}
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
"version": 1.0,
"startingPose": {
"position": {
"x": 1.29,
"y": 5.45
"x": 0.74,
"y": 4.48
},
"rotation": 0.0
"rotation": -60.0
},
"command": {
"type": "sequential",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
}
},
{
"type": "deadline",
"type": "parallel",
"data": {
"commands": [
{
Expand Down Expand Up @@ -112,7 +112,7 @@
}
},
{
"type": "deadline",
"type": "parallel",
"data": {
"commands": [
{
Expand Down
25 changes: 25 additions & 0 deletions src/main/deploy/pathplanner/autos/TestAuto.auto
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"version": 1.0,
"startingPose": {
"position": {
"x": 2,
"y": 7.0
},
"rotation": 0
},
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "path",
"data": {
"pathName": "TestPath"
}
}
]
}
},
"folder": null,
"choreoAuto": false
}
2 changes: 1 addition & 1 deletion src/main/deploy/pathplanner/paths/AmpMobility.path
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"constraintZones": [],
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 4.0,
"maxVelocity": 3.8,
"maxAcceleration": 4.0,
"maxAngularVelocity": 500.0,
"maxAngularAcceleration": 2000.0
Expand Down
2 changes: 1 addition & 1 deletion src/main/deploy/pathplanner/paths/AmpSpeaker-CloseAmp.path
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
],
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 4.0,
"maxVelocity": 3.8,
"maxAcceleration": 4.0,
"maxAngularVelocity": 500.0,
"maxAngularAcceleration": 2000.0
Expand Down
2 changes: 1 addition & 1 deletion src/main/deploy/pathplanner/paths/AmpSpeaker-FarAmp.path
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
],
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 4.0,
"maxVelocity": 3.8,
"maxAcceleration": 4.0,
"maxAngularVelocity": 500.0,
"maxAngularAcceleration": 2000.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
],
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 4.0,
"maxVelocity": 3.8,
"maxAcceleration": 4.0,
"maxAngularVelocity": 500.0,
"maxAngularAcceleration": 2000.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
],
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 4.0,
"maxVelocity": 3.8,
"maxAcceleration": 4.0,
"maxAngularVelocity": 500.0,
"maxAngularAcceleration": 2000.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@
},
{
"anchor": {
"x": 2.58076817012177,
"x": 2.7,
"y": 4.100916501780468
},
"prevControl": {
"x": 2.53076817012177,
"x": 2.6500000000000004,
"y": 4.100916501780468
},
"nextControl": null,
Expand Down Expand Up @@ -71,7 +71,7 @@
],
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 4.0,
"maxVelocity": 3.8,
"maxAcceleration": 4.0,
"maxAngularVelocity": 500.0,
"maxAngularAcceleration": 2000.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,24 +8,24 @@
},
"prevControl": null,
"nextControl": {
"x": 2.2850623701247397,
"y": 5.453516007032013
"x": 2.2655457718322847,
"y": 5.7999534332402
},
"isLocked": false,
"linkedName": "CenterSpeaker"
},
{
"anchor": {
"x": 5.657051569387574,
"y": 6.227974218780084
"x": 5.840782251008946,
"y": 6.363273643213954
},
"prevControl": {
"x": 4.149611502585436,
"y": 6.245087746886545
"x": 4.333342184206808,
"y": 6.3803871713204146
},
"nextControl": {
"x": 6.33691527859793,
"y": 6.220255924068165
"x": 6.520645960219302,
"y": 6.355555348502034
},
"isLocked": false,
"linkedName": null
Expand Down Expand Up @@ -75,7 +75,7 @@
"constraintZones": [],
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 4.0,
"maxVelocity": 3.8,
"maxAcceleration": 4.0,
"maxAngularVelocity": 500.0,
"maxAngularAcceleration": 2000.0
Expand Down
14 changes: 7 additions & 7 deletions src/main/deploy/pathplanner/paths/CenterSpeaker-FarMidAmp.path
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,16 @@
},
{
"anchor": {
"x": 5.914181342244099,
"y": 6.302167118229941
"x": 5.879857171751381,
"y": 6.592616111158148
},
"prevControl": {
"x": 5.57760624348574,
"y": 6.302167118229941
"x": 5.543282072993022,
"y": 6.592616111158148
},
"nextControl": {
"x": 6.492415011577995,
"y": 6.302167118229941
"x": 6.458090841085276,
"y": 6.592616111158148
},
"isLocked": false,
"linkedName": null
Expand Down Expand Up @@ -98,7 +98,7 @@
],
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 4.0,
"maxVelocity": 3.8,
"maxAcceleration": 4.0,
"maxAngularVelocity": 500.0,
"maxAngularAcceleration": 2000.0
Expand Down
2 changes: 1 addition & 1 deletion src/main/deploy/pathplanner/paths/CloseAmp-AmpSpeaker.path
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"constraintZones": [],
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 4.0,
"maxVelocity": 3.8,
"maxAcceleration": 4.0,
"maxAngularVelocity": 500.0,
"maxAngularAcceleration": 2000.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"constraintZones": [],
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 4.0,
"maxVelocity": 3.8,
"maxAcceleration": 4.0,
"maxAngularVelocity": 500.0,
"maxAngularAcceleration": 2000.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"constraintZones": [],
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 4.0,
"maxVelocity": 3.8,
"maxAcceleration": 4.0,
"maxAngularVelocity": 500.0,
"maxAngularAcceleration": 2000.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
"waypoints": [
{
"anchor": {
"x": 2.58076817012177,
"x": 2.7,
"y": 4.100916501780468
},
"prevControl": null,
"nextControl": {
"x": 1.9444219888439773,
"x": 2.0636538187222073,
"y": 4.73014246028492
},
"isLocked": false,
Expand Down Expand Up @@ -38,7 +38,7 @@
"constraintZones": [],
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 4.0,
"maxVelocity": 3.8,
"maxAcceleration": 4.0,
"maxAngularVelocity": 500.0,
"maxAngularAcceleration": 2000.0
Expand Down
Loading

0 comments on commit 8b472f7

Please sign in to comment.