Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
300b7ce
updated autobalance command for endgame and auto
Evan-FRC Feb 26, 2023
18aed0a
Merge branch 'integration' of https://github.com/frc-88/2023-Robot in…
Evan-FRC Feb 26, 2023
39e61c3
added print checks
Evan-FRC Feb 26, 2023
31888ca
added more print statements, removed book
Evan-FRC Feb 26, 2023
899182f
added print statements
Evan-FRC Feb 26, 2023
eff5923
changed speeds
Evan-FRC Feb 26, 2023
9b13b9a
lowered speeds
Evan-FRC Feb 26, 2023
8d28e5a
lowered speeds
Evan-FRC Feb 26, 2023
1c70efd
added timeout counter
Evan-FRC Feb 26, 2023
37e713b
changed autodrive
Evan-FRC Feb 26, 2023
3360a3a
change
Evan-FRC Feb 26, 2023
56599d2
removed unnessecary imports
Evan-FRC Feb 26, 2023
a318f53
added stuff to autobalance
Evan-FRC Feb 28, 2023
dce79bb
evan google "math dot signum"
benjaminmh71 Feb 28, 2023
64499c7
Merge remote-tracking branch 'origin/scorpion' into integration
nix342 Mar 1, 2023
621f86d
remove unused imports and unused constant
nix342 Mar 1, 2023
0bb436a
Merge branch 'scorpion' into integration
nix342 Mar 3, 2023
889dfb3
FollowHolonomicTrajectory
nix342 Mar 7, 2023
39dfcd0
holonomic path
nix342 Mar 8, 2023
1522f49
Added Wall 2 Auto
LeelaMD Mar 10, 2023
78492ac
Charge 1.5 Balance Auto (blue path not generated yet)
LeelaMD Mar 10, 2023
ee9051f
fix syntax
nix342 Mar 10, 2023
02d92ce
Merge branch 'main' into autonomous
nix342 Mar 10, 2023
bba0461
Merge branch 'main' into integration
nix342 Mar 10, 2023
5696f3c
Merge branch 'main' into nix
nix342 Mar 10, 2023
dca653d
fix typo
nix342 Mar 10, 2023
b68c93c
typo fixed
nix342 Mar 10, 2023
dd583ee
Merge branch 'main' into integration
nix342 Mar 10, 2023
33fb63f
Add debugging
nix342 Mar 11, 2023
7e75cca
add reset odometry flag and position safety check
nix342 Mar 11, 2023
aad3cf8
consolidate preference code
nix342 Mar 11, 2023
f7a9d22
move controller setup to initialize
nix342 Mar 11, 2023
c6a323b
formatting
nix342 Mar 11, 2023
9489004
Merge remote-tracking branch 'origin/main' into nix
nix342 Mar 11, 2023
26f3b33
button to test
nix342 Mar 11, 2023
85757fb
slow down when changing direction
nix342 Mar 11, 2023
2b861f7
rename preferences to follow convention
nix342 Mar 11, 2023
a469595
write climb speed to dash
nix342 Mar 11, 2023
7cc295e
Merge remote-tracking branch 'origin/main' into autonomous
nix342 Mar 11, 2023
d350bbc
move test path to red side
nix342 Mar 11, 2023
d52b4bb
It's fun to tweak trajectories
nix342 Mar 11, 2023
a3f3437
working with localization
nix342 Mar 11, 2023
e3603fc
follow with rotation
nix342 Mar 11, 2023
ff2bb74
rotation optional
nix342 Mar 11, 2023
1ac9ba7
Merge branch 'nix' into autonomous
nix342 Mar 11, 2023
418f65c
pivot mode
nix342 Mar 11, 2023
c761fa4
Merge branch 'nix' into autonomous
nix342 Mar 11, 2023
c5d84d3
Merge branch 'autonomous' into integration
nix342 Mar 11, 2023
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
2 changes: 1 addition & 1 deletion .pathplanner/settings.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"robotWidth": 0.8382,
"robotLength": 0.8382,
"holonomicMode": false,
"holonomicMode": true,
"generateJSON": true,
"generateCSV": false
}
77 changes: 77 additions & 0 deletions src/main/deploy/pathplanner/BlueWallGrid8ToPiece4.path
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
{
"waypoints": [
{
"anchorPoint": {
"x": 1.7834,
"y": 1.0708738974729866
},
"prevControl": null,
"nextControl": {
"x": 2.8238,
"y": 1.0708738974729868
},
"holonomicAngle": 0,
"isReversal": false,
"velOverride": null,
"isLocked": false,
"isStopPoint": false,
"stopEvent": {
"names": [],
"executionBehavior": "parallel",
"waitBehavior": "none",
"waitTime": 0
}
},
{
"anchorPoint": {
"x": 3.99645,
"y": 0.7955063238370763
},
"prevControl": {
"x": 2.3851,
"y": 0.836301519931285
},
"nextControl": {
"x": 5.19,
"y": 0.765296973274723
},
"holonomicAngle": 0,
"isReversal": false,
"velOverride": null,
"isLocked": false,
"isStopPoint": false,
"stopEvent": {
"names": [],
"executionBehavior": "parallel",
"waitBehavior": "none",
"waitTime": 0
}
},
{
"anchorPoint": {
"x": 6.71953,
"y": 0.9892835052845681
},
"prevControl": {
"x": 4.7307602,
"y": 0.9790847062610165
},
"nextControl": null,
"holonomicAngle": 0,
"isReversal": false,
"velOverride": null,
"isLocked": false,
"isStopPoint": false,
"stopEvent": {
"names": [],
"executionBehavior": "parallel",
"waitBehavior": "none",
"waitTime": 0
}
}
],
"maxVelocity": 3.0,
"maxAcceleration": 1.0,
"isReversed": null,
"markers": []
}
52 changes: 52 additions & 0 deletions src/main/deploy/pathplanner/BlueWallPiece4ToGrid9 .path
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{
"waypoints": [
{
"anchorPoint": {
"x": 6.71953,
"y": 0.9892835052845681
},
"prevControl": null,
"nextControl": {
"x": 4.7308,
"y": 0.999482304308122
},
"holonomicAngle": 0,
"isReversal": false,
"velOverride": null,
"isLocked": false,
"isStopPoint": false,
"stopEvent": {
"names": [],
"executionBehavior": "parallel",
"waitBehavior": "none",
"waitTime": 0
}
},
{
"anchorPoint": {
"x": 1.8751,
"y": 0.4997411521540604
},
"prevControl": {
"x": 4.0679,
"y": 0.5099399511776144
},
"nextControl": null,
"holonomicAngle": 0,
"isReversal": false,
"velOverride": null,
"isLocked": false,
"isStopPoint": false,
"stopEvent": {
"names": [],
"executionBehavior": "parallel",
"waitBehavior": "none",
"waitTime": 0
}
}
],
"maxVelocity": 3.0,
"maxAcceleration": 1.0,
"isReversed": true,
"markers": []
}
52 changes: 52 additions & 0 deletions src/main/deploy/pathplanner/HolonomicTest.path
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{
"waypoints": [
{
"anchorPoint": {
"x": 14.5,
"y": 4.7
},
"prevControl": null,
"nextControl": {
"x": 14.448026502890615,
"y": 2.5464744946583915
},
"holonomicAngle": 180.0,
"isReversal": false,
"velOverride": null,
"isLocked": false,
"isStopPoint": false,
"stopEvent": {
"names": [],
"executionBehavior": "parallel",
"waitBehavior": "none",
"waitTime": 0
}
},
{
"anchorPoint": {
"x": 11.3,
"y": 2.363767804458686
},
"prevControl": {
"x": 14.520205414769807,
"y": 2.3980253088711305
},
"nextControl": null,
"holonomicAngle": 180.0,
"isReversal": false,
"velOverride": null,
"isLocked": false,
"isStopPoint": false,
"stopEvent": {
"names": [],
"executionBehavior": "parallel",
"waitBehavior": "none",
"waitTime": 0
}
}
],
"maxVelocity": 2.0,
"maxAcceleration": 1.5,
"isReversed": null,
"markers": []
}
52 changes: 52 additions & 0 deletions src/main/deploy/pathplanner/HolonomicTest2.path
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{
"waypoints": [
{
"anchorPoint": {
"x": 14.5,
"y": 4.7
},
"prevControl": null,
"nextControl": {
"x": 13.611253730821,
"y": 4.57935766227827
},
"holonomicAngle": 180.0,
"isReversal": false,
"velOverride": null,
"isLocked": false,
"isStopPoint": false,
"stopEvent": {
"names": [],
"executionBehavior": "parallel",
"waitBehavior": "none",
"waitTime": 0
}
},
{
"anchorPoint": {
"x": 9.726892137869788,
"y": 3.7034722050441733
},
"prevControl": {
"x": 11.335855640832424,
"y": 5.3124357080068085
},
"nextControl": null,
"holonomicAngle": -145.30484646876602,
"isReversal": false,
"velOverride": null,
"isLocked": false,
"isStopPoint": false,
"stopEvent": {
"names": [],
"executionBehavior": "parallel",
"waitBehavior": "none",
"waitTime": 0
}
}
],
"maxVelocity": 4.75,
"maxAcceleration": 3.5,
"isReversed": null,
"markers": []
}
52 changes: 52 additions & 0 deletions src/main/deploy/pathplanner/RedChargeGrid5ToPiece3.path
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{
"waypoints": [
{
"anchorPoint": {
"x": 14.664903528280337,
"y": 2.7026817412413466
},
"prevControl": null,
"nextControl": {
"x": 10.972938281754425,
"y": 2.8046697314768685
},
"holonomicAngle": 0,
"isReversal": false,
"velOverride": null,
"isLocked": false,
"isStopPoint": false,
"stopEvent": {
"names": [],
"executionBehavior": "parallel",
"waitBehavior": "none",
"waitTime": 0
}
},
{
"anchorPoint": {
"x": 8.99437127118529,
"y": 2.315127378346361
},
"prevControl": {
"x": 9.524708820410007,
"y": 2.580296152958721
},
"nextControl": null,
"holonomicAngle": 0,
"isReversal": false,
"velOverride": null,
"isLocked": false,
"isStopPoint": false,
"stopEvent": {
"names": [],
"executionBehavior": "parallel",
"waitBehavior": "none",
"waitTime": 0
}
}
],
"maxVelocity": 1.0,
"maxAcceleration": 0.8,
"isReversed": null,
"markers": []
}
52 changes: 52 additions & 0 deletions src/main/deploy/pathplanner/RedChargePiece3ToBalance.path
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{
"waypoints": [
{
"anchorPoint": {
"x": 8.99437127118529,
"y": 2.315127378346361
},
"prevControl": null,
"nextControl": {
"x": 9.524708820410007,
"y": 2.580296152958721
},
"holonomicAngle": 0,
"isReversal": false,
"velOverride": null,
"isLocked": false,
"isStopPoint": false,
"stopEvent": {
"names": [],
"executionBehavior": "parallel",
"waitBehavior": "none",
"waitTime": 0
}
},
{
"anchorPoint": {
"x": 13.186077669865263,
"y": 2.794470932453317
},
"prevControl": {
"x": 9.99385357549341,
"y": 2.76387453538266
},
"nextControl": null,
"holonomicAngle": 0,
"isReversal": false,
"velOverride": null,
"isLocked": false,
"isStopPoint": false,
"stopEvent": {
"names": [],
"executionBehavior": "parallel",
"waitBehavior": "none",
"waitTime": 0
}
}
],
"maxVelocity": 1.0,
"maxAcceleration": 0.8,
"isReversed": null,
"markers": []
}
Loading