Skip to content

Commit

Permalink
Cali (#4)
Browse files Browse the repository at this point in the history
* upload

* controller rumble

* upload

* before playoff

* uplaod autos

* NEW CODE for LEDs

no need to write an essay - David

---------

Co-authored-by: Weston <[email protected]>
  • Loading branch information
Anhysteretic and RacconDog authored Nov 5, 2024
1 parent 3cc4d09 commit ae23278
Show file tree
Hide file tree
Showing 23 changed files with 1,725 additions and 1,112 deletions.
2 changes: 1 addition & 1 deletion .wpilib/wpilib_preferences.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"enableCppIntellisense": false,
"currentLanguage": "java",
"projectYear": "2024",
"teamNumber": 9998
"teamNumber": 841
}
137 changes: 137 additions & 0 deletions src/main/deploy/pathplanner/autos/ A_78.auto
Original file line number Diff line number Diff line change
@@ -0,0 +1,137 @@
{
"version": 1.0,
"startingPose": {
"position": {
"x": 1.39,
"y": 7.33
},
"rotation": 180.0
},
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "SpinUp"
}
},
{
"type": "path",
"data": {
"pathName": "A_Preload - Blue"
}
},
{
"type": "named",
"data": {
"name": "JustShoot"
}
},
{
"type": "wait",
"data": {
"waitTime": 0.15
}
},
{
"type": "named",
"data": {
"name": "JustStop"
}
},
{
"type": "parallel",
"data": {
"commands": [
{
"type": "path",
"data": {
"pathName": "A7"
}
},
{
"type": "sequential",
"data": {
"commands": [
{
"type": "wait",
"data": {
"waitTime": 0.5
}
},
{
"type": "named",
"data": {
"name": "aIntake"
}
}
]
}
}
]
}
},
{
"type": "wait",
"data": {
"waitTime": 3.0
}
},
{
"type": "parallel",
"data": {
"commands": [
{
"type": "path",
"data": {
"pathName": "A78"
}
},
{
"type": "sequential",
"data": {
"commands": [
{
"type": "wait",
"data": {
"waitTime": 1.0
}
},
{
"type": "named",
"data": {
"name": "SpinUp"
}
}
]
}
}
]
}
},
{
"type": "named",
"data": {
"name": "JustShoot"
}
},
{
"type": "wait",
"data": {
"waitTime": 0.15
}
},
{
"type": "named",
"data": {
"name": "JustStop"
}
}
]
}
},
"folder": null,
"choreoAuto": false
}
6 changes: 0 additions & 6 deletions src/main/deploy/pathplanner/autos/Blue - A123_6.auto
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,6 @@
"type": "sequential",
"data": {
"commands": [
{
"type": "wait",
"data": {
"waitTime": 13.0
}
},
{
"type": "named",
"data": {
Expand Down
8 changes: 1 addition & 7 deletions src/main/deploy/pathplanner/autos/Blue - D_54.auto
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
{
"version": 1.0,
"startingPose": {
"position": {
"x": 1.53,
"y": 3.33
},
"rotation": 180.0
},
"startingPose": null,
"command": {
"type": "sequential",
"data": {
Expand Down
4 changes: 2 additions & 2 deletions src/main/deploy/pathplanner/paths/5_in - Blue.path
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"constraintZones": [],
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 6.0,
"maxVelocity": 5.0,
"maxAcceleration": 3.0,
"maxAngularVelocity": 540.0,
"maxAngularAcceleration": 720.0
Expand All @@ -43,7 +43,7 @@
"rotateFast": false
},
"reversed": false,
"folder": "Middle In - Blue",
"folder": null,
"previewStartingState": null,
"useDefaultConstraints": false
}
84 changes: 84 additions & 0 deletions src/main/deploy/pathplanner/paths/A7.path
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
{
"version": 1.0,
"waypoints": [
{
"anchor": {
"x": 2.1,
"y": 7.35
},
"prevControl": null,
"nextControl": {
"x": 0.40730952794065206,
"y": 7.770737300570845
},
"isLocked": false,
"linkedName": null
},
{
"anchor": {
"x": 5.39994151951332,
"y": 7.491133832037637
},
"prevControl": {
"x": 4.190677372698641,
"y": 7.71249605733251
},
"nextControl": {
"x": 6.93039307883603,
"y": 7.210976544839404
},
"isLocked": false,
"linkedName": null
},
{
"anchor": {
"x": 8.793745215131274,
"y": 7.618991561339931
},
"prevControl": {
"x": 8.843745215131273,
"y": 7.618991561339931
},
"nextControl": null,
"isLocked": false,
"linkedName": null
}
],
"rotationTargets": [
{
"waypointRelativePos": 1,
"rotationDegrees": -178.13432955224744,
"rotateFast": false
},
{
"waypointRelativePos": 0.5,
"rotationDegrees": 180.0,
"rotateFast": false
},
{
"waypointRelativePos": 0.1,
"rotationDegrees": 180.0,
"rotateFast": true
}
],
"constraintZones": [],
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 4.5,
"maxAcceleration": 3.5,
"maxAngularVelocity": 540.0,
"maxAngularAcceleration": 720.0
},
"goalEndState": {
"velocity": 0,
"rotation": -165.6576344535617,
"rotateFast": false
},
"reversed": false,
"folder": null,
"previewStartingState": {
"rotation": -137.99376372539518,
"velocity": 0
},
"useDefaultConstraints": false
}
52 changes: 52 additions & 0 deletions src/main/deploy/pathplanner/paths/A78.path
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{
"version": 1.0,
"waypoints": [
{
"anchor": {
"x": 8.793745215131274,
"y": 7.618991561339931
},
"prevControl": null,
"nextControl": {
"x": 7.110891792206119,
"y": 6.787120053846916
},
"isLocked": false,
"linkedName": null
},
{
"anchor": {
"x": 2.9951393522211927,
"y": 6.616491411533293
},
"prevControl": {
"x": 3.0451393522211876,
"y": 6.616491411533293
},
"nextControl": null,
"isLocked": false,
"linkedName": null
}
],
"rotationTargets": [],
"constraintZones": [],
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 4.5,
"maxAcceleration": 3.5,
"maxAngularVelocity": 540.0,
"maxAngularAcceleration": 720.0
},
"goalEndState": {
"velocity": 0,
"rotation": -168.6683775887163,
"rotateFast": false
},
"reversed": false,
"folder": null,
"previewStartingState": {
"rotation": -164.8844430714313,
"velocity": 0
},
"useDefaultConstraints": false
}
Loading

0 comments on commit ae23278

Please sign in to comment.