Skip to content

Commit

Permalink
Merge branch 'Robot-2' of github.com:STMARobotics/frc-7028-2024 into …
Browse files Browse the repository at this point in the history
…Robot-2
  • Loading branch information
math-rad committed Feb 17, 2024
2 parents 6070ef3 + 5371910 commit 64a45b9
Show file tree
Hide file tree
Showing 9 changed files with 685 additions and 73 deletions.
2 changes: 1 addition & 1 deletion src/main/deploy/pathplanner/autos/Tests.auto
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
{
"type": "path",
"data": {
"pathName": "SimplePath"
"pathName": "6NoteAuto"
}
}
]
Expand Down
262 changes: 262 additions & 0 deletions src/main/deploy/pathplanner/paths/6NoteAuto.path
Original file line number Diff line number Diff line change
@@ -0,0 +1,262 @@
{
"version": 1.0,
"waypoints": [
{
"anchor": {
"x": 1.8058747672416873,
"y": 2.3538781457020823
},
"prevControl": null,
"nextControl": {
"x": 2.2158747672416874,
"y": 2.3538781457020823
},
"isLocked": false,
"linkedName": null
},
{
"anchor": {
"x": 2.4499707772596704,
"y": 4.11050362756931
},
"prevControl": {
"x": 2.4616816138054523,
"y": 3.794311040833209
},
"nextControl": {
"x": 2.4359928376783206,
"y": 4.487907996265739
},
"isLocked": false,
"linkedName": null
},
{
"anchor": {
"x": 2.4499707772596704,
"y": 5.515804013063089
},
"prevControl": {
"x": 2.4612511462737876,
"y": 5.26763589475252
},
"nextControl": {
"x": 2.4382599407138885,
"y": 5.773442417070284
},
"isLocked": false,
"linkedName": null
},
{
"anchor": {
"x": 2.578789979263267,
"y": 6.885971888919526
},
"prevControl": {
"x": 2.5202357965343594,
"y": 6.593200975274988
},
"nextControl": {
"x": 2.6500242170023935,
"y": 7.242143077615159
},
"isLocked": false,
"linkedName": null
},
{
"anchor": {
"x": 7.801823078681821,
"y": 7.401248696933913
},
"prevControl": {
"x": 7.790112242136038,
"y": 7.506646225845947
},
"nextControl": {
"x": 7.815324958629344,
"y": 7.279731777406212
},
"isLocked": false,
"linkedName": null
},
{
"anchor": {
"x": 6.021775923723031,
"y": 6.733731013824367
},
"prevControl": {
"x": 5.999463605790409,
"y": 6.878761080386409
},
"nextControl": {
"x": 6.045197596814594,
"y": 6.581490138729208
},
"isLocked": false,
"linkedName": null
},
{
"anchor": {
"x": 7.918931444139636,
"y": 5.960815801802787
},
"prevControl": {
"x": 7.9891964634143235,
"y": 6.183321696172636
},
"nextControl": {
"x": 7.7983065772178835,
"y": 5.5788370565505625
},
"isLocked": false,
"linkedName": null
},
{
"anchor": {
"x": 6.021775923723031,
"y": 6.323851734722014
},
"prevControl": {
"x": 5.916378394810998,
"y": 6.113056676897948
},
"nextControl": null,
"isLocked": false,
"linkedName": null
}
],
"rotationTargets": [
{
"waypointRelativePos": 0.6,
"rotationDegrees": 46.04162667600982,
"rotateFast": false
},
{
"waypointRelativePos": 1.7,
"rotationDegrees": 43.26372034280526,
"rotateFast": false
},
{
"waypointRelativePos": 2.85,
"rotationDegrees": 30.948753619918676,
"rotateFast": false
},
{
"waypointRelativePos": 6,
"rotationDegrees": -25.8209919741892,
"rotateFast": false
},
{
"waypointRelativePos": 5,
"rotationDegrees": 23.198590513648277,
"rotateFast": false
},
{
"waypointRelativePos": 4,
"rotationDegrees": 3.6913859864512535,
"rotateFast": false
}
],
"constraintZones": [],
"eventMarkers": [
{
"name": "New Event Marker",
"waypointRelativePos": 1.9500000000000002,
"command": {
"type": "parallel",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "autoAimShoot"
}
}
]
}
}
},
{
"name": "New Event Marker",
"waypointRelativePos": 0,
"command": {
"type": "parallel",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "autoAimShoot"
}
}
]
}
}
},
{
"name": "New Event Marker",
"waypointRelativePos": 2.9000000000000004,
"command": {
"type": "parallel",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "autoAimShoot"
}
}
]
}
}
},
{
"name": "New Event Marker",
"waypointRelativePos": 4.95,
"command": {
"type": "parallel",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "autoAimShoot"
}
}
]
}
}
},
{
"name": "New Event Marker",
"waypointRelativePos": 6.9,
"command": {
"type": "parallel",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "autoAimShoot"
}
}
]
}
}
}
],
"globalConstraints": {
"maxVelocity": 3.0,
"maxAcceleration": 3,
"maxAngularVelocity": 540,
"maxAngularAcceleration": 720
},
"goalEndState": {
"velocity": 0,
"rotation": 19.85521436932121,
"rotateFast": false
},
"reversed": false,
"folder": null,
"previewStartingState": null,
"useDefaultConstraints": false
}
Loading

0 comments on commit 64a45b9

Please sign in to comment.