Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added rookie auto named roto #170

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 1 addition & 8 deletions .pathplanner/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,7 @@
"robotLength": 0.97,
"holonomicMode": true,
"pathFolders": [
"Amp Sweep",
"Drive Out",
"Mid Amp Sweep",
"Miscellaneous",
"Mid Source Sweep",
"Source Sweep",
"Spike Sweep",
"The MOP"
"Roto"
],
"autoFolders": [],
"defaultMaxVel": 3.0,
Expand Down
55 changes: 55 additions & 0 deletions src/main/deploy/pathplanner/autos/Roto.auto
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
{
"version": 1.0,
"startingPose": {
"position": {
"x": 1.36,
"y": 5.49
},
"rotation": 0
},
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "path",
"data": {
"pathName": "First Note"
}
},
{
"type": "path",
"data": {
"pathName": "First shot"
}
},
{
"type": "path",
"data": {
"pathName": "Second note"
}
},
{
"type": "path",
"data": {
"pathName": "Second Shot"
}
},
{
"type": "path",
"data": {
"pathName": "Third Note"
}
},
{
"type": "path",
"data": {
"pathName": "Third Shot"
}
}
]
}
},
"folder": null,
"choreoAuto": false
}
52 changes: 52 additions & 0 deletions src/main/deploy/pathplanner/paths/First Note.path
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{
"version": 1.0,
"waypoints": [
{
"anchor": {
"x": 1.36,
"y": 5.49
},
"prevControl": null,
"nextControl": {
"x": 2.3599999999999963,
"y": 5.49
},
"isLocked": false,
"linkedName": null
},
{
"anchor": {
"x": 2.91,
"y": 7.01
},
"prevControl": {
"x": 1.9100000000000001,
"y": 7.01
},
"nextControl": null,
"isLocked": false,
"linkedName": null
}
],
"rotationTargets": [],
"constraintZones": [],
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 3.0,
"maxAcceleration": 3.0,
"maxAngularVelocity": 540.0,
"maxAngularAcceleration": 720.0
},
"goalEndState": {
"velocity": 0,
"rotation": 0,
"rotateFast": false
},
"reversed": false,
"folder": "Roto",
"previewStartingState": {
"rotation": 0,
"velocity": 0
},
"useDefaultConstraints": true
}
52 changes: 52 additions & 0 deletions src/main/deploy/pathplanner/paths/First shot.path
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{
"version": 1.0,
"waypoints": [
{
"anchor": {
"x": 2.91,
"y": 7.01
},
"prevControl": null,
"nextControl": {
"x": 3.91,
"y": 7.01
},
"isLocked": false,
"linkedName": null
},
{
"anchor": {
"x": 2.91,
"y": 7.01
},
"prevControl": {
"x": 2.1728976807249394,
"y": 6.6053163737313385
},
"nextControl": null,
"isLocked": false,
"linkedName": null
}
],
"rotationTargets": [],
"constraintZones": [],
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 3.0,
"maxAcceleration": 3.0,
"maxAngularVelocity": 540.0,
"maxAngularAcceleration": 720.0
},
"goalEndState": {
"velocity": 0,
"rotation": 45.12426325078227,
"rotateFast": false
},
"reversed": false,
"folder": "Roto",
"previewStartingState": {
"rotation": 0,
"velocity": 0
},
"useDefaultConstraints": true
}
52 changes: 52 additions & 0 deletions src/main/deploy/pathplanner/paths/Second Shot.path
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{
"version": 1.0,
"waypoints": [
{
"anchor": {
"x": 2.91,
"y": 5.55
},
"prevControl": null,
"nextControl": {
"x": 3.91,
"y": 5.55
},
"isLocked": false,
"linkedName": null
},
{
"anchor": {
"x": 2.91,
"y": 5.55
},
"prevControl": {
"x": 1.9100000000000001,
"y": 5.55
},
"nextControl": null,
"isLocked": false,
"linkedName": null
}
],
"rotationTargets": [],
"constraintZones": [],
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 3.0,
"maxAcceleration": 3.0,
"maxAngularVelocity": 540.0,
"maxAngularAcceleration": 720.0
},
"goalEndState": {
"velocity": 0,
"rotation": 0,
"rotateFast": false
},
"reversed": false,
"folder": "Roto",
"previewStartingState": {
"rotation": 0,
"velocity": 0
},
"useDefaultConstraints": true
}
52 changes: 52 additions & 0 deletions src/main/deploy/pathplanner/paths/Second note.path
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{
"version": 1.0,
"waypoints": [
{
"anchor": {
"x": 2.91,
"y": 7.01
},
"prevControl": null,
"nextControl": {
"x": 3.91,
"y": 7.01
},
"isLocked": false,
"linkedName": null
},
{
"anchor": {
"x": 2.91,
"y": 5.549946874541637
},
"prevControl": {
"x": 1.9100000000000001,
"y": 5.549946874541637
},
"nextControl": null,
"isLocked": false,
"linkedName": null
}
],
"rotationTargets": [],
"constraintZones": [],
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 3.0,
"maxAcceleration": 3.0,
"maxAngularVelocity": 540.0,
"maxAngularAcceleration": 720.0
},
"goalEndState": {
"velocity": 0,
"rotation": 0,
"rotateFast": false
},
"reversed": false,
"folder": "Roto",
"previewStartingState": {
"rotation": 0,
"velocity": 0
},
"useDefaultConstraints": true
}
52 changes: 52 additions & 0 deletions src/main/deploy/pathplanner/paths/Third Note.path
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{
"version": 1.0,
"waypoints": [
{
"anchor": {
"x": 2.91,
"y": 5.55
},
"prevControl": null,
"nextControl": {
"x": 3.91,
"y": 5.55
},
"isLocked": false,
"linkedName": null
},
{
"anchor": {
"x": 2.3734379863125925,
"y": 4.38
},
"prevControl": {
"x": 1.3734379863125925,
"y": 4.38
},
"nextControl": null,
"isLocked": false,
"linkedName": null
}
],
"rotationTargets": [],
"constraintZones": [],
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 3.0,
"maxAcceleration": 3.0,
"maxAngularVelocity": 540.0,
"maxAngularAcceleration": 720.0
},
"goalEndState": {
"velocity": 0,
"rotation": -25.35453825103129,
"rotateFast": false
},
"reversed": false,
"folder": "Roto",
"previewStartingState": {
"rotation": 0,
"velocity": 0
},
"useDefaultConstraints": true
}
52 changes: 52 additions & 0 deletions src/main/deploy/pathplanner/paths/Third Shot.path
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{
"version": 1.0,
"waypoints": [
{
"anchor": {
"x": 2.3,
"y": 4.38
},
"prevControl": null,
"nextControl": {
"x": 3.2999999999999994,
"y": 4.38
},
"isLocked": false,
"linkedName": null
},
{
"anchor": {
"x": 2.37,
"y": 4.38
},
"prevControl": {
"x": 1.37,
"y": 4.38
},
"nextControl": null,
"isLocked": false,
"linkedName": null
}
],
"rotationTargets": [],
"constraintZones": [],
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 3.0,
"maxAcceleration": 3.0,
"maxAngularVelocity": 540.0,
"maxAngularAcceleration": 720.0
},
"goalEndState": {
"velocity": 0,
"rotation": 0,
"rotateFast": false
},
"reversed": false,
"folder": "Roto",
"previewStartingState": {
"rotation": 146.30507960119394,
"velocity": 0
},
"useDefaultConstraints": true
}