Skip to content

Commit

Permalink
pose estimator
Browse files Browse the repository at this point in the history
  • Loading branch information
YHerm committed Oct 18, 2024
2 parents f1bd216 + 3c6109f commit 38c1ac3
Show file tree
Hide file tree
Showing 38 changed files with 1,761 additions and 238 deletions.
12 changes: 12 additions & 0 deletions .pathplanner/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"robotWidth": 0.897,
"robotLength": 0.767,
"holonomicMode": true,
"pathFolders": [],
"autoFolders": [],
"defaultMaxVel": 3.0,
"defaultMaxAccel": 3.0,
"defaultMaxAngVel": 540.0,
"defaultMaxAngAccel": 720.0,
"maxModuleSpeed": 4.5
}
61 changes: 61 additions & 0 deletions src/main/deploy/pathplanner/autos/M231.auto
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
{
"version": 1.0,
"startingPose": {
"position": {
"x": 1.3,
"y": 5.55
},
"rotation": 180.0
},
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "Shoot"
}
},
{
"type": "path",
"data": {
"pathName": "M2"
}
},
{
"type": "named",
"data": {
"name": "Shoot"
}
},
{
"type": "path",
"data": {
"pathName": "23"
}
},
{
"type": "named",
"data": {
"name": "Shoot"
}
},
{
"type": "path",
"data": {
"pathName": "31"
}
},
{
"type": "named",
"data": {
"name": "Shoot"
}
}
]
}
},
"folder": null,
"choreoAuto": false
}
55 changes: 55 additions & 0 deletions src/main/deploy/pathplanner/autos/M263.auto
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
{
"version": 1.0,
"startingPose": {
"position": {
"x": 1.3,
"y": 5.55
},
"rotation": -179.46805644920371
},
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "Shoot"
}
},
{
"type": "path",
"data": {
"pathName": "M2"
}
},
{
"type": "named",
"data": {
"name": "Shoot"
}
},
{
"type": "path",
"data": {
"pathName": "26"
}
},
{
"type": "path",
"data": {
"pathName": "63"
}
},
{
"type": "named",
"data": {
"name": "Shoot"
}
}
]
}
},
"folder": null,
"choreoAuto": false
}
70 changes: 70 additions & 0 deletions src/main/deploy/pathplanner/paths/23.path
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
{
"version": 1.0,
"waypoints": [
{
"anchor": {
"x": 2.55,
"y": 5.55
},
"prevControl": null,
"nextControl": {
"x": 2.55,
"y": 4.55
},
"isLocked": false,
"linkedName": "2"
},
{
"anchor": {
"x": 2.55,
"y": 4.1
},
"prevControl": {
"x": 1.5499999999999998,
"y": 4.1
},
"nextControl": null,
"isLocked": false,
"linkedName": "3"
}
],
"rotationTargets": [],
"constraintZones": [],
"eventMarkers": [
{
"name": "Intake",
"waypointRelativePos": 0.7,
"command": {
"type": "parallel",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "Intake"
}
}
]
}
}
}
],
"globalConstraints": {
"maxVelocity": 3.0,
"maxAcceleration": 3.0,
"maxAngularVelocity": 540.0,
"maxAngularAcceleration": 720.0
},
"goalEndState": {
"velocity": 0,
"rotation": 179.50536321554628,
"rotateFast": false
},
"reversed": false,
"folder": null,
"previewStartingState": {
"rotation": -179.65941124139482,
"velocity": 0
},
"useDefaultConstraints": true
}
70 changes: 70 additions & 0 deletions src/main/deploy/pathplanner/paths/26.path
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
{
"version": 1.0,
"waypoints": [
{
"anchor": {
"x": 2.55,
"y": 5.55
},
"prevControl": null,
"nextControl": {
"x": 3.545929214352105,
"y": 4.975
},
"isLocked": false,
"linkedName": "2"
},
{
"anchor": {
"x": 7.9,
"y": 4.1
},
"prevControl": {
"x": 6.905478104631728,
"y": 3.9954715367323463
},
"nextControl": null,
"isLocked": false,
"linkedName": "6"
}
],
"rotationTargets": [],
"constraintZones": [],
"eventMarkers": [
{
"name": "Intake",
"waypointRelativePos": 0.9,
"command": {
"type": "parallel",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "Intake"
}
}
]
}
}
}
],
"globalConstraints": {
"maxVelocity": 3.0,
"maxAcceleration": 3.0,
"maxAngularVelocity": 540.0,
"maxAngularAcceleration": 720.0
},
"goalEndState": {
"velocity": 0,
"rotation": -179.98924067285708,
"rotateFast": false
},
"reversed": false,
"folder": null,
"previewStartingState": {
"rotation": 179.36275615654407,
"velocity": 0
},
"useDefaultConstraints": true
}
70 changes: 70 additions & 0 deletions src/main/deploy/pathplanner/paths/31.path
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
{
"version": 1.0,
"waypoints": [
{
"anchor": {
"x": 2.55,
"y": 4.1
},
"prevControl": null,
"nextControl": {
"x": 2.4625517540519186,
"y": 4.5959436474028115
},
"isLocked": false,
"linkedName": "3"
},
{
"anchor": {
"x": 2.55,
"y": 6.998240302786913
},
"prevControl": {
"x": 1.5499999999999998,
"y": 6.998240302786913
},
"nextControl": null,
"isLocked": false,
"linkedName": "1"
}
],
"rotationTargets": [],
"constraintZones": [],
"eventMarkers": [
{
"name": "Intake",
"waypointRelativePos": 0.75,
"command": {
"type": "parallel",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "Intake"
}
}
]
}
}
}
],
"globalConstraints": {
"maxVelocity": 3.0,
"maxAcceleration": 3.0,
"maxAngularVelocity": 540.0,
"maxAngularAcceleration": 720.0
},
"goalEndState": {
"velocity": 0,
"rotation": 180.0,
"rotateFast": false
},
"reversed": false,
"folder": null,
"previewStartingState": {
"rotation": 179.5584339565365,
"velocity": 0
},
"useDefaultConstraints": true
}
Loading

0 comments on commit 38c1ac3

Please sign in to comment.