Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new Constants int implementation #128

Open
wants to merge 37 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
52707c0
Rewriting the ConstantsInt class
Mason-Lam Jun 16, 2022
a69e429
Merge pull request #2 from MikaO13/code-cleanup2
Mason-Lam Jun 16, 2022
ec710a0
Merge pull request #11 from MikaO13/dev
Mason-Lam Jun 16, 2022
b130ba3
Optimize ConstantsInt
Mason-Lam Jun 18, 2022
afe0a36
OptimizeConstants Int
Mason-Lam Jun 18, 2022
09ab367
ConstantFoldingFix
Mason-Lam Jun 18, 2022
a71dc11
Fix constants for pull request
Mason-Lam Jun 18, 2022
59f349d
Merge branch 'code-cleanup2' into ConstantsInt
Mason-Lam Jun 18, 2022
185a2a0
Author credits lol
Mason-Lam Jun 21, 2022
74dc712
Sohan fixes
Mason-Lam Jun 23, 2022
a37ea07
Merge branch 'dev' into ConstantsInt
Mason-Lam Jun 25, 2022
16c494d
NarwhalDashboard Changes
Mason-Lam Jun 25, 2022
ca66207
A few suggestions for the new ConstantsInt implementation
FieryXY Jun 26, 2022
4457a48
Small changes, and extra class security
Mason-Lam Jun 26, 2022
20353d3
Merge pull request #4 from Mason-Lam/constantsint-suggestions
Mason-Lam Jun 26, 2022
729da98
Exception fixes
Mason-Lam Jun 28, 2022
d6707d1
un-wrapping constant constants
Jun 28, 2022
f6bf3a8
Small bug fixes
Mason-Lam Jun 29, 2022
923cb7a
6/28/22 workshop changes
Jun 29, 2022
3f2f85e
Added redundancy/security
Mason-Lam Jun 30, 2022
de0d9b1
Multi Threading fix?
Mason-Lam Jun 30, 2022
40ae198
More sledgehammers
Mason-Lam Jun 30, 2022
4c2b48c
Extra security
Mason-Lam Jul 1, 2022
b187942
Don't like sets
Mason-Lam Jul 1, 2022
549874a
Organization + redundant checks for consistency
Mason-Lam Jul 1, 2022
e754616
Remove Security Checks :(
Mason-Lam Jul 1, 2022
c721b56
Changed Buttons to Triggers
AravCGitHub Oct 8, 2022
a484b19
Added POVButtons to Xbox
AravCGitHub Oct 26, 2022
b830672
Merge branch 'dev' into Trigger
AravCGitHub Oct 26, 2022
aeb4410
becah blitz autos
ControlsNarwhal Oct 30, 2022
706f6e4
workshop 11/1
Nov 2, 2022
1d6654d
i forgot to save this file help
Nov 2, 2022
04b2407
default auto
Nov 3, 2022
d32ef3e
Merge branch 'pr/148'
Nov 3, 2022
7cbb0d9
trigger merge fixes
Nov 3, 2022
abebfb7
beach blitz scuffed changes
ControlsNarwhal Nov 12, 2022
7a04009
Merge branch 'main' into ConstantsInt
Mason-Lam Nov 12, 2022
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
43 changes: 42 additions & 1 deletion PathPlanner/deploy/pathplanner/3Ballv2_i.path
Original file line number Diff line number Diff line change
@@ -1 +1,42 @@
{"waypoints":[{"anchorPoint":{"x":7.64,"y":1.48},"prevControl":null,"nextControl":{"x":7.64,"y":0.48},"holonomicAngle":0.0,"isReversal":false,"velOverride":null,"isLocked":false},{"anchorPoint":{"x":7.64,"y":0.3},"prevControl":{"x":7.64,"y":1.3},"nextControl":null,"holonomicAngle":0.0,"isReversal":false,"velOverride":null,"isLocked":false}],"maxVelocity":2.5,"maxAcceleration":2.0,"isReversed":null}
{
"waypoints": [
{
"anchorPoint": {
"x": 7.64,
"y": 1.48
},
"prevControl": null,
"nextControl": {
"x": 7.64,
"y": 0.48
},
"holonomicAngle": 0.0,
"isReversal": false,
"velOverride": null,
"isLocked": false,
"isStopPoint": false,
"waitTime": 0
},
{
"anchorPoint": {
"x": 7.64,
"y": 0.3
},
"prevControl": {
"x": 7.64,
"y": 1.3
},
"nextControl": null,
"holonomicAngle": 0.0,
"isReversal": false,
"velOverride": null,
"isLocked": false,
"isStopPoint": false,
"waitTime": 0
}
],
"maxVelocity": 2.5,
"maxAcceleration": 2.0,
"isReversed": null,
"markers": []
}
43 changes: 42 additions & 1 deletion PathPlanner/deploy/pathplanner/3Ballv2_ii.path
Original file line number Diff line number Diff line change
@@ -1 +1,42 @@
{"waypoints":[{"anchorPoint":{"x":7.64,"y":0.3},"prevControl":null,"nextControl":{"x":7.64,"y":1.3},"holonomicAngle":0.0,"isReversal":false,"velOverride":null,"isLocked":false},{"anchorPoint":{"x":4.94,"y":1.96},"prevControl":{"x":6.398081880981084,"y":1.0689347788435093},"nextControl":null,"holonomicAngle":0.0,"isReversal":false,"velOverride":null,"isLocked":false}],"maxVelocity":2.5,"maxAcceleration":2.0,"isReversed":null}
{
"waypoints": [
{
"anchorPoint": {
"x": 7.64,
"y": 0.3
},
"prevControl": null,
"nextControl": {
"x": 7.64,
"y": 1.3
},
"holonomicAngle": 0.0,
"isReversal": false,
"velOverride": null,
"isLocked": false,
"isStopPoint": false,
"waitTime": 0
},
{
"anchorPoint": {
"x": 4.94,
"y": 1.76
},
"prevControl": {
"x": 6.398081880981084,
"y": 0.8689347788435093
},
"nextControl": null,
"holonomicAngle": 0.0,
"isReversal": false,
"velOverride": null,
"isLocked": false,
"isStopPoint": false,
"waitTime": 0
}
],
"maxVelocity": 2.5,
"maxAcceleration": 2.0,
"isReversed": null,
"markers": []
}
42 changes: 42 additions & 0 deletions PathPlanner/deploy/pathplanner/3Ballv2_iii.path
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"waypoints": [
{
"anchorPoint": {
"x": 4.94,
"y": 1.76
},
"prevControl": null,
"nextControl": {
"x": 5.79327788027959,
"y": 1.2385435214463527
},
"holonomicAngle": 0,
"isReversal": false,
"velOverride": null,
"isLocked": false,
"isStopPoint": false,
"waitTime": 0
},
{
"anchorPoint": {
"x": 5.977197736385995,
"y": 1.1213339962224953
},
"prevControl": {
"x": 5.493129068930927,
"y": 1.4171587779765549
},
"nextControl": null,
"holonomicAngle": 0,
"isReversal": false,
"velOverride": null,
"isLocked": false,
"isStopPoint": false,
"waitTime": 0
}
],
"maxVelocity": 2.5,
"maxAcceleration": 2.0,
"isReversed": true,
"markers": []
}
43 changes: 42 additions & 1 deletion PathPlanner/deploy/pathplanner/4Ball_Terminal180_i.path
Original file line number Diff line number Diff line change
@@ -1 +1,42 @@
{"waypoints":[{"anchorPoint":{"x":7.63,"y":1.5},"prevControl":null,"nextControl":{"x":7.63,"y":1.016060129792629},"holonomicAngle":0.0,"isReversal":false,"velOverride":null,"isLocked":false},{"anchorPoint":{"x":7.65,"y":0.6},"prevControl":{"x":7.65,"y":1.0154192827965922},"nextControl":null,"holonomicAngle":0.0,"isReversal":false,"velOverride":null,"isLocked":false}],"maxVelocity":2.5,"maxAcceleration":2.0,"isReversed":null}
{
"waypoints": [
{
"anchorPoint": {
"x": 7.63,
"y": 1.5
},
"prevControl": null,
"nextControl": {
"x": 7.63,
"y": 1.016060129792629
},
"holonomicAngle": 0.0,
"isReversal": false,
"velOverride": null,
"isLocked": false,
"isStopPoint": false,
"waitTime": 0
},
{
"anchorPoint": {
"x": 7.65,
"y": 0.6
},
"prevControl": {
"x": 7.65,
"y": 1.0154192827965922
},
"nextControl": null,
"holonomicAngle": 0.0,
"isReversal": false,
"velOverride": null,
"isLocked": false,
"isStopPoint": false,
"waitTime": 0
}
],
"maxVelocity": 2.5,
"maxAcceleration": 2.0,
"isReversed": null,
"markers": []
}
63 changes: 62 additions & 1 deletion PathPlanner/deploy/pathplanner/4Ball_Terminal180_ii.path
Original file line number Diff line number Diff line change
@@ -1 +1,62 @@
{"waypoints":[{"anchorPoint":{"x":7.66,"y":0.6},"prevControl":null,"nextControl":{"x":7.78,"y":1.41},"holonomicAngle":0.0,"isReversal":false,"velOverride":null,"isLocked":false},{"anchorPoint":{"x":5.42,"y":1.81},"prevControl":{"x":7.746543275688158,"y":1.2162859388980087},"nextControl":{"x":3.0416924350820684,"y":2.416923867555979},"holonomicAngle":0.0,"isReversal":false,"velOverride":null,"isLocked":false},{"anchorPoint":{"x":1.14,"y":1.16},"prevControl":{"x":0.51,"y":0.58},"nextControl":null,"holonomicAngle":0.0,"isReversal":false,"velOverride":null,"isLocked":false}],"maxVelocity":2.5,"maxAcceleration":2.0,"isReversed":null}
{
"waypoints": [
{
"anchorPoint": {
"x": 7.66,
"y": 0.6
},
"prevControl": null,
"nextControl": {
"x": 7.78,
"y": 1.41
},
"holonomicAngle": 0.0,
"isReversal": false,
"velOverride": null,
"isLocked": false,
"isStopPoint": false,
"waitTime": 0
},
{
"anchorPoint": {
"x": 5.42,
"y": 1.81
},
"prevControl": {
"x": 7.746543275688158,
"y": 1.2162859388980087
},
"nextControl": {
"x": 3.0416924350820684,
"y": 2.416923867555979
},
"holonomicAngle": 0.0,
"isReversal": false,
"velOverride": null,
"isLocked": false,
"isStopPoint": false,
"waitTime": 0
},
{
"anchorPoint": {
"x": 1.14,
"y": 1.16
},
"prevControl": {
"x": 0.51,
"y": 0.58
},
"nextControl": null,
"holonomicAngle": 0.0,
"isReversal": false,
"velOverride": null,
"isLocked": false,
"isStopPoint": false,
"waitTime": 0
}
],
"maxVelocity": 2.5,
"maxAcceleration": 2.0,
"isReversed": null,
"markers": []
}
43 changes: 42 additions & 1 deletion PathPlanner/deploy/pathplanner/5Ballv2_i.path
Original file line number Diff line number Diff line change
@@ -1 +1,42 @@
{"waypoints":[{"anchorPoint":{"x":4.94,"y":1.96},"prevControl":null,"nextControl":{"x":5.61,"y":2.4},"holonomicAngle":0.0,"isReversal":false,"velOverride":null,"isLocked":false},{"anchorPoint":{"x":1.25,"y":1.35},"prevControl":{"x":1.8799501612796263,"y":2.030046170714734},"nextControl":null,"holonomicAngle":0.0,"isReversal":false,"velOverride":null,"isLocked":false}],"maxVelocity":2.5,"maxAcceleration":2.0,"isReversed":null}
{
"waypoints": [
{
"anchorPoint": {
"x": 4.94,
"y": 1.96
},
"prevControl": null,
"nextControl": {
"x": 5.61,
"y": 2.4
},
"holonomicAngle": 0.0,
"isReversal": false,
"velOverride": null,
"isLocked": false,
"isStopPoint": false,
"waitTime": 0
},
{
"anchorPoint": {
"x": 1.25,
"y": 1.35
},
"prevControl": {
"x": 1.8799501612796263,
"y": 2.030046170714734
},
"nextControl": null,
"holonomicAngle": 0.0,
"isReversal": false,
"velOverride": null,
"isLocked": false,
"isStopPoint": false,
"waitTime": 0
}
],
"maxVelocity": 2.5,
"maxAcceleration": 2.0,
"isReversed": null,
"markers": []
}
43 changes: 42 additions & 1 deletion PathPlanner/deploy/pathplanner/5Ballv2_ii.path
Original file line number Diff line number Diff line change
@@ -1 +1,42 @@
{"waypoints":[{"anchorPoint":{"x":1.0,"y":1.35},"prevControl":null,"nextControl":{"x":1.6819983600624986,"y":2.0813537016191708},"holonomicAngle":0.0,"isReversal":false,"velOverride":null,"isLocked":false},{"anchorPoint":{"x":3.12,"y":1.674},"prevControl":{"x":2.5900807357667954,"y":2.522048096156426},"nextControl":null,"holonomicAngle":0.0,"isReversal":false,"velOverride":null,"isLocked":false}],"maxVelocity":2.0,"maxAcceleration":2.5,"isReversed":true}
{
"waypoints": [
{
"anchorPoint": {
"x": 1.0,
"y": 1.35
},
"prevControl": null,
"nextControl": {
"x": 1.6819983600624986,
"y": 2.0813537016191708
},
"holonomicAngle": 0.0,
"isReversal": false,
"velOverride": null,
"isLocked": false,
"isStopPoint": false,
"waitTime": 0
},
{
"anchorPoint": {
"x": 3.12,
"y": 1.674
},
"prevControl": {
"x": 2.5900807357667954,
"y": 2.522048096156426
},
"nextControl": null,
"holonomicAngle": 0.0,
"isReversal": false,
"velOverride": null,
"isLocked": false,
"isStopPoint": false,
"waitTime": 0
}
],
"maxVelocity": 2.0,
"maxAcceleration": 2.5,
"isReversed": true,
"markers": []
}
43 changes: 42 additions & 1 deletion PathPlanner/deploy/pathplanner/Billiards_i.path
Original file line number Diff line number Diff line change
@@ -1 +1,42 @@
{"waypoints":[{"anchorPoint":{"x":6.8,"y":6.27},"prevControl":null,"nextControl":{"x":6.23,"y":7.09},"holonomicAngle":0.0,"isReversal":false,"velOverride":null,"isLocked":false},{"anchorPoint":{"x":5.91,"y":7.5},"prevControl":{"x":6.485653606558698,"y":6.683958992907853},"nextControl":null,"holonomicAngle":0.0,"isReversal":false,"velOverride":null,"isLocked":false}],"maxVelocity":2.5,"maxAcceleration":2.0,"isReversed":null}
{
"waypoints": [
{
"anchorPoint": {
"x": 6.8,
"y": 6.27
},
"prevControl": null,
"nextControl": {
"x": 6.23,
"y": 7.09
},
"holonomicAngle": 0.0,
"isReversal": false,
"velOverride": null,
"isLocked": false,
"isStopPoint": false,
"waitTime": 0
},
{
"anchorPoint": {
"x": 5.91,
"y": 7.5
},
"prevControl": {
"x": 6.485653606558698,
"y": 6.683958992907853
},
"nextControl": null,
"holonomicAngle": 0.0,
"isReversal": false,
"velOverride": null,
"isLocked": false,
"isStopPoint": false,
"waitTime": 0
}
],
"maxVelocity": 2.5,
"maxAcceleration": 2.0,
"isReversed": null,
"markers": []
}
Loading