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

visualize all changes since bayou #297

Draft
wants to merge 270 commits into
base: bayou
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
270 commits
Select commit Hold shift + click to select a range
27f1e60
add a prepare pivot command and put it in a race group w/ fullpower c…
derp00monsta Apr 11, 2024
751359a
racing!
derp00monsta Apr 11, 2024
d583fdb
new color sensor!! (no sim, no testing yet) :((
Jacob1010-h Apr 11, 2024
8797e81
refine intake speed for double amp
PatribotsProgramming Apr 11, 2024
ef14944
refine intake speed for double amp
PatribotsProgramming Apr 11, 2024
d405b08
Merge branch 'main' of https://github.com/patribots4738/Crescendo2024
PatribotsProgramming Apr 11, 2024
572291b
Make color sensor code more legible
PatribotsProgramming Apr 11, 2024
c0951ce
Make notetotrap more robust (i'm happy with it if the sensors are hap…
PatribotsProgramming Apr 12, 2024
0ebb8a0
make full power actually be full power rather than a set (not sure if…
PatribotsProgramming Apr 12, 2024
3bea6d4
remove preparepivot and integrate it into fullpowerpreload
PatribotsProgramming Apr 12, 2024
e360a5a
Merge branch 'main' into 291-add-better-color-sensor-code
RudyG252 Apr 12, 2024
64975e2
new color sensor!! (no sim, no testing yet) :(( (#292)
RudyG252 Apr 12, 2024
e0646f2
double amping cannot miss anymore (it was good before but now its bet…
PatribotsProgramming Apr 12, 2024
d060601
Merge branch 'main' of https://github.com/patribots4738/Crescendo2024
PatribotsProgramming Apr 12, 2024
f16cb25
fix up c5-4 path with speedy preload
GalexY727 Apr 12, 2024
e6962be
modify driver bindings to support double amping without confusion
GalexY727 Apr 12, 2024
f993933
HARDER BETTER FASTER PRELOAD STRONGER AUTO (#293)
GalexY727 Apr 12, 2024
94bb8e9
remove NTT3
GalexY727 Apr 12, 2024
55af8b3
reintroduce NTT3 but this time as a smart(ish) commands.either
GalexY727 Apr 12, 2024
b177572
default possesion variables to false if sensors are not connected
GalexY727 Apr 12, 2024
b911dc5
Update links to complete #277
GalexY727 Apr 12, 2024
d58ac87
Finalize README
GalexY727 Apr 12, 2024
0db909d
Make terry big and greedy once more
GalexY727 Apr 12, 2024
ed34a64
Update links to complete #277 (#294)
derp00monsta Apr 12, 2024
5160bbd
Allow for either sensor to trigger changes in auto
PatribotsProgramming Apr 12, 2024
6d246ca
Merge branch 'main' into speedy-pass
PatribotsProgramming Apr 12, 2024
67fce33
Speedy pass (#282)
PatribotsProgramming Apr 12, 2024
6f34db4
enhance auto shooter speeds by making them run a raw triplet calculat…
PatribotsProgramming Apr 13, 2024
fa6d757
update pp and choreo lib
PatribotsProgramming Apr 14, 2024
0ca8d5b
make fullpower use .set rather than .setvoltage
PatribotsProgramming Apr 14, 2024
aadfedb
yaw pitch roll
PatribotsProgramming Apr 14, 2024
75f4073
spin
PatribotsProgramming Apr 14, 2024
acefaf3
flip shooter and elevator sensor naming
PatribotsProgramming Apr 14, 2024
3791250
full power = more
PatribotsProgramming Apr 14, 2024
4268199
lower the threshold for auto decision making to min-max it eventually
PatribotsProgramming Apr 14, 2024
902c446
w3-1 1 changes to make it fullpowerpreload
PatribotsProgramming Apr 14, 2024
f5efee7
copy last commit onto w3-1 2 and hope it works (tested once on a brow…
PatribotsProgramming Apr 14, 2024
fe9033f
dio failures :(
PatribotsProgramming Apr 14, 2024
0a9989f
all of them?!?!
PatribotsProgramming Apr 14, 2024
e66b095
update drivercontrols
PatribotsProgramming Apr 14, 2024
873b5bc
Prepare to power cycle but make the operator to the job so we can see…
PatribotsProgramming Apr 17, 2024
dcdc814
slow down speeds sent to calculaterobotangletopass
PatribotsProgramming Apr 18, 2024
873e854
remove dio stuff and optimize logs when disabled
PatribotsProgramming Apr 18, 2024
37c0ab2
wait 3s when power cycling pico
PatribotsProgramming Apr 18, 2024
9391cc6
keep pico off for a whole second
PatribotsProgramming Apr 18, 2024
335e7cb
add pivot zero to the code (unused as of now)
PatribotsProgramming Apr 18, 2024
df97bcc
wait longer to make auto decisions (doubled)
PatribotsProgramming Apr 18, 2024
d1fecfe
Merge branch 'main' into dio
PatribotsProgramming Apr 18, 2024
1bccf8d
Add pico power cycling system + QoL changes (#296)
PatribotsProgramming Apr 18, 2024
d26f974
rotational changes to alt wing auto preload
PatribotsProgramming Apr 18, 2024
b085614
run intake when elevator goes up to "send" it into the ampper a littl…
PatribotsProgramming Apr 18, 2024
f0823d5
intake while elevating, just temporarily
PatribotsProgramming Apr 18, 2024
afcc49b
auto changes for houston (post q18)
PatribotsProgramming Apr 18, 2024
4d8140a
make batteries great again >:)
PatribotsProgramming Apr 18, 2024
7e5915a
make wing autos be based upon bayou (reverts orbit preload)
PatribotsProgramming Apr 18, 2024
486636d
rotation for wings
PatribotsProgramming Apr 18, 2024
7b0a31b
back to set voltage (and fix 3d pose in sim?!)
PatribotsProgramming Apr 18, 2024
7783cf5
remove swd logic for theta
PatribotsProgramming Apr 18, 2024
dfa858a
easy there cowboy (worked q40)
PatribotsProgramming Apr 18, 2024
999bfed
pre Q60 mods
PatribotsProgramming Apr 18, 2024
e421c18
flatten out the w3-1 w2 pickup to be in flat, just like it is at bayo…
PatribotsProgramming Apr 19, 2024
b22e091
add s5-3 3-5 auto
PatribotsProgramming Apr 19, 2024
22d2f94
make limelight trust more during auto + mods to alignment bool tolera…
PatribotsProgramming Apr 19, 2024
83159a3
make calibration great again
PatribotsProgramming Apr 19, 2024
84da333
make calibration control copying stuff pull from a position rather th…
PatribotsProgramming Apr 19, 2024
e4ddc59
formatting; no changes
PatribotsProgramming Apr 19, 2024
71a5354
make w3 make the shot once more (w1 hello???)
PatribotsProgramming Apr 19, 2024
9b7c892
add wing only auto for practice field purposes
PatribotsProgramming Apr 19, 2024
49cef8e
import rah
PatribotsProgramming Apr 19, 2024
bc90ca1
make a FPP3 namedcommand
PatribotsProgramming Apr 19, 2024
62c6da6
pose q120 path changes
PatribotsProgramming Apr 20, 2024
3d1cbd1
speed up double amp
PatribotsProgramming Apr 20, 2024
4e951a9
add a goofy ahh path for 8044
PatribotsProgramming Apr 20, 2024
2bc84cc
switch to loggedrobot and basic setup before big io division :)
Oliver-Cushman Jul 31, 2024
0285d58
okay maybe we only need 1 pdh :joy:
Oliver-Cushman Jul 31, 2024
db11fcb
ampper adapted to adv kit
Oliver-Cushman Aug 3, 2024
05f4f8d
i dont even know if this whole io file thing is needed since its gonn…
Oliver-Cushman Aug 3, 2024
ad2c57e
climb converted
Oliver-Cushman Aug 3, 2024
0b23d1c
auto log outputs
Oliver-Cushman Aug 3, 2024
ad19811
voices in my network tables
Oliver-Cushman Aug 4, 2024
ffb2fc2
ok the logging actually works now and we have some new config :D
Oliver-Cushman Aug 5, 2024
da23690
new config
Oliver-Cushman Aug 5, 2024
0bbe48e
elevator migrated
Oliver-Cushman Aug 6, 2024
1d9c047
single subsystem advantagekit conversion any% world record
Oliver-Cushman Aug 6, 2024
81db3dd
gversion
Oliver-Cushman Aug 7, 2024
24133d0
fix implementation
Oliver-Cushman Aug 12, 2024
8bb37fd
intake converted will finish pivot and shooter soon
Oliver-Cushman Aug 13, 2024
90817cd
added current field for inputs and converted shooter
Oliver-Cushman Aug 14, 2024
422dcd9
pivot conversion
RudyG252 Aug 15, 2024
35997b5
end of an era mon ami
PatribotsProgramming Aug 15, 2024
61a4436
Merge branch 'advantagekit' of https://github.com/patribots4738/Cresc…
PatribotsProgramming Aug 15, 2024
59d20a9
log test :)
PatribotsProgramming Aug 15, 2024
bb542ec
start swerve conversion and add pivot applied volts and output current
RudyG252 Aug 15, 2024
19f090e
moved around subsystems
Oliver-Cushman Aug 15, 2024
268254a
sim to realbot
PatribotsProgramming Aug 15, 2024
5b5955e
VSCODE, STOP GENERATING THE WRONG PACKAGE IMPORT AND MY LIFE IS YOURS
Oliver-Cushman Aug 16, 2024
b114434
Merge branch 'advantagekit' of https://github.com/Patribots4738/Cresc…
Oliver-Cushman Aug 16, 2024
2cf0213
new file path
PatribotsProgramming Aug 16, 2024
454f442
Merge branch 'advantagekit' of https://github.com/patribots4738/Cresc…
PatribotsProgramming Aug 16, 2024
89d9666
limelight ass
PatribotsProgramming Aug 16, 2024
85c2021
max swerve module conversion to advantage kit
RudyG252 Aug 19, 2024
5ab73a8
limlery
PatribotsProgramming Aug 19, 2024
084509a
Merge branch 'advantagekit' of https://github.com/patribots4738/Cresc…
PatribotsProgramming Aug 19, 2024
76a8e1e
limelight done + started converting some sim logic
Oliver-Cushman Aug 20, 2024
95993e9
StateConstants.isSimulation()
Oliver-Cushman Aug 20, 2024
6360e5c
sunset
Oliver-Cushman Aug 20, 2024
5ff2ece
remove unused imports
Oliver-Cushman Aug 20, 2024
8790197
bro forgot the outputs
Oliver-Cushman Aug 20, 2024
243b67e
colors inputs gmae is game
PatribotsProgramming Aug 20, 2024
f744b31
update swervemodule inputs in swerve
RudyG252 Aug 20, 2024
3310104
navigate math in MAXSwerveModule from methods to updateInputs, and us…
RudyG252 Aug 20, 2024
4070708
swerve got some logs
RudyG252 Aug 20, 2024
782902a
Merge branch 'advantagekit' of https://github.com/Patribots4738/Cresc…
RudyG252 Aug 20, 2024
2891623
process inputs
Oliver-Cushman Aug 20, 2024
890e746
Merge branch 'advantagekit' of https://github.com/Patribots4738/Cresc…
Oliver-Cushman Aug 20, 2024
7a0a50f
limelight fix but new enemy help help help
PatribotsProgramming Aug 20, 2024
1cb69d6
what
PatribotsProgramming Aug 20, 2024
bc9b899
gyro???
RudyG252 Aug 21, 2024
594f079
Merge branch 'advantagekit' of https://github.com/Patribots4738/Cresc…
RudyG252 Aug 21, 2024
8b009fe
silly silly processing
RudyG252 Aug 21, 2024
1c0af9c
no more pigeon just gyro
RudyG252 Aug 21, 2024
c2379a9
clarify types gyro method names
RudyG252 Aug 21, 2024
4a03e15
I should probably update the method name where I use it too
RudyG252 Aug 21, 2024
e8f1291
single
PatribotsProgramming Aug 21, 2024
e659a36
Merge branch 'advantagekit' of https://github.com/patribots4738/Cresc…
PatribotsProgramming Aug 21, 2024
c02673e
i want gyro
Oliver-Cushman Aug 22, 2024
3803246
important
RudyG252 Aug 22, 2024
3ad4233
die
PatribotsProgramming Aug 22, 2024
f3b4c07
i guess ill just go and die.
PatribotsProgramming Aug 22, 2024
1d2e087
added message to confirm incorrect robor type
Oliver-Cushman Aug 22, 2024
b653a4c
will reimplement the stateconstants version of isSimulation later but…
Oliver-Cushman Aug 22, 2024
c14a957
gmae is game mes amis
PatribotsProgramming Aug 22, 2024
e976c0c
bet
PatribotsProgramming Aug 23, 2024
183b745
unc please
Oliver-Cushman Aug 25, 2024
45c84ee
she heron on my formula till i hooksUp
Oliver-Cushman Aug 25, 2024
40abe2c
is this the controller of the summer ???
Oliver-Cushman Aug 26, 2024
6126088
ill do akit log paths tomorrow i promise
Oliver-Cushman Aug 26, 2024
6f60832
log
Oliver-Cushman Aug 26, 2024
e190c41
i hate robors they are BAD BOYS.
PatribotsProgramming Aug 26, 2024
d9d7964
purge.
Oliver-Cushman Aug 27, 2024
a5acf48
one left
PatribotsProgramming Aug 27, 2024
9adebca
oliver said to push
RudyG252 Aug 27, 2024
ebd6ea7
Merge branch 'advantagekit' of https://github.com/Patribots4738/Cresc…
RudyG252 Aug 27, 2024
be5da1a
the smart is dashboard for da field
PatribotsProgramming Aug 27, 2024
585931e
Merge branch 'advantagekit' of https://github.com/patribots4738/Cresc…
PatribotsProgramming Aug 27, 2024
9b3c04d
fix bootloop, preset setup should be done but I can't test in sim the…
RudyG252 Aug 28, 2024
e4f2033
Merge branch 'advantagekit' of https://github.com/Patribots4738/Cresc…
RudyG252 Aug 28, 2024
f9a3fe0
welcome lpi to the akit avengers
Oliver-Cushman Aug 28, 2024
4ad314d
the frank that pushes to main would call these guys "pesky little fri…
Oliver-Cushman Aug 28, 2024
2c19b91
new robot type because i dont want to keep switching it
Oliver-Cushman Aug 28, 2024
b5203ff
no more arguments we're all friends here
RudyG252 Aug 29, 2024
9e8367a
lost no more
RudyG252 Aug 29, 2024
29000a5
jit
PatribotsProgramming Aug 30, 2024
86ec931
mr davis units correction
Oliver-Cushman Sep 11, 2024
1a5c7a9
mild cleanup on limelight akit inputs
Oliver-Cushman Sep 12, 2024
3022525
were so back
PatribotsProgramming Sep 13, 2024
ec88cc9
Revert "were so back"
PatribotsProgramming Sep 19, 2024
a993021
aint no party
PatribotsProgramming Sep 19, 2024
0659d4a
banging wings are back in town san diego california
PatribotsProgramming Sep 19, 2024
ff3b42a
wheel rad and infinite can errors
PatribotsProgramming Sep 20, 2024
26b7386
input execution
Oliver-Cushman Sep 23, 2024
527aee5
update deps
Oliver-Cushman Sep 23, 2024
10222a7
tuned to 12 feet - should run through speeds again
PatribotsProgramming Sep 24, 2024
2eb2e92
new shooter map to 13
PatribotsProgramming Sep 26, 2024
cfae0fd
override overload
Oliver-Cushman Sep 26, 2024
b08011f
make heron implementation less dumb
Oliver-Cushman Sep 26, 2024
00de768
the batman riddler does he know image
Oliver-Cushman Sep 26, 2024
a4634dc
akit to main (#299)
Oliver-Cushman Sep 26, 2024
52cf05e
waltuh controller
Oliver-Cushman Sep 26, 2024
ceef1d9
game be game
Oliver-Cushman Sep 26, 2024
0907047
shooter maxed out fixed controller
PatribotsProgramming Sep 26, 2024
8c382cb
the limelight 3 just doesnt lime today
PatribotsProgramming Sep 27, 2024
beb42b6
ll3 does vision things but its bricked so not really :(
PatribotsProgramming Sep 27, 2024
46555bc
luh calm commit
Oliver-Cushman Sep 27, 2024
33a7316
controller binding changes from nurd's practice
PatribotsProgramming Sep 28, 2024
570bb15
removed trap alignment as it is a liability and also small code cleanup
Oliver-Cushman Sep 29, 2024
cfe5705
add new op shooting speeds button
Oliver-Cushman Oct 1, 2024
a993a50
implement madtown pass, needs some tuning and cleanup
Oliver-Cushman Oct 2, 2024
53b07ff
Create button to gaslight robot into thinking it's in it's normal pas…
RudyG252 Oct 2, 2024
dc26b0e
add sample passes for tmr and mild pass cleanup
PatribotsProgramming Oct 3, 2024
4ab69e3
add shooter pass calc kinematics
Xander228 Oct 3, 2024
366f5f9
pass testing is a banger and i know bangers
PatribotsProgramming Oct 3, 2024
a5c82fb
add low passes on left stick, health and wellness on shooterconstants…
Oliver-Cushman Oct 4, 2024
ef44179
make manual shooter speeds a part of "automatic" shooter speeds
Oliver-Cushman Oct 5, 2024
a44988c
modify auto shooter speeds logic and tweak some constants and calcs
Oliver-Cushman Oct 5, 2024
ee600da
put lowpass back on right stick with positional condition, remove rob…
Oliver-Cushman Oct 5, 2024
4f16afc
put reset to sub on leftstick, make shootwhenready allow for green fn…
Oliver-Cushman Oct 6, 2024
cb63b35
add landyn martin shooter speeds
RudyG252 Oct 7, 2024
999965f
auto cleanup and finalize wing + tune to 16
PatribotsProgramming Oct 7, 2024
bb29d33
Merge branch 'main' of https://github.com/patribots4738/Crescendo2024
PatribotsProgramming Oct 7, 2024
c8220ce
super health and super well! i can make an auto in 15 seconds at comp
Oliver-Cushman Oct 8, 2024
a930789
new c3
Oliver-Cushman Oct 8, 2024
a8bb03b
make c3 autos for home but should adjust at comp, change elevator bot…
PatribotsProgramming Oct 9, 2024
c0febf7
make c3 pickup marginally better, clean up auto names, and add time l…
Oliver-Cushman Oct 9, 2024
6e6fb2b
add pivot lock and amp sounds super duper again
PatribotsProgramming Oct 11, 2024
4b8d745
"final" controller revision
Oliver-Cushman Oct 11, 2024
dd02cb0
edit elevator const
PatribotsProgramming Oct 11, 2024
ff3276a
who is this interruption behavior guy
Oliver-Cushman Oct 11, 2024
3c29a14
remove my stupid code and put good coderies instead
PatribotsProgramming Oct 11, 2024
f6130ef
locked in.
Oliver-Cushman Oct 12, 2024
73b6727
the w wingeries + remove chain align
PatribotsProgramming Oct 12, 2024
5d278e7
qual day 1 auto changes
PatribotsProgramming Oct 13, 2024
2135b2a
remove source pass and minor pass code refactor
PatribotsProgramming Oct 13, 2024
bf4c5a0
pre playoffs
PatribotsProgramming Oct 13, 2024
b825a29
post batb
PatribotsProgramming Oct 15, 2024
639f823
Merge branch 'batb' of https://github.com/Patribots4738/Crescendo2024…
Oliver-Cushman Oct 16, 2024
eebf660
final control logic change before merge
Oliver-Cushman Oct 16, 2024
7eee69e
typo :P
Oliver-Cushman Oct 17, 2024
2abb8e6
uncomment elevaotr
PatribotsProgramming Oct 21, 2024
096445e
Merge branch 'batb' of https://github.com/patribots4738/Crescendo2024…
PatribotsProgramming Oct 21, 2024
44918d8
this will work
RudyG252 Oct 21, 2024
a52e86f
nevermind
RudyG252 Oct 21, 2024
2d0f69b
Batb (#300)
Oliver-Cushman Oct 21, 2024
b2b62ea
add robot velocity threshold to shooting so that passing can be margi…
PatribotsProgramming Oct 21, 2024
82de43b
new california autos
PatribotsProgramming Oct 22, 2024
b4312bf
CALIFORNIA LOVEEEEE
PatribotsProgramming Oct 22, 2024
dfd32ee
guess and check.
PatribotsProgramming Oct 23, 2024
908c260
guys why is constants the only change dfile
PatribotsProgramming Oct 23, 2024
54bd070
California autos more smooth (we will be OP this will work)
PatribotsProgramming Oct 23, 2024
7fe0a08
minor path planner storage refactor for readability
Oliver-Cushman Oct 23, 2024
da37ea3
path planner
Oliver-Cushman Oct 23, 2024
94d6c4b
looks good to me
RudyG252 Oct 23, 2024
1d48d56
Merge branch 'main' of https://github.com/Patribots4738/Crescendo2024
RudyG252 Oct 23, 2024
a79c35e
i love autonomous and oliver does to, oliver also loves other things
RudyG252 Oct 23, 2024
d72945c
add new default autos for speed
Oliver-Cushman Oct 23, 2024
5c9133a
autos
PatribotsProgramming Oct 24, 2024
e9cef36
man this op robot thing is real hard!
Oliver-Cushman Oct 24, 2024
9f78f30
add back some silly logic jic
Oliver-Cushman Oct 24, 2024
30651d1
tuned consistently to 16 ft
PatribotsProgramming Oct 25, 2024
9598d87
clean up shooter map comments
Oliver-Cushman Oct 25, 2024
d3478fb
priority tag,
PatribotsProgramming Oct 25, 2024
e5dd4d1
Merge branch 'main' of https://github.com/patribots4738/Crescendo2024
PatribotsProgramming Oct 25, 2024
3027438
new autos
Oliver-Cushman Oct 25, 2024
067d2c4
Merge branch 'main' of https://github.com/patribots4738/Crescendo2024
Oliver-Cushman Oct 25, 2024
55ce469
new brownout prot for home, new ll constants etc
Oliver-Cushman Oct 26, 2024
4deee99
mass path update w new shooting poses
Oliver-Cushman Oct 27, 2024
b6a2005
tuned CONSISTENTLY to..... NINETEEN FEET?!?!?!?!?!?!?
Oliver-Cushman Oct 27, 2024
7be869f
hop to it !
Oliver-Cushman Oct 28, 2024
bf88725
pdh perma off and new ta thresh
Oliver-Cushman Oct 29, 2024
881c5a8
mystery button
Oliver-Cushman Oct 29, 2024
47f4cde
auto locked in
Oliver-Cushman Oct 30, 2024
8b5f624
no OBJ ?!?!?!?
PatribotsProgramming Oct 30, 2024
92ae8b7
we all have a great story to tell
Oliver-Cushman Oct 31, 2024
31b01ea
Beach Blitz
PatribotsProgramming Oct 31, 2024
791b47d
PUT THE CONTROLLER DOWN!!! THIS IS FOR MY ROBOT!!! PUT THE CONTROLLER…
PatribotsProgramming Nov 1, 2024
3a31d50
luh calm commit 2
PatribotsProgramming Nov 1, 2024
86c0c13
day 1 bb
PatribotsProgramming Nov 2, 2024
27f4138
day 2 bb
PatribotsProgramming Nov 3, 2024
6b380c4
final beach blitz moment
PatribotsProgramming Nov 9, 2024
9850fac
Beach (#301)
Oliver-Cushman Nov 9, 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
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# This gitignore has been specially created by the WPILib team.
# If you remove items from this file, intellisense might break.

BuildConstants.java

### C++ ###
# Prerequisites
*.d
Expand Down
2 changes: 1 addition & 1 deletion .pathplanner/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"Normal",
"OBJ"
],
"defaultMaxVel": 5.0,
"defaultMaxVel": 4.5,
"defaultMaxAccel": 3.5,
"defaultMaxAngVel": 1137.21,
"defaultMaxAngAccel": 1492.9,
Expand Down
55 changes: 26 additions & 29 deletions README.md

Large diffs are not rendered by default.

36 changes: 36 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
plugins {
id "java"
id "edu.wpi.first.GradleRIO" version "2024.3.2"
id "com.peterabeles.gversion" version "1.10"
}

repositories {
Expand All @@ -17,6 +18,7 @@ def ROBOT_MAIN_CLASS = "frc.robot.Main"
// Define my targets (RoboRIO) and artifacts (deployable files)
// This is added by GradleRIO's backing project DeployUtils.
deploy {

targets {
roborio(getTargetTypeClass('RoboRIO')) {
// Team number is loaded either from the .wpilib/wpilib_preferences.json
Expand Down Expand Up @@ -72,6 +74,9 @@ dependencies {
simulationRelease wpi.sim.enableRelease()

implementation 'com.github.shueja:Monologue:v1.0.0-beta6'

def akitJson = new groovy.json.JsonSlurper().parseText(new File(projectDir.getAbsolutePath() + "/vendordeps/AdvantageKit.json").text)
annotationProcessor "org.littletonrobotics.akit.junction:junction-autolog:$akitJson.version"
}

test {
Expand Down Expand Up @@ -102,3 +107,34 @@ wpi.java.configureTestTasks(test)
tasks.withType(JavaCompile) {
options.compilerArgs.add '-XDstringConcat=inline'
}

repositories {
maven {
url = uri("https://maven.pkg.github.com/Mechanical-Advantage/AdvantageKit")
credentials {
username = "Mechanical-Advantage-Bot"
password = "\u0067\u0068\u0070\u005f\u006e\u0056\u0051\u006a\u0055\u004f\u004c\u0061\u0079\u0066\u006e\u0078\u006e\u0037\u0051\u0049\u0054\u0042\u0032\u004c\u004a\u006d\u0055\u0070\u0073\u0031\u006d\u0037\u004c\u005a\u0030\u0076\u0062\u0070\u0063\u0051"
}
}
mavenLocal()
}

configurations.all {
exclude group: "edu.wpi.first.wpilibj"
}

task(checkAkitInstall, dependsOn: "classes", type: JavaExec) {
mainClass = "org.littletonrobotics.junction.CheckInstall"
classpath = sourceSets.main.runtimeClasspath
}
compileJava.finalizedBy checkAkitInstall

project.compileJava.dependsOn(createVersionFile)
gversion {
srcDir = "src/main/java/"
classPackage = "frc.robot"
className = "BuildConstants"
dateFormat = "yyyy-MM-dd HH:mm:ss z"
timeZone = "America/Los_Angeles" // Use preferred time zone
indent = " "
}
Binary file removed image.png
Binary file not shown.
Binary file modified images/GIF/dino chase.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/drivercontrols.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
69 changes: 69 additions & 0 deletions src/main/deploy/pathplanner/autos/S C1-5 S Over W1 DEF.auto
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
{
"version": 1.0,
"startingPose": {
"position": {
"x": 1.2422530556147342,
"y": 7.161301131112901
},
"rotation": -124.91237183543709
},
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "FullPowerPreload2"
}
},
{
"type": "deadline",
"data": {
"commands": [
{
"type": "path",
"data": {
"pathName": "S C1"
}
},
{
"type": "sequential",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "StopAll"
}
},
{
"type": "wait",
"data": {
"waitTime": 1.0
}
},
{
"type": "named",
"data": {
"name": "ToIndexer"
}
}
]
}
}
]
}
},
{
"type": "named",
"data": {
"name": "C1toC5default"
}
}
]
}
},
"folder": "Normal",
"choreoAuto": false
}
34 changes: 7 additions & 27 deletions src/main/deploy/pathplanner/autos/S C1-5 S Over W1.auto
Original file line number Diff line number Diff line change
Expand Up @@ -5,36 +5,16 @@
"x": 1.2422530556147342,
"y": 7.161301131112901
},
"rotation": -128.23889760719103
"rotation": -124.91237183543709
},
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "deadline",
"type": "named",
"data": {
"commands": [
{
"type": "sequential",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "ShootInstantlyWhenReady"
}
}
]
}
},
{
"type": "named",
"data": {
"name": "PrepareSWD"
}
}
]
"name": "FullPowerPreload2"
}
},
{
Expand Down Expand Up @@ -65,15 +45,15 @@
"data": {
"commands": [
{
"type": "wait",
"type": "named",
"data": {
"waitTime": 1.7
"name": "StopAll"
}
},
{
"type": "named",
"type": "wait",
"data": {
"name": "StopAll"
"waitTime": 1.0
}
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,80 +2,81 @@
"version": 1.0,
"startingPose": {
"position": {
"x": 1.3387789373563073,
"y": 5.55
"x": 1.3216735004898588,
"y": 6.301761136557157
},
"rotation": 179.22577983507193
"rotation": -151.5616809371522
},
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "deadline",
"type": "named",
"data": {
"name": "FullPowerPreload3"
}
},
{
"type": "race",
"data": {
"commands": [
{
"type": "sequential",
"data": {
"commands": [
{
"type": "named",
"type": "path",
"data": {
"name": "ShootWhenReady"
"pathName": "S C2"
}
},
{
"type": "path",
"type": "wait",
"data": {
"pathName": "S W3-1 2"
"waitTime": 0.3
}
},
}
]
}
},
{
"type": "sequential",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "ShootInstantlyWhenReady"
"name": "StopAll"
}
},
{
"type": "wait",
"data": {
"waitTime": 1.0
}
},
{
"type": "named",
"data": {
"name": "EnableLimelight"
"name": "ToIndexer"
}
}
]
}
},
{
"type": "named",
"data": {
"name": "PrepareSWD"
}
}
]
}
},
{
"type": "path",
"data": {
"pathName": "S C2 N"
}
},
{
"type": "named",
"data": {
"name": "C2toC3"
}
},
{
"type": "named",
"data": {
"name": "C3toC1"
"name": "C2toC3nonOBJ"
}
}
]
}
},
"folder": "OBJ",
"folder": "Normal",
"choreoAuto": false
}
Loading
Loading