Skip to content
Draft
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
19 changes: 19 additions & 0 deletions src/main/deploy/pathplanner/autos/Middle Cross The Line.auto
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"version": "2025.0",
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "path",
"data": {
"pathName": "Middle Start Cross The Line"
}
}
]
}
},
"resetOdom": true,
"folder": null,
"choreoAuto": false
}
54 changes: 54 additions & 0 deletions src/main/deploy/pathplanner/paths/Middle Start Cross The Line.path
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{
"version": "2025.0",
"waypoints": [
{
"anchor": {
"x": 7.152226027397259,
"y": 4.0926155821917805
},
"prevControl": null,
"nextControl": {
"x": 6.902226027397259,
"y": 4.0926155821917805
},
"isLocked": false,
"linkedName": null
},
{
"anchor": {
"x": 6.86673801369863,
"y": 4.0926155821917805
},
"prevControl": {
"x": 7.11673801369863,
"y": 4.0926155821917805
},
"nextControl": null,
"isLocked": false,
"linkedName": null
}
],
"rotationTargets": [],
"constraintZones": [],
"pointTowardsZones": [],
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 3.0,
"maxAcceleration": 3.0,
"maxAngularVelocity": 540.0,
"maxAngularAcceleration": 720.0,
"nominalVoltage": 12.0,
"unlimited": false
},
"goalEndState": {
"velocity": 0,
"rotation": 180.0
},
"reversed": false,
"folder": null,
"idealStartingState": {
"velocity": 0,
"rotation": 180.0
},
"useDefaultConstraints": true
}
2 changes: 1 addition & 1 deletion src/main/java/frc/robot/RobotContainer.java
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public RobotContainer() {
);

m_chooser.setDefaultOption("Empty Auto", new PathPlannerAuto("Empty Auto"));
m_chooser.addOption("Some Auto", new PathPlannerAuto("Some Auto"));
m_chooser.addOption("Middle Cross The Line", new PathPlannerAuto("Middle Cross The Line"));
SmartDashboard.putData(m_chooser);
}

Expand Down