Skip to content

Commit

Permalink
tour auton paths
Browse files Browse the repository at this point in the history
  • Loading branch information
cherriae committed Oct 29, 2024
1 parent 17b4958 commit 243a59c
Show file tree
Hide file tree
Showing 3 changed files with 159 additions and 0 deletions.
37 changes: 37 additions & 0 deletions src/main/deploy/pathplanner/autos/Tour.auto
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"version": 1.0,
"startingPose": {
"position": {
"x": 1.3274844567707151,
"y": 5.574556013976893
},
"rotation": 180.0
},
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "path",
"data": {
"pathName": "Tour Drive"
}
},
{
"type": "named",
"data": {
"name": "actuateInFast"
}
},
{
"type": "path",
"data": {
"pathName": "Reverse Tour Drive"
}
}
]
}
},
"folder": null,
"choreoAuto": false
}
49 changes: 49 additions & 0 deletions src/main/deploy/pathplanner/paths/Reverse Tour Drive.path
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
"version": 1.0,
"waypoints": [
{
"anchor": {
"x": 4.15,
"y": 5.57
},
"prevControl": null,
"nextControl": {
"x": 4.307159953959547,
"y": 5.560755296825909
},
"isLocked": false,
"linkedName": null
},
{
"anchor": {
"x": 1.33,
"y": 5.57
},
"prevControl": {
"x": 1.5428290499246664,
"y": 5.57
},
"nextControl": null,
"isLocked": false,
"linkedName": null
}
],
"rotationTargets": [],
"constraintZones": [],
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 4.6,
"maxAcceleration": 3.0,
"maxAngularVelocity": 450.0,
"maxAngularAcceleration": 360.0
},
"goalEndState": {
"velocity": 0,
"rotation": 0.0,
"rotateFast": false
},
"reversed": false,
"folder": null,
"previewStartingState": null,
"useDefaultConstraints": false
}
73 changes: 73 additions & 0 deletions src/main/deploy/pathplanner/paths/Tour Drive.path
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
{
"version": 1.0,
"waypoints": [
{
"anchor": {
"x": 1.3274844567707151,
"y": 5.574556013976893
},
"prevControl": null,
"nextControl": {
"x": 1.4846444107302628,
"y": 5.565311310802802
},
"isLocked": false,
"linkedName": null
},
{
"anchor": {
"x": 4.147118924868479,
"y": 5.574556013976893
},
"prevControl": {
"x": 3.9344907518643852,
"y": 5.565311310802802
},
"nextControl": null,
"isLocked": false,
"linkedName": null
}
],
"rotationTargets": [
{
"waypointRelativePos": 0.5,
"rotationDegrees": 180.0,
"rotateFast": false
}
],
"constraintZones": [],
"eventMarkers": [
{
"name": "New Event Marker",
"waypointRelativePos": 0.5,
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "actuateOut"
}
}
]
}
}
}
],
"globalConstraints": {
"maxVelocity": 4.6,
"maxAcceleration": 3.0,
"maxAngularVelocity": 450.0,
"maxAngularAcceleration": 360.0
},
"goalEndState": {
"velocity": 0,
"rotation": -178.99491399474581,
"rotateFast": false
},
"reversed": false,
"folder": null,
"previewStartingState": null,
"useDefaultConstraints": false
}

0 comments on commit 243a59c

Please sign in to comment.