Skip to content

Commit

Permalink
Merge pull request #33 from applepi-2067/comp/worlds
Browse files Browse the repository at this point in the history
  • Loading branch information
CJc318 authored Apr 22, 2024
2 parents 8c271fb + b16468e commit 8e2130d
Show file tree
Hide file tree
Showing 25 changed files with 555 additions and 200 deletions.
112 changes: 112 additions & 0 deletions src/main/deploy/pathplanner/autos/Close 4 note.auto
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
{
"version": 1.0,
"startingPose": {
"position": {
"x": 1.454549670868242,
"y": 5.539225686154654
},
"rotation": -179.91228251032354
},
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "CloseAimShoot"
}
},
{
"type": "deadline",
"data": {
"commands": [
{
"type": "path",
"data": {
"pathName": "Center note 2"
}
},
{
"type": "named",
"data": {
"name": "Pickup"
}
}
]
}
},
{
"type": "named",
"data": {
"name": "AimShoot"
}
},
{
"type": "deadline",
"data": {
"commands": [
{
"type": "path",
"data": {
"pathName": "Center 4 note #3"
}
},
{
"type": "named",
"data": {
"name": "Pickup"
}
}
]
}
},
{
"type": "path",
"data": {
"pathName": "Center 4 note #3 shoot"
}
},
{
"type": "named",
"data": {
"name": "AimShoot"
}
},
{
"type": "deadline",
"data": {
"commands": [
{
"type": "path",
"data": {
"pathName": "Center 4 note #4"
}
},
{
"type": "named",
"data": {
"name": "Pickup"
}
}
]
}
},
{
"type": "named",
"data": {
"name": "AimShoot"
}
},
{
"type": "named",
"data": {
"name": "KillShooter"
}
}
]
}
},
"folder": "Center",
"choreoAuto": false
}
10 changes: 5 additions & 5 deletions src/main/deploy/pathplanner/paths/Amp midline note path 1.path
Original file line number Diff line number Diff line change
Expand Up @@ -32,27 +32,27 @@
},
{
"anchor": {
"x": 8.35,
"x": 8.3,
"y": 7.37782702384235
},
"prevControl": {
"x": 8.35,
"x": 8.3,
"y": 7.42782702384235
},
"nextControl": {
"x": 8.35,
"x": 8.3,
"y": 6.891238484474708
},
"isLocked": false,
"linkedName": null
},
{
"anchor": {
"x": 8.35,
"x": 8.3,
"y": 3.1385041942694443
},
"prevControl": {
"x": 8.35,
"x": 8.3,
"y": 3.7623672132546333
},
"nextControl": null,
Expand Down
12 changes: 6 additions & 6 deletions src/main/deploy/pathplanner/paths/Amp midline note path 2.path
Original file line number Diff line number Diff line change
Expand Up @@ -16,27 +16,27 @@
},
{
"anchor": {
"x": 8.35,
"x": 8.3,
"y": 5.796864090161846
},
"prevControl": {
"x": 8.35,
"x": 8.3,
"y": 5.846864090161846
},
"nextControl": {
"x": 8.35,
"x": 8.3,
"y": 5.310275550794204
},
"isLocked": false,
"linkedName": null
},
{
"anchor": {
"x": 8.35,
"x": 8.3,
"y": 3.1385041942694443
},
"prevControl": {
"x": 8.35,
"x": 8.3,
"y": 3.7623672132546333
},
"nextControl": null,
Expand All @@ -46,7 +46,7 @@
],
"rotationTargets": [
{
"waypointRelativePos": 0.7,
"waypointRelativePos": 0.75,
"rotationDegrees": 159.4149015548405,
"rotateFast": false
},
Expand Down
4 changes: 2 additions & 2 deletions src/main/deploy/pathplanner/paths/Amp return path.path
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
"waypoints": [
{
"anchor": {
"x": 8.35,
"x": 8.3,
"y": 3.1385041942694443
},
"prevControl": null,
"nextControl": {
"x": 7.406811289942122,
"x": 7.356811289942123,
"y": 6.2770083885388885
},
"isLocked": false,
Expand Down
52 changes: 52 additions & 0 deletions src/main/deploy/pathplanner/paths/Center 4 note #3 shoot.path
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{
"version": 1.0,
"waypoints": [
{
"anchor": {
"x": 2.72,
"y": 4.1
},
"prevControl": null,
"nextControl": {
"x": 2.8474348176766533,
"y": 4.902655419345926
},
"isLocked": false,
"linkedName": null
},
{
"anchor": {
"x": 2.9,
"y": 5.54
},
"prevControl": {
"x": 2.6883665539260906,
"y": 4.839177573091988
},
"nextControl": null,
"isLocked": false,
"linkedName": "Center shooting"
}
],
"rotationTargets": [],
"constraintZones": [],
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 4.0,
"maxAcceleration": 4.0,
"maxAngularVelocity": 360.0,
"maxAngularAcceleration": 720.0
},
"goalEndState": {
"velocity": 0,
"rotation": -179.78189618992894,
"rotateFast": false
},
"reversed": false,
"folder": "Center",
"previewStartingState": {
"rotation": -179.57001058992586,
"velocity": 0
},
"useDefaultConstraints": true
}
58 changes: 58 additions & 0 deletions src/main/deploy/pathplanner/paths/Center 4 note #3.path
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
{
"version": 1.0,
"waypoints": [
{
"anchor": {
"x": 2.9,
"y": 5.54
},
"prevControl": null,
"nextControl": {
"x": 0.9744647050697612,
"y": 5.727867420647122
},
"isLocked": false,
"linkedName": "Center shooting"
},
{
"anchor": {
"x": 2.72,
"y": 4.095579945545856
},
"prevControl": {
"x": 0.579889754867229,
"y": 3.778190714276166
},
"nextControl": null,
"isLocked": false,
"linkedName": null
}
],
"rotationTargets": [
{
"waypointRelativePos": 0.95,
"rotationDegrees": 180.0,
"rotateFast": false
}
],
"constraintZones": [],
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 4.0,
"maxAcceleration": 4.0,
"maxAngularVelocity": 360.0,
"maxAngularAcceleration": 720.0
},
"goalEndState": {
"velocity": 0,
"rotation": 180.0,
"rotateFast": false
},
"reversed": false,
"folder": "Center",
"previewStartingState": {
"rotation": -178.87578933015092,
"velocity": 0
},
"useDefaultConstraints": true
}
58 changes: 58 additions & 0 deletions src/main/deploy/pathplanner/paths/Center 4 note #4.path
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
{
"version": 1.0,
"waypoints": [
{
"anchor": {
"x": 2.9,
"y": 5.54
},
"prevControl": null,
"nextControl": {
"x": 1.3644000463439525,
"y": 6.462396784442692
},
"isLocked": false,
"linkedName": "Center shooting"
},
{
"anchor": {
"x": 3.05,
"y": 6.991369417831561
},
"prevControl": {
"x": 1.2242156063259497,
"y": 7.151584829485449
},
"nextControl": null,
"isLocked": false,
"linkedName": "Amp shooting"
}
],
"rotationTargets": [
{
"waypointRelativePos": 0.85,
"rotationDegrees": 180.0,
"rotateFast": false
}
],
"constraintZones": [],
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 4.0,
"maxAcceleration": 4.0,
"maxAngularVelocity": 360.0,
"maxAngularAcceleration": 720.0
},
"goalEndState": {
"velocity": 0,
"rotation": -179.65198010019958,
"rotateFast": false
},
"reversed": false,
"folder": "Center",
"previewStartingState": {
"rotation": -179.83678526605175,
"velocity": 0
},
"useDefaultConstraints": true
}
Loading

0 comments on commit 8e2130d

Please sign in to comment.