Skip to content
This repository has been archived by the owner on May 19, 2024. It is now read-only.

Week 1 Hartford #29

Merged
merged 28 commits into from
Mar 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
cdd19dc
fix(arm): Set initial arm state.
haydenheroux Mar 2, 2024
9f0f5f2
feat(climber): Add climber.
haydenheroux Mar 2, 2024
d30e8f2
refactor(climber): Use correct gearing.
haydenheroux Mar 2, 2024
e9818c8
feat(climber): Add climb commands.
haydenheroux Mar 2, 2024
b6718c0
refactor(climber): Move voltage.
haydenheroux Mar 2, 2024
0504a50
fix(climber): Configure Spark Maxes.
haydenheroux Mar 2, 2024
2bf659f
feat(climber): While climbing, go into intake position.
haydenheroux Mar 2, 2024
c13adba
feat(auto): Add autos.
haydenheroux Mar 2, 2024
3ab4b8a
fix(arm): Spin slower.
haydenheroux Mar 2, 2024
5474cbf
feat(auto): Update some more paths.
haydenheroux Mar 2, 2024
40e0763
fix(swerve): Flip drive direction.
haydenheroux Mar 2, 2024
e16f30a
feat(auto): Add auto for homing.
haydenheroux Mar 2, 2024
3dba20b
qm4
haydenheroux Mar 2, 2024
343859f
qm11
haydenheroux Mar 2, 2024
d15a51d
feat(auto): Add paths for leaving.
haydenheroux Mar 2, 2024
230b7b4
qm17
haydenheroux Mar 2, 2024
cbb9a09
fix(swerve): Decrease current limit.
haydenheroux Mar 2, 2024
d46dfa5
feat(auto): Add backout path.
haydenheroux Mar 2, 2024
2da50a4
fix(swerve): Don't flip on red.
haydenheroux Mar 2, 2024
298ade6
fix(swerve): Drop current limits.
haydenheroux Mar 2, 2024
c10ebd7
chore: Format.
haydenheroux Mar 2, 2024
4023054
qm36
haydenheroux Mar 2, 2024
11b096e
WIP
haydenheroux Mar 3, 2024
c16ca48
fix: Add timeouts,
haydenheroux Mar 3, 2024
098a7b1
qmXX
haydenheroux Mar 3, 2024
6e7025b
p1
haydenheroux Mar 3, 2024
904860f
add odo flip
haydenheroux Mar 3, 2024
8a2c16d
new wrist intake angle
haydenheroux Mar 3, 2024
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
25 changes: 7 additions & 18 deletions simgui.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,7 @@
"visible": true
}
},
"/SmartDashboard/Arm Mechanism": {
"window": {
"visible": true
}
},
"/SmartDashboard/VisionSystemSim-visionSystem/Sim Field": {
"/SmartDashboard/SendableChooser[0]": {
"window": {
"visible": true
}
Expand All @@ -43,35 +38,29 @@
"transitory": {
"Shuffleboard": {
"Arm": {
"Derivatives": {
"open": true
},
"Feedforward": {
"open": true
},
"Goal": {
"open": true
},
"Position": {
"open": true
},
"Setpoint": {
"open": true
},
"Velocities": {
"open": true
},
"Voltages": {
"open": true
},
"open": true
},
"Climber": {
"East": {
"open": true
},
"Elevator": {
"open": true
},
"Linear Actuator": {
"open": true
},
"West": {
"open": true
}
},
"Intake": {
Expand Down
37 changes: 37 additions & 0 deletions src/main/deploy/pathplanner/autos/!!!AMP!!!.auto
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"version": 1.0,
"startingPose": {
"position": {
"x": 0.8,
"y": 6.63
},
"rotation": 60.0
},
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "home"
}
},
{
"type": "named",
"data": {
"name": "shootNote"
}
},
{
"type": "named",
"data": {
"name": "stow"
}
}
]
}
},
"folder": null,
"choreoAuto": false
}
55 changes: 55 additions & 0 deletions src/main/deploy/pathplanner/autos/amp.full.auto
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
{
"version": 1.0,
"startingPose": {
"position": {
"x": 0.8,
"y": 6.63
},
"rotation": 60.0
},
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "home"
}
},
{
"type": "named",
"data": {
"name": "shootNote"
}
},
{
"type": "path",
"data": {
"pathName": "amp.toNearest"
}
},
{
"type": "path",
"data": {
"pathName": "amp.toSubwoofer"
}
},
{
"type": "named",
"data": {
"name": "shootNote"
}
},
{
"type": "named",
"data": {
"name": null
}
}
]
}
},
"folder": null,
"choreoAuto": false
}
25 changes: 25 additions & 0 deletions src/main/deploy/pathplanner/autos/amp.home.auto
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"version": 1.0,
"startingPose": {
"position": {
"x": 0.8,
"y": 6.63
},
"rotation": 60.0
},
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "home"
}
}
]
}
},
"folder": null,
"choreoAuto": false
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@
"data": {
"commands": [
{
"type": "path",
"type": "named",
"data": {
"pathName": "amp.toNearest"
"name": "home"
}
},
{
"type": "path",
"data": {
"pathName": "amp.toSubwoofer"
"pathName": "amp.leave"
}
}
]
Expand Down
43 changes: 43 additions & 0 deletions src/main/deploy/pathplanner/autos/amp.shootLeave.auto
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"version": 1.0,
"startingPose": {
"position": {
"x": 0.8,
"y": 6.63
},
"rotation": 60.0
},
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "home"
}
},
{
"type": "named",
"data": {
"name": "shootNote"
}
},
{
"type": "named",
"data": {
"name": "stow"
}
},
{
"type": "path",
"data": {
"pathName": "amp.leave"
}
}
]
}
},
"folder": null,
"choreoAuto": false
}
61 changes: 61 additions & 0 deletions src/main/deploy/pathplanner/autos/center.full.auto
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
{
"version": 1.0,
"startingPose": {
"position": {
"x": 1.36,
"y": 5.56
},
"rotation": 0.0
},
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "home"
}
},
{
"type": "named",
"data": {
"name": "readyShoot"
}
},
{
"type": "named",
"data": {
"name": "shootNote"
}
},
{
"type": "path",
"data": {
"pathName": "center.toNearest"
}
},
{
"type": "named",
"data": {
"name": "intakeNote"
}
},
{
"type": "path",
"data": {
"pathName": "center.toSubwoofer"
}
},
{
"type": "named",
"data": {
"name": "shootNote"
}
}
]
}
},
"folder": null,
"choreoAuto": false
}
25 changes: 25 additions & 0 deletions src/main/deploy/pathplanner/autos/center.home.auto
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"version": 1.0,
"startingPose": {
"position": {
"x": 1.36,
"y": 5.56
},
"rotation": 0.0
},
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "home"
}
}
]
}
},
"folder": null,
"choreoAuto": false
}
31 changes: 31 additions & 0 deletions src/main/deploy/pathplanner/autos/center.leaveOnly.auto
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"version": 1.0,
"startingPose": {
"position": {
"x": 1.36,
"y": 5.56
},
"rotation": 0.0
},
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "home"
}
},
{
"type": "path",
"data": {
"pathName": "center.leave"
}
}
]
}
},
"folder": null,
"choreoAuto": false
}
31 changes: 31 additions & 0 deletions src/main/deploy/pathplanner/autos/source.auto
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"version": 1.0,
"startingPose": {
"position": {
"x": 0.62,
"y": 2.27
},
"rotation": 0
},
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "home"
}
},
{
"type": "path",
"data": {
"pathName": "source.backout"
}
}
]
}
},
"folder": null,
"choreoAuto": false
}
Loading
Loading