Skip to content

2024 Offseason Updates#71

Merged
spellingcat merged 23 commits intomainfrom
2024
Jul 31, 2025
Merged

2024 Offseason Updates#71
spellingcat merged 23 commits intomainfrom
2024

Conversation

@Lyssia-Seiden
Copy link
Copy Markdown
Collaborator

collected together for easy final review

Lewis-Seiden and others added 23 commits July 8, 2024 14:12
* merged wpilib.md and wpilibintro.md

* hide spectrum talk a bot more

* specify reference sheet type

Co-authored-by: spellingcat <70864274+spellingcat@users.noreply.github.com>

* convert electronics pictures to html and add size tags

* add `s to latex

* fix readme wpilib link

* add apriltag image

* 2024 vision updates

* remove obj detection link

* feedback

* hopefully explained multitag better

---------

Co-authored-by: Lewis-Seiden <lewy@seiden.us>
Co-authored-by: Lewis-Seiden <70111132+Lewis-Seiden@users.noreply.github.com>
* first draft of sim article edits

* feedback

* fixed latex

* never mind

* it's working in the vscode preview hello

* i'm so sorry
Co-authored-by: Jacob Trentini <jacobtrentinidevelopment@gmail.com>
…s/Highlanders-Training into lewy-superstructure-s3
* added akit structure reference doc

* tweaked mermaid graph code

* more tweaks to try to get mermaid graph working

* more tweaks

* format please

* example works?

* what i care about works?

* wrote reference material

* Prettified Code!

* pneumatics are for losers booo [updated code examples to reflect current practices, no substantive content changes]

---------

Co-authored-by: Lewis-Seiden <aPotatoeWithANaginata@gmail.com>
Co-authored-by: spellingcat <spellingcat@users.noreply.github.com>
* add choreo.md

* add numerical optimization

* update choreo article

---------

Co-authored-by: Jacob Trentini <dev@jacob2.dev>
Co-authored-by: spellingcat <70864274+spellingcat@users.noreply.github.com>
* editing pass on CommandBased.md

* kevin pr feedback

* fixed examples

* fix kitbot examples\ (who wouldve thought that installing a java syntax checker would be a good idea

* replace pathplanner reference to choreo reference in wpilib intro

* update projects to 2025 (surely there's a better way to do this 😭)

* import basic project also

* update command based articles

---------

Co-authored-by: Lewis-Seiden <lewy@seiden.us>
Co-authored-by: spellingcat <70864274+spellingcat@users.noreply.github.com>
@spellingcat spellingcat marked this pull request as ready for review July 27, 2025 00:32
@spellingcat spellingcat requested a review from kevinclark July 27, 2025 00:32
@spellingcat
Copy link
Copy Markdown
Member

spellingcat commented Jul 27, 2025

@kevinclark as per this i'm just getting all these merged before starting on other edits. most of these were already done (or really close to being done) so i was mostly just updating stuff to match what we did in 2025

Copy link
Copy Markdown
Contributor

@kevinclark kevinclark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generally looks fine. I know you're largely just merging what was already done, but if you didn't read @Lewis-Seiden 's stage three writeups, you should give them a look. Good context with your superstructure work @spellingcat .

@@ -0,0 +1,328 @@
# AdvantageKit Code Structure Reference
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doc is generally great, but doesn't appear to be linked to from anywhere. Seems like it should be?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yep, that should be fixed on 2025-reorganization

}

// Methods that IOImplementations will implement
public void setAngle(Rotation2d angle);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a TIL I thought you might find interesting. No action needed.

My knee jerk when I saw this was "we should probably mark that parameter as final so it's obvious to callers that we don't modify the angle as a side effect". But apparently Java doesn't actually enforce 'final' modifiers in interfaces, so an implementation doesn't have to use 'final' or avoid modifying the variable. Jeez, Java. What an awkward decision.

@spellingcat
Copy link
Copy Markdown
Member

spellingcat commented Jul 31, 2025

@Lewis-Seiden 's stage three writeups, you should give them a look.

I did read through that (+ a couple of other teams' code from this year) prior to starting on this, and depending on how well this goes for the offseason bot/what gets changed before kickoff I'll likely do a follow up writeup of my own

apparently Java doesn't actually enforce 'final' modifiers in interfaces, so an implementation doesn't have to use 'final' or avoid modifying the variable. Jeez, Java. What an awkward decision.

😭
incidentally I also noticed we were inconsistent with that while going through my rewrite and was wondering why that had apparently not seemed to make a difference lol

@spellingcat spellingcat merged commit 98ef783 into main Jul 31, 2025
1 check passed
@spellingcat spellingcat deleted the 2024 branch July 31, 2025 07:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants