Skip to content

Commit

Permalink
Merge pull request #37 from OakvilleDynamics/new-autopaths
Browse files Browse the repository at this point in the history
  • Loading branch information
garrettsummerfi3ld committed Mar 21, 2024
2 parents bf27038 + a180a55 commit 5e2a24a
Show file tree
Hide file tree
Showing 25 changed files with 725 additions and 87 deletions.
25 changes: 0 additions & 25 deletions src/main/deploy/pathplanner/autos/BL Path.auto

This file was deleted.

43 changes: 43 additions & 0 deletions src/main/deploy/pathplanner/autos/BLS Auto.auto
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"version": 1.0,
"startingPose": {
"position": {
"x": 0.7275269251393154,
"y": 4.268366371490578
},
"rotation": 58.172553423326896
},
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "shootConveyor"
}
},
{
"type": "named",
"data": {
"name": "shootFlyWheel"
}
},
{
"type": "wait",
"data": {
"waitTime": 2.0
}
},
{
"type": "path",
"data": {
"pathName": "BLS Path"
}
}
]
}
},
"folder": null,
"choreoAuto": false
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"version": 1.0,
"startingPose": {
"position": {
"x": 16.29244648802688,
"y": 5.557362183607978
"x": 5.849566570928014,
"y": 4.315142989260338
},
"rotation": 0
},
Expand Down
43 changes: 43 additions & 0 deletions src/main/deploy/pathplanner/autos/BRS Auto.auto
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"version": 1.0,
"startingPose": {
"position": {
"x": 0.79769185179396,
"y": 4.572414386994017
},
"rotation": -62.59242456218156
},
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "shootConveyor"
}
},
{
"type": "named",
"data": {
"name": "shootFlyWheel"
}
},
{
"type": "wait",
"data": {
"waitTime": 2.0
}
},
{
"type": "path",
"data": {
"pathName": "BRS Path"
}
}
]
}
},
"folder": null,
"choreoAuto": false
}
43 changes: 43 additions & 0 deletions src/main/deploy/pathplanner/autos/RLS Auto.auto
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"version": 1.0,
"startingPose": {
"position": {
"x": 15.965010163634727,
"y": 6.6773621866284305
},
"rotation": -57.5288077091511
},
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "shootConveyor"
}
},
{
"type": "named",
"data": {
"name": "shootFlyWheel"
}
},
{
"type": "wait",
"data": {
"waitTime": 2.0
}
},
{
"type": "path",
"data": {
"pathName": "RLS Path"
}
}
]
}
},
"folder": null,
"choreoAuto": false
}
25 changes: 0 additions & 25 deletions src/main/deploy/pathplanner/autos/RR Path.auto

This file was deleted.

43 changes: 43 additions & 0 deletions src/main/deploy/pathplanner/autos/RRS Auto.auto
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"version": 1.0,
"startingPose": {
"position": {
"x": 15.976704318081,
"y": 4.408696224799858
},
"rotation": -120.5792268724892
},
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "shootConveyor"
}
},
{
"type": "named",
"data": {
"name": "shootFlyWheel"
}
},
{
"type": "wait",
"data": {
"waitTime": 2.0
}
},
{
"type": "path",
"data": {
"pathName": "RRS Path"
}
}
]
}
},
"folder": null,
"choreoAuto": false
}
18 changes: 3 additions & 15 deletions src/main/deploy/pathplanner/autos/bl Auto.auto
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"version": 1.0,
"startingPose": {
"position": {
"x": 0.4217011759439209,
"y": 7.400066486593781
"x": 0.38839644630856207,
"y": 7.3322348354098414
},
"rotation": 0
},
Expand All @@ -20,19 +20,7 @@
{
"type": "named",
"data": {
"name": "shootConveyor"
}
},
{
"type": "named",
"data": {
"name": "shootFlyWheel"
}
},
{
"type": "named",
"data": {
"name": "dumpBed"
"name": "Dump bed "
}
},
{
Expand Down
76 changes: 76 additions & 0 deletions src/main/deploy/pathplanner/paths/BLS Path.path
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
{
"version": 1.0,
"waypoints": [
{
"anchor": {
"x": 0.7275269251393154,
"y": 6.712444649961881
},
"prevControl": null,
"nextControl": {
"x": 0.7860254744404522,
"y": 6.731944166395593
},
"isLocked": false,
"linkedName": null
},
{
"anchor": {
"x": 2.4691504014837022,
"y": 6.27884429165533
},
"prevControl": {
"x": 2.4886499179174146,
"y": 6.298343808089042
},
"nextControl": {
"x": 2.44965088504999,
"y": 6.259344775221619
},
"isLocked": false,
"linkedName": null
},
{
"anchor": {
"x": 4.019361957963822,
"y": 6.27884429165533
},
"prevControl": {
"x": 3.2150069050731935,
"y": 6.244720137896334
},
"nextControl": null,
"isLocked": false,
"linkedName": null
}
],
"rotationTargets": [],
"constraintZones": [],
"eventMarkers": [
{
"name": "shoot",
"waypointRelativePos": 0,
"command": {
"type": "parallel",
"data": {
"commands": []
}
}
}
],
"globalConstraints": {
"maxVelocity": 3.0,
"maxAcceleration": 3.0,
"maxAngularVelocity": 540.0,
"maxAngularAcceleration": 720.0
},
"goalEndState": {
"velocity": 0,
"rotation": 0,
"rotateFast": false
},
"reversed": false,
"folder": null,
"previewStartingState": null,
"useDefaultConstraints": false
}
Loading

0 comments on commit 5e2a24a

Please sign in to comment.