Skip to content
This repository has been archived by the owner on Jan 6, 2025. It is now read-only.

Auton #9

Merged
merged 7 commits into from
Nov 4, 2024
Merged
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
11 changes: 8 additions & 3 deletions .pathplanner/settings.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
{
"robotWidth": 0.71,
"robotLength": 0.71,
"robotWidth": 0.89,
"robotLength": 0.89,
"holonomicMode": true,
"pathFolders": [],
"pathFolders": [
"3 Notes StageToTop",
"3 Notes TopToStage",
"Bottom ScoreMiddle",
"Bottom Passing"
],
"autoFolders": [],
"defaultMaxVel": 4.3,
"defaultMaxAccel": 2.0,
Expand Down
139 changes: 139 additions & 0 deletions src/main/deploy/pathplanner/autos/3 Notes StageToTop.auto
Original file line number Diff line number Diff line change
@@ -0,0 +1,139 @@
{
"version": 1.0,
"startingPose": null,
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "ShootSpeakerUpClose"
}
},
{
"type": "path",
"data": {
"pathName": "StageToTop P1"
}
},
{
"type": "race",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "Intake"
}
},
{
"type": "sequential",
"data": {
"commands": [
{
"type": "path",
"data": {
"pathName": "StageTopTop P2"
}
},
{
"type": "wait",
"data": {
"waitTime": 1.5
}
}
]
}
}
]
}
},
{
"type": "named",
"data": {
"name": "AutoShootNoteStaticAnyDistance"
}
},
{
"type": "race",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "Intake"
}
},
{
"type": "sequential",
"data": {
"commands": [
{
"type": "path",
"data": {
"pathName": "StageToTop P3"
}
},
{
"type": "wait",
"data": {
"waitTime": 1.5
}
}
]
}
}
]
}
},
{
"type": "named",
"data": {
"name": "AutoShootNoteStaticAnyDistance"
}
},
{
"type": "race",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "Intake"
}
},
{
"type": "sequential",
"data": {
"commands": [
{
"type": "path",
"data": {
"pathName": "StageToTop P4"
}
},
{
"type": "wait",
"data": {
"waitTime": 1.5
}
}
]
}
}
]
}
},
{
"type": "named",
"data": {
"name": "AutoShootNoteStaticAnyDistance"
}
}
]
}
},
"folder": null,
"choreoAuto": false
}
139 changes: 139 additions & 0 deletions src/main/deploy/pathplanner/autos/3 Notes TopToStage.auto
Original file line number Diff line number Diff line change
@@ -0,0 +1,139 @@
{
"version": 1.0,
"startingPose": null,
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "ShootSpeakerUpClose"
}
},
{
"type": "race",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "Intake"
}
},
{
"type": "sequential",
"data": {
"commands": [
{
"type": "path",
"data": {
"pathName": "TopToStage P1"
}
},
{
"type": "wait",
"data": {
"waitTime": 1.5
}
}
]
}
}
]
}
},
{
"type": "named",
"data": {
"name": "AutoShootNoteStaticAnyDistance"
}
},
{
"type": "race",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "Intake"
}
},
{
"type": "sequential",
"data": {
"commands": [
{
"type": "path",
"data": {
"pathName": "TopToStage P2"
}
},
{
"type": "wait",
"data": {
"waitTime": 1.5
}
}
]
}
}
]
}
},
{
"type": "named",
"data": {
"name": "AutoShootNoteStaticAnyDistance"
}
},
{
"type": "race",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "Intake"
}
},
{
"type": "sequential",
"data": {
"commands": [
{
"type": "path",
"data": {
"pathName": "TopToStage P3"
}
},
{
"type": "wait",
"data": {
"waitTime": 1.5
}
}
]
}
}
]
}
},
{
"type": "path",
"data": {
"pathName": "TopToStage P4"
}
},
{
"type": "named",
"data": {
"name": "AutoShootNoteStaticAnyDistance"
}
}
]
}
},
"folder": null,
"choreoAuto": false
}
49 changes: 49 additions & 0 deletions src/main/deploy/pathplanner/autos/Bottom Passing.auto
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
"version": 1.0,
"startingPose": null,
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "path",
"data": {
"pathName": "Bottom Passing P1"
}
},
{
"type": "named",
"data": {
"name": "AutoPassNote"
}
},
{
"type": "path",
"data": {
"pathName": "Bottom Passing P2"
}
},
{
"type": "named",
"data": {
"name": "AutoPassNote"
}
},
{
"type": "path",
"data": {
"pathName": "Bottom Passing P3"
}
},
{
"type": "named",
"data": {
"name": "AutoPassNote"
}
}
]
}
},
"folder": null,
"choreoAuto": false
}
Loading
Loading