Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
265 commits
Select commit Hold shift + click to select a range
8741d80
Merge branch 'decode-text-menu' into decode
nobody-particular Oct 3, 2025
598e592
Merge remote-tracking branch 'origin/decode' into decode
emosa08 Oct 4, 2025
f2981fb
Potential Wily Works fix for Macs, #2.
madacker Oct 5, 2025
9a267b9
Merge remote-tracking branch 'origin/decode' into decode
emosa08 Oct 6, 2025
ecc86c0
Add Configuration Tester and Reset ADB utilities.
madacker Oct 8, 2025
872ac49
Added max velocity for launcher fast launch and slow launch
anya-codes Oct 8, 2025
571b904
Added max velocity for launcher fast launch and slow launch
anya-codes Oct 8, 2025
45470db
Merge remote-tracking branch 'origin/decode' into decode
anya-codes Oct 8, 2025
d3bcf88
launch motors/servos renamed
emosa08 Oct 8, 2025
f89e27c
launch motors/servos renamed fixed
emosa08 Oct 8, 2025
aa1f3b4
Reversed the fastbot wheels for left front and back instead of left b…
anya-codes Oct 8, 2025
d9a54c1
Changed some of the launcher velocity constants to public static inst…
anya-codes Oct 9, 2025
40f9b07
Added code for sorting. Will need testing.
anya-codes Oct 9, 2025
7cd56f5
Added code for sorting. Will need testing.
anya-codes Oct 9, 2025
28ebd6e
Added code for sorting. Will need testing.
anya-codes Oct 9, 2025
eef3543
Changed launcher low velocities and removed sorting code
anya-codes Oct 10, 2025
ed364e9
added sorting?
emosa08 Oct 12, 2025
b9396c3
added reverse launching, to add a fallback in the case that sorting f…
emosa08 Oct 12, 2025
d46b90b
Added if conditional in CompetitionTeleOp to reverse launcher directi…
anya-codes Oct 12, 2025
b047c6a
Fixed max and min velocity for launcher reverse so velocity doesn't h…
anya-codes Oct 12, 2025
a00a4a0
added telemetry
emosa08 Oct 12, 2025
d3d94c8
Text menu working 3 auto paths (roughly) working - need to add waits …
OrchidSwerve Oct 12, 2025
0a4a5e0
Merge remote-tracking branch 'origin/decode' into decode
OrchidSwerve Oct 12, 2025
e4b42fa
added telemetry
emosa08 Oct 12, 2025
d0f331e
Merge remote-tracking branch 'origin/decode' into decode
emosa08 Oct 12, 2025
002acb7
Added code for LED in cases SPIN_UP_LOW, SPIN_UP_HIGH, and LAUNCHING.
anya-codes Oct 12, 2025
bee4634
relocated code needed for Auto from CompetionTeleOp to BaseOpMode
emosa08 Oct 12, 2025
09afeaf
Merge remote-tracking branch 'origin/decode' into decode
emosa08 Oct 13, 2025
f7ea897
added led code and manually merged CompetionTeleOp and BaseOpMode (ag…
emosa08 Oct 13, 2025
eb3a166
removed unused imports (relocated to BaseOpMode)
emosa08 Oct 13, 2025
eea9296
Added comment to explain controls for text menu on WilyWorks
nobody-particular Oct 15, 2025
6be35bb
Added 3 new auto paths for blue alliance and updated enums for blue a…
anya-codes Oct 15, 2025
3a56230
Merge remote-tracking branch 'origin/decode' into decode
anya-codes Oct 15, 2025
d98b84c
updated values using loonytune
emosa08 Oct 17, 2025
ccb7f5a
Reordered code so start position is selected after text menu. Fixed a…
anya-codes Oct 17, 2025
82bed67
Decreased feed time, added code to lock the right bumper control for …
anya-codes Oct 19, 2025
fbb11bc
updated tuning values for devbot
emosa08 Oct 19, 2025
fa563ba
Launch Actions for Autonomous
Oct 19, 2025
97f1b26
fixed devbot tuning values
emosa08 Oct 19, 2025
a8eb93f
Added code to always run feeder wheels in reverse unless launching, a…
anya-codes Oct 19, 2025
59ddd4a
Merge remote-tracking branch 'origin/decode' into decode
anya-codes Oct 19, 2025
a272d91
Launch Actions for Autonomous, doesnt stop shooting
Oct 19, 2025
86f840a
added constant reverse servo movement to prevent errant launching. re…
emosa08 Oct 20, 2025
5f10f58
Launch Actions for Autonomous
Oct 22, 2025
2421499
Merge remote-tracking branch 'origin/decode' into decode
Oct 22, 2025
b394126
reworked enums, and removed unneeded code.
emosa08 Oct 22, 2025
9860ff3
fixed reverse code again
emosa08 Oct 22, 2025
d50ee75
reverse testing again - needs testing
emosa08 Oct 22, 2025
3f6f74a
Merge remote-tracking branch 'origin/decode' into decode
emosa08 Oct 22, 2025
23f3704
weird blank space removed
emosa08 Oct 22, 2025
d2f43e0
removed case: idle from if(shotrequested) which may fix reverse feede…
emosa08 Oct 25, 2025
7689c94
slow reverse code is now FUNCTIONAL!!!!
emosa08 Oct 26, 2025
224b4e2
Code that can detect the id and display message.
Crest5005 Oct 26, 2025
70ac444
Merge branch 'decode' of https://github.com/SwerveRobotics/FtcRobotCo…
Crest5005 Oct 26, 2025
de7b91d
all 4 auto paths work!
Oct 26, 2025
f60ecb3
Switched slowMode control to right trigger to make it easier for drivers
anya-codes Oct 26, 2025
fe461cf
Increased resolution
Crest5005 Oct 26, 2025
84624b1
Merge remote-tracking branch 'origin/decode' into decode
Crest5005 Oct 26, 2025
bc8ba2f
added launcherVelocity variable to reduce lag.
emosa08 Oct 26, 2025
ab256d7
Merge remote-tracking branch 'origin/decode' into decode
emosa08 Oct 26, 2025
370c0ec
Added code to check which robot it is (FastBot, SlowBot, or DevBot) s…
anya-codes Oct 28, 2025
9ac0fd9
incomplete changes
emosa08 Oct 29, 2025
d4ecc51
all 4 auto paths work!
Oct 29, 2025
b2d5ed3
Merge remote-tracking branch 'origin/decode' into decode
Oct 29, 2025
011bbbb
added drum rotation and launch slowbot TeleOp controls. Not finished.
emosa08 Oct 29, 2025
ad84c48
Added code to check which robot is connected and pick an auto to run …
anya-codes Oct 29, 2025
af48b33
all 4 auto paths work! ready for LM1
Oct 30, 2025
ea2df64
fixed auto and added defaults for text menu
emosa08 Oct 31, 2025
13505e0
fixed red far, auto now works fully
emosa08 Oct 31, 2025
1ef5140
Added default for switch chosen movement which we hadn't added earlier
anya-codes Oct 31, 2025
2eca98e
changed red far values
emosa08 Nov 2, 2025
960290d
modified elapsedtime values for red near auto
emosa08 Nov 2, 2025
6030fbc
auto telemetry added
emosa08 Nov 3, 2025
3584b71
auto mirroring
Nov 7, 2025
3bd5147
pushing to fix comflictions
emosa08 Nov 7, 2025
8808bb9
Merge remote-tracking branch 'origin/slowbot-teleop' into slowbot-teleop
emosa08 Nov 7, 2025
e443a15
started ComplexDrumGlob class
emosa08 Nov 7, 2025
1568ed3
auto mirroring
Nov 7, 2025
84768d3
comments
emosa08 Nov 9, 2025
ee4c58e
Made AprilTags detect artifact pattern in Autonomous! Tested on DevBot!
nobody-particular Nov 10, 2025
9570e29
Made AprilTags detect artifact pattern in Autonomous! Tested on DevBot!
nobody-particular Nov 10, 2025
5f1d9d1
Merge remote-tracking branch 'origin/decode' into decode
nobody-particular Nov 10, 2025
0681139
made mode progress on the newly renamed ComplexMechGlob. yay.
emosa08 Nov 10, 2025
5b7cf45
THe color detection and test telop, not currently fully functional
OrchidSwerve Nov 10, 2025
7e44d51
auto intake cycles in text menu
Nov 12, 2025
fdb670b
fastbot code gone in this branch
Nov 12, 2025
87bfdf9
Merge remote-tracking branch 'origin/slowbot-teleop' into slowbot-teleop
Nov 12, 2025
3ad0243
Merge remote-tracking branch 'origin/slowbot-teleop' into slowbot-teleop
OrchidSwerve Nov 12, 2025
a818b7d
finsished the launch, intake, and queueDrum methods
emosa08 Nov 12, 2025
220baa0
Merge remote-tracking branch 'origin/slowbot-teleop' into slowbot-teleop
emosa08 Nov 12, 2025
ab2b61f
Merge branch 'decode' into slowbot-teleop
nobody-particular Nov 12, 2025
bef59f0
Merge remote-tracking branch 'origin/decode' into decode
nobody-particular Nov 12, 2025
e7df839
Removed fastbot constants and old slowbot teleop code (because we're …
anya-codes Nov 12, 2025
06ce0b5
Color detection working - redone with value for mone and hue ranges …
OrchidSwerve Nov 12, 2025
1d5c2e8
started work on void update. hardware intialization and many constant…
emosa08 Nov 12, 2025
e85e9f4
Merge remote-tracking branch 'origin/slowbot-teleop' into slowbot-teleop
OrchidSwerve Nov 12, 2025
dd857ee
Color detection working - redone with value for mone and hue ranges …
OrchidSwerve Nov 12, 2025
9054a80
Merge remote-tracking branch 'origin/slowbot-teleop' into slowbot-teleop
emosa08 Nov 12, 2025
c840c9a
Merge remote-tracking branch 'origin/slowbot-teleop' into slowbot-teleop
emosa08 Nov 12, 2025
f59dbb7
finished WaitState logic, which talks to the hardware. yay!
emosa08 Nov 14, 2025
486eeb6
Update to latest version of Wily Works.
madacker Nov 16, 2025
40c02b6
Auto far out of way start
Nov 16, 2025
b5808fb
Merge remote-tracking branch 'origin/slowbot-teleop' into slowbot-teleop
Nov 16, 2025
35c354c
Color detection redone without chatgpt stuff, not really working well…
OrchidSwerve Nov 16, 2025
339a446
Merge branch 'slowbot-teleop' of https://github.com/SwerveRobotics/Ft…
OrchidSwerve Nov 16, 2025
e2ac7cd
Added comments to AprilTagDetector and improved its telemetry!
nobody-particular Nov 16, 2025
005e6b6
finished glob code
emosa08 Nov 17, 2025
d6fdbc9
Merge remote-tracking branch 'origin/slowbot-teleop' into slowbot-teleop
emosa08 Nov 17, 2025
451d2ed
Kashvi - color sensor code
Nov 17, 2025
7fffce4
Merge remote-tracking branch 'origin/slowbot-teleop' into slowbot-teleop
Nov 17, 2025
2394b23
Changed detectPixelColor function call in ComplexMechGlob to detectAr…
anya-codes Nov 17, 2025
fbb3170
Color detection redone for new logic
OrchidSwerve Nov 19, 2025
0cd0bdc
Merge branch 'slowbot-teleop' of https://github.com/SwerveRobotics/Ft…
OrchidSwerve Nov 19, 2025
529d488
Color detection redone for new logic + imports
OrchidSwerve Nov 19, 2025
daeb6c3
teleop controls completed. ready for testing with wilyworks.
emosa08 Nov 19, 2025
ab0f9ee
Update to latest version of Wily Works, mechanism simulator, and Conf…
madacker Nov 21, 2025
3f3242a
Merge remote-tracking branch 'origin/slowbot-teleop' into slowbot-teleop
emosa08 Nov 21, 2025
b4da5ff
Changed the hardware name to match the document
Crest5005 Nov 21, 2025
1260df9
Merge branch 'slowbot-teleop' of https://github.com/SwerveRobotics/Ft…
Crest5005 Nov 21, 2025
d5fe7f1
added some initialization features back to teleop that were removed
emosa08 Nov 21, 2025
791cf5b
Merge remote-tracking branch 'origin/slowbot-teleop' into slowbot-teleop
Crest5005 Nov 21, 2025
34f0f3e
inithardware removed from auto
emosa08 Nov 23, 2025
aaac3d2
Update FTC Dashboard for Decode image.
madacker Nov 26, 2025
b4e06e8
Merge branch 'slowbot-teleop' of https://github.com/SwerveRobotics/Ft…
madacker Nov 26, 2025
8b59982
Shortened logic to include distance and added telemetry
Crest5005 Nov 26, 2025
061d9f8
Created new program to test launcher, feeder, and transfer without in…
anya-codes Nov 26, 2025
ee44a26
Merge remote-tracking branch 'origin/slowbot-teleop' into slowbot-teleop
anya-codes Nov 26, 2025
d6c2d9c
Added a constant for top spin that can now be modified in FTC dashboa…
anya-codes Nov 26, 2025
5b652f3
changed inches to mm and html telemtry
Crest5005 Nov 26, 2025
687471a
Merge remote-tracking branch 'origin/slowbot-teleop' into slowbot-teleop
Crest5005 Nov 26, 2025
aefb52b
Made some changes to LauncherTest so it shows up on driver station an…
anya-codes Nov 26, 2025
c901200
Merge remote-tracking branch 'origin/slowbot-teleop' into slowbot-teleop
anya-codes Nov 26, 2025
761567c
Auto far out of way start
Nov 18, 2025
9dfd7bd
Merge remote-tracking branch 'origin/slowbot-teleop' into slowbot-teleop
Nov 27, 2025
53da66a
Auto not working, paths get lost
Nov 30, 2025
519246a
we found the paths, mechglob update in loop
Nov 30, 2025
da87bcd
Added Limelight3ATest, currently concept code does not work
nobody-particular Nov 16, 2025
c50cbd9
Finished LimelightDetector for Pattern, tested on robot
nobody-particular Nov 30, 2025
4982374
launch in auto
Dec 1, 2025
8833a02
intake in auto
Dec 1, 2025
4930109
Merge remote-tracking branch 'origin/slowbot-teleop' into slowbot-teleop
Dec 1, 2025
44f3628
Hankang is calling a new OpMode member function.
madacker Dec 1, 2025
1fc8d33
Merge branch 'slowbot-teleop' of https://github.com/SwerveRobotics/Ft…
Dec 1, 2025
6e8258e
added drum positions & voltages, and edited the epsilon
emosa08 Dec 1, 2025
02c8a19
Merge remote-tracking branch 'origin/slowbot-teleop' into slowbot-teleop
emosa08 Dec 1, 2025
544baf2
Update to latest drop of Wily Works and Configuration Tester.
madacker Dec 1, 2025
9b60d94
Coded LimelightDetector.detectRobotPose
nobody-particular Dec 3, 2025
603ffbe
Removed extraneous code
nobody-particular Dec 3, 2025
00788f7
intake in auto
Dec 3, 2025
e14d71f
Merge remote-tracking branch 'origin/slowbot-teleop' into slowbot-teleop
Dec 3, 2025
e69a559
Conceptually implemented BaseOpMode.tryResetRobotPose.
nobody-particular Dec 3, 2025
9fb3e96
Update Wily Works to latest.
madacker Dec 3, 2025
1460d7c
Disabled transfer in teleop. Will enable again once we have tuned val…
anya-codes Dec 4, 2025
167a7a3
Changed robot wifi name from 417-b-RC to 417-B-RC
anya-codes Dec 4, 2025
2e18582
Moved intake from right_stick_x to right_stick_y
anya-codes Dec 5, 2025
b44f639
changes
Dec 5, 2025
b2051a6
Merge remote-tracking branch 'origin/slowbot-teleop' into slowbot-teleop
Dec 5, 2025
95f257c
Added a new method to ComplexMechGlob that returns the color of the a…
anya-codes Dec 5, 2025
095b031
Merge remote-tracking branch 'origin/slowbot-teleop' into slowbot-teleop
anya-codes Dec 5, 2025
e60692f
Added telemetry and a manual control to turn the flywheel off. Manual…
anya-codes Dec 5, 2025
222608d
Started auto aim code and added a class for auto aim and a PID contro…
anya-codes Dec 5, 2025
aa0fdb4
Created PreLaunchAction and SpinUpAction for auto, builds but not tes…
SameerHussaini417 Dec 6, 2025
b109fa8
Update simulator.
madacker Dec 7, 2025
c80f7e8
Added @override annotation to getSlotColor that was missing before
anya-codes Dec 7, 2025
2432711
Update to latest drops of Wily Works and Loony Tune.
madacker Dec 7, 2025
aa6b07c
changed transfer positions
emosa08 Dec 7, 2025
d55a193
Merge remote-tracking branch 'origin/slowbot-teleop' into slowbot-teleop
emosa08 Dec 7, 2025
3f307a9
rename countballs to getcolor, Spin up action removed and put at start.
SameerHussaini417 Dec 7, 2025
60481fa
Merge remote-tracking branch 'origin/slowbot-teleop' into slowbot-teleop
SameerHussaini417 Dec 7, 2025
d78b823
Removed SensorColor because it was just a sample. Finished auto aim c…
anya-codes Dec 7, 2025
90cfa4a
Auto works, roadrunner builds after start, 12 ball 8 seconds over.
SameerHussaini417 Dec 8, 2025
22e451b
Merge remote-tracking branch 'origin/slowbot-teleop' into slowbot-teleop
SameerHussaini417 Dec 8, 2025
3542182
Revised BaseOpMode.tryResetRobotPose to be non-static.
nobody-particular Dec 8, 2025
8903672
Auto works, roadrunner builds after start, 12 ball 8 seconds over.
SameerHussaini417 Dec 8, 2025
1f7548a
Added LoonyTune config for SlowBot . The parameters are wrong and nee…
anya-codes Dec 8, 2025
ef0324d
added manual drum rotation
emosa08 Dec 8, 2025
1de651e
Merge remote-tracking branch 'origin/slowbot-teleop' into slowbot-teleop
emosa08 Dec 8, 2025
ec093e9
fixed merge conflicts
emosa08 Dec 8, 2025
2564c87
Handle failure cases, prelaunch. 9 ball near auto in 28.2 seconds inc…
SameerHussaini417 Dec 9, 2025
8500bbe
Merge remote-tracking branch 'origin/slowbot-teleop' into slowbot-teleop
SameerHussaini417 Dec 9, 2025
b76abcc
Changed String arrays in CompetitionAuto to PixelColor arrays because…
anya-codes Dec 9, 2025
857b209
symettry problem fixed, error cases handled better
SameerHussaini417 Dec 9, 2025
fb377b8
check in CMC
SameerHussaini417 Dec 9, 2025
efbb111
check in CMC
SameerHussaini417 Dec 9, 2025
31a3baf
Added code to log last 9 color sensor readings in telemetry. Also tun…
anya-codes Dec 9, 2025
51a05fb
Merge remote-tracking branch 'origin/slowbot-teleop' into slowbot-teleop
anya-codes Dec 9, 2025
0437726
Update to latest drop of Wily Works.
madacker Dec 9, 2025
0a74b60
pattern
SameerHussaini417 Dec 10, 2025
9216d26
Merge remote-tracking branch 'origin/slowbot-teleop' into slowbot-teleop
SameerHussaini417 Dec 10, 2025
e14ab83
added the calculateLaunchVelocity method that figures out what the la…
emosa08 Dec 10, 2025
2919920
Merge remote-tracking branch 'origin/slowbot-teleop' into slowbot-teleop
emosa08 Dec 10, 2025
6590ca9
fixed a bug that would create a brief infinite loop between the intak…
emosa08 Dec 10, 2025
822d65e
LONNEY TUNE
SameerHussaini417 Dec 10, 2025
15da3b5
Merge remote-tracking branch 'origin/slowbot-teleop' into slowbot-teleop
SameerHussaini417 Dec 10, 2025
0e639e5
Changed distance and some color sensor logic. Tuned teleop constants.
anya-codes Dec 10, 2025
740f4b2
Merge remote-tracking branch 'origin/slowbot-teleop' into slowbot-teleop
anya-codes Dec 10, 2025
cc09957
added the DRUM_MOVE_WAIT state to allow the color sensors time to pro…
emosa08 Dec 10, 2025
611403f
Merge remote-tracking branch 'origin/slowbot-teleop' into slowbot-teleop
emosa08 Dec 10, 2025
8a514e2
fixed a merge conflict
emosa08 Dec 10, 2025
6c5472b
added pose home button for teleop
emosa08 Dec 10, 2025
aed7dc4
Lots of things
SameerHussaini417 Dec 10, 2025
88dbdaa
Made miscellaneous improvements, specifically, adding a pose range fo…
nobody-particular Dec 11, 2025
760e7eb
Changed CoolColorDetector to always return NONE for driver practice t…
anya-codes Dec 11, 2025
f6e70b5
gain change(dont know if it did anything), Auto
SameerHussaini417 Dec 11, 2025
e43bda1
Merge remote-tracking branch 'origin/slowbot-teleop' into slowbot-teleop
SameerHussaini417 Dec 11, 2025
2fbe98b
Merge branch 'refs/heads/slowbot-teleop' into limelight
nobody-particular Dec 11, 2025
2d4c0d6
Resolved merge conflict
nobody-particular Dec 11, 2025
264f72f
Merge branch 'limelight' into slowbot-teleop
nobody-particular Dec 11, 2025
9e0ca91
tuning
SameerHussaini417 Dec 11, 2025
a6f3c63
Merge remote-tracking branch 'origin/slowbot-teleop' into slowbot-teleop
SameerHussaini417 Dec 11, 2025
d173ba2
sets the pattern after cool hankang limelight thingies stops the auto…
SameerHussaini417 Dec 11, 2025
651585b
Added log for X and Y error of last manual reset
nobody-particular Dec 11, 2025
452145d
Fixed a bug in findNearestSlot because it wasn't updating the minDist…
anya-codes Dec 11, 2025
86f5f59
Add twin color sensor calibration tool.
madacker Dec 12, 2025
59cb0b2
Improved logs, enabled yaw update for Auto
nobody-particular Dec 12, 2025
d5d4e05
Merge remote-tracking branch 'origin/slowbot-teleop' into slowbot-teleop
nobody-particular Dec 12, 2025
f06fe68
auto
SameerHussaini417 Dec 12, 2025
3dfb7b6
Merge remote-tracking branch 'origin/slowbot-teleop' into slowbot-teleop
SameerHussaini417 Dec 12, 2025
2c6b6f1
Added control to clear telemetry log (gamepad 2 back button)
anya-codes Dec 12, 2025
d481cd2
Merge remote-tracking branch 'origin/slowbot-teleop' into slowbot-teleop
anya-codes Dec 12, 2025
0e6fb7f
Added TransferState.trustPose
nobody-particular Dec 12, 2025
86e0622
Merge remote-tracking branch 'origin/slowbot-teleop' into slowbot-teleop
nobody-particular Dec 12, 2025
ab628ed
Added telemetry to print hwDrumPosition and the current voltage. Comm…
anya-codes Dec 12, 2025
f550d7c
Merge remote-tracking branch 'origin/slowbot-teleop' into slowbot-teleop
anya-codes Dec 12, 2025
e64c8bb
auto problematic thingies
SameerHussaini417 Dec 12, 2025
73f812b
New drop of Wily Works.
madacker Dec 12, 2025
0f574c7
Merge remote-tracking branch 'origin/slowbot-teleop' into slowbot-teleop
SameerHussaini417 Dec 12, 2025
48cf540
Changed gain to 85, added a value check to coolcolordetector. Reorder…
anya-codes Dec 12, 2025
ff24cf9
Merge remote-tracking branch 'origin/slowbot-teleop' into slowbot-teleop
anya-codes Dec 12, 2025
0995b65
andrew help change thingies
SameerHussaini417 Dec 13, 2025
f5eaf4f
Merge remote-tracking branch 'origin/slowbot-teleop' into slowbot-teleop
SameerHussaini417 Dec 13, 2025
75a2c57
fix gain
SameerHussaini417 Dec 13, 2025
9102298
CHANGE HUE TO 230 max purp, still need pickup tune
SameerHussaini417 Dec 13, 2025
9897102
830 on auto day
SameerHussaini417 Dec 13, 2025
b4c616d
telemetry spew
SameerHussaini417 Dec 13, 2025
c2ba75f
added FAR_OUT_OF_WAY path
SameerHussaini417 Dec 13, 2025
20ee083
Switched pipeline index for SlowBot
nobody-particular Dec 13, 2025
aa3543c
Merge remote-tracking branch 'origin/slowbot-teleop' into slowbot-teleop
nobody-particular Dec 13, 2025
4d529e9
Add a preload tester.
madacker Dec 13, 2025
81c98b7
added test surgery and intake back after intake
SameerHussaini417 Dec 13, 2025
9333492
Merge remote-tracking branch 'origin/slowbot-teleop' into slowbot-teleop
SameerHussaini417 Dec 13, 2025
1ee12cc
Fix preload test.
madacker Dec 13, 2025
1fd3e5d
auto test
SameerHussaini417 Dec 13, 2025
a3746fd
Merge remote-tracking branch 'origin/slowbot-teleop' into slowbot-teleop
SameerHussaini417 Dec 13, 2025
64faa7f
day before comp fixes
SameerHussaini417 Dec 14, 2025
f400422
flywheel tolerance, color fixes, ohCrap
SameerHussaini417 Dec 14, 2025
33998c7
flywheel tolerance, color fixes, ohCrap
SameerHussaini417 Dec 14, 2025
c3dc4e1
auto far out of way start intaking after displacement 5 in, the early…
SameerHussaini417 Dec 14, 2025
860f310
Update to latest WilyWorks. Be sure to 'Clean Project' otherwise you'…
madacker Jan 21, 2026
80a9f5b
Update MechSim to be visible even when launch motor is off.
madacker Jan 21, 2026
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
42 changes: 39 additions & 3 deletions WilyCore/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,24 +19,60 @@ kotlin {
sourceSets {
main {
java {
srcDirs = ['src/main/java', {System.getenv('SRC_ROOT')}]
srcDirs = ['src/main/java', '../Sidekick/src/main/java', {System.getenv('SRC_ROOT')}]
}
}
}

// LWJGL for gamepad input, generated from https://www.lwjgl.org/customize for just the "GLFW"
// module for MacOS arm64 and Windows x64.
import org.gradle.internal.os.OperatingSystem

project.ext.lwjglVersion = "3.3.6"

switch (OperatingSystem.current()) {
case OperatingSystem.LINUX:
project.ext.lwjglNatives = "natives-linux"
def osArch = System.getProperty("os.arch")
if (osArch.startsWith("arm") || osArch.startsWith("aarch64")) {
project.ext.lwjglNatives += osArch.contains("64") || osArch.startsWith("armv8") ? "-arm64" : "-arm32"
} else if (osArch.startsWith("ppc")) {
project.ext.lwjglNatives += "-ppc64le"
} else if (osArch.startsWith("riscv")) {
project.ext.lwjglNatives += "-riscv64"
}
break
case OperatingSystem.MAC_OS:
project.ext.lwjglNatives = "natives-macos-arm64"
break
case OperatingSystem.WINDOWS:
project.ext.lwjglNatives = "natives-windows"
break
}

repositories {
jcenter()
mavenCentral()
maven { url = 'https://maven.brott.dev/' }
}

dependencies {
implementation project(path: ':WilyWorks')
implementation "com.acmerobotics.roadrunner:core:1.0.0" // For Pose2d, PoseVelocity2d, etc.
// implementation "uk.co.electronstudio.sdl2gdx:sdl2gdx:1.0.+" // For gamepad control
implementation "org.reflections:reflections:0.10.2" // For enumerating classes with annotations
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8" // For enumerating all classes
implementation "com.google.code.gson:gson:2.11.0" // For serializing Java objects to JSON
implementation 'net.bytebuddy:byte-buddy:1.15.10' // For proxying classes rather than interfaces
implementation 'org.objenesis:objenesis:3.2' // Instantiate class without invoking a constructor
implementation 'org.json:json:20250107' // Or any recent version

// Lwjgl for gamepad input:
implementation platform("org.lwjgl:lwjgl-bom:$lwjglVersion")
implementation "org.lwjgl:lwjgl"
implementation "org.lwjgl:lwjgl-glfw"
runtimeOnly "org.lwjgl:lwjgl::$lwjglNatives"
runtimeOnly "org.lwjgl:lwjgl-glfw::$lwjglNatives"
}

compileKotlin {
kotlinOptions {
jvmTarget = "1.8"
Expand Down
4 changes: 4 additions & 0 deletions WilyCore/src/main/java/android/content/Context.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
package android.content;

import android.app.Activity;
import android.content.pm.PackageManager;
import android.content.res.AssetManager;

import java.io.File;

Expand All @@ -13,4 +15,6 @@ public String getPackageName() {
}
public static final int MODE_PRIVATE = 0;
public File getDir(String var1, int var2) { return null; }
public AssetManager getAssets() { return null; }
public PackageManager getPackageManager() { return new PackageManager(); }
}
10 changes: 10 additions & 0 deletions WilyCore/src/main/java/android/content/pm/PackageInfo.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package android.content.pm;

public class PackageInfo {
public String versionName = "9.0.1";
}
12 changes: 12 additions & 0 deletions WilyCore/src/main/java/android/content/pm/PackageManager.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package android.content.pm;

import android.annotation.NonNull;

public class PackageManager {
public PackageInfo getPackageInfo(@NonNull String var1, int var2) { return new PackageInfo(); }
}
13 changes: 13 additions & 0 deletions WilyCore/src/main/java/android/content/res/AssetManager.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package android.content.res;

import android.annotation.NonNull;

import java.io.IOException;
import java.io.InputStream;

public class AssetManager {
@NonNull
public InputStream open(@NonNull String fileName) throws IOException {
throw new RuntimeException("Wily Works Stub!");
}
}
235 changes: 235 additions & 0 deletions WilyCore/src/main/java/android/graphics/Bitmap.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,239 @@
package android.graphics;

import android.annotation.NonNull;

import java.io.OutputStream;
import java.nio.Buffer;

public class Bitmap {
@NonNull
public static final int DENSITY_NONE = 0;

Bitmap() {
throw new RuntimeException("Stub!");
}

public int getDensity() {
throw new RuntimeException("Stub!");
}

public void setDensity(int density) {
throw new RuntimeException("Stub!");
}

public void reconfigure(int width, int height, Config config) {
throw new RuntimeException("Stub!");
}

public void setWidth(int width) {
throw new RuntimeException("Stub!");
}

public void setHeight(int height) {
throw new RuntimeException("Stub!");
}

public void setConfig(Config config) {
throw new RuntimeException("Stub!");
}

public void recycle() {
throw new RuntimeException("Stub!");
}

public boolean isRecycled() {
throw new RuntimeException("Stub!");
}

public int getGenerationId() {
throw new RuntimeException("Stub!");
}

public void copyPixelsToBuffer(Buffer dst) {
throw new RuntimeException("Stub!");
}

public void copyPixelsFromBuffer(Buffer src) {
throw new RuntimeException("Stub!");
}

public Bitmap copy(Config config, boolean isMutable) {
throw new RuntimeException("Stub!");
}


public static Bitmap createScaledBitmap(@NonNull Bitmap src, int dstWidth, int dstHeight, boolean filter) {
throw new RuntimeException("Stub!");
}

public static Bitmap createBitmap(@NonNull Bitmap src) {
throw new RuntimeException("Stub!");
}

public static Bitmap createBitmap(@NonNull Bitmap source, int x, int y, int width, int height) {
throw new RuntimeException("Stub!");
}

public static Bitmap createBitmap(int width, int height, @NonNull Config config) {
throw new RuntimeException("Stub!");
}

public static Bitmap createBitmap(int width, int height, @NonNull Config config, boolean hasAlpha) {
throw new RuntimeException("Stub!");
}

public static Bitmap createBitmap(@NonNull int[] colors, int offset, int stride, int width, int height, @NonNull Config config) {
throw new RuntimeException("Stub!");
}

public static Bitmap createBitmap(@NonNull int[] colors, int width, int height, Config config) {
throw new RuntimeException("Stub!");
}

public byte[] getNinePatchChunk() {
throw new RuntimeException("Stub!");
}

public boolean compress(CompressFormat format, int quality, OutputStream stream) {
throw new RuntimeException("Stub!");
}

public boolean isMutable() {
throw new RuntimeException("Stub!");
}

public boolean isPremultiplied() {
throw new RuntimeException("Stub!");
}

public void setPremultiplied(boolean premultiplied) {
throw new RuntimeException("Stub!");
}

public int getWidth() {
throw new RuntimeException("Stub!");
}

public int getHeight() {
throw new RuntimeException("Stub!");
}

public int getScaledWidth(Canvas canvas) {
throw new RuntimeException("Stub!");
}

public int getScaledHeight(Canvas canvas) {
throw new RuntimeException("Stub!");
}

public int getScaledWidth(int targetDensity) {
throw new RuntimeException("Stub!");
}

public int getScaledHeight(int targetDensity) {
throw new RuntimeException("Stub!");
}

public int getRowBytes() {
throw new RuntimeException("Stub!");
}

public int getByteCount() {
throw new RuntimeException("Stub!");
}

public int getAllocationByteCount() {
throw new RuntimeException("Stub!");
}

public Config getConfig() {
throw new RuntimeException("Stub!");
}

public boolean hasAlpha() {
throw new RuntimeException("Stub!");
}

public void setHasAlpha(boolean hasAlpha) {
throw new RuntimeException("Stub!");
}

public boolean hasMipMap() {
throw new RuntimeException("Stub!");
}

public void setHasMipMap(boolean hasMipMap) {
throw new RuntimeException("Stub!");
}

public void eraseColor(int c) {
throw new RuntimeException("Stub!");
}

public void eraseColor(long color) {
throw new RuntimeException("Stub!");
}

public int getPixel(int x, int y) {
throw new RuntimeException("Stub!");
}

@NonNull
public Color getColor(int x, int y) {
throw new RuntimeException("Stub!");
}

public void getPixels(int[] pixels, int offset, int stride, int x, int y, int width, int height) {
throw new RuntimeException("Stub!");
}

public void setPixel(int x, int y, int color) {
throw new RuntimeException("Stub!");
}

public void setPixels(int[] pixels, int offset, int stride, int x, int y, int width, int height) {
throw new RuntimeException("Stub!");
}

public int describeContents() {
throw new RuntimeException("Stub!");
}

public Bitmap extractAlpha() {
throw new RuntimeException("Stub!");
}

public Bitmap extractAlpha(Paint paint, int[] offsetXY) {
throw new RuntimeException("Stub!");
}

public boolean sameAs(Bitmap other) {
throw new RuntimeException("Stub!");
}

public void prepareToDraw() {
throw new RuntimeException("Stub!");
}

public static enum CompressFormat {
JPEG,
PNG,
/** @deprecated */
@Deprecated
WEBP,
WEBP_LOSSY,
WEBP_LOSSLESS;
}

public static enum Config {
ALPHA_8,
RGB_565,
/** @deprecated */
@Deprecated
ARGB_4444,
ARGB_8888,
RGBA_F16,
HARDWARE;
}

}
9 changes: 9 additions & 0 deletions WilyCore/src/main/java/android/graphics/BitmapFactory.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
package android.graphics;

import java.io.InputStream;

public class BitmapFactory {
public static Bitmap decodeStream(InputStream is) {
throw new RuntimeException("Not Wily Works implemented!");
}
}
Loading