Skip to content

Stage 0: Arrays, Interfaces, Generics, and Lists - #2

Open
zachwaffle4 wants to merge 19 commits into
Adrianamm:fruitloops2from
zachwaffle4:stage0/interfaces-data-structures
Open

Stage 0: Arrays, Interfaces, Generics, and Lists#2
zachwaffle4 wants to merge 19 commits into
Adrianamm:fruitloops2from
zachwaffle4:stage0/interfaces-data-structures

Conversation

@zachwaffle4

Copy link
Copy Markdown

Stacked on frcsoftware#134.

Adds two new Stage 0 lessons following "Classes, Fields, and Methods":

  • Arrays and For-Each Loops (arrays.mdx) — arrays, indexing, for-each loops, using the existing Point class for a fixed autonomous waypoint path.
  • Interfaces, Generics, and Lists (interfaces-lists.mdx) — a DistanceSensor interface, a small generic method, imports/packages, and a growable RobotHistoryTracker built on List<Point>.

Both lessons build on the shared examples/stage0/snippets Gradle project (frcsoftware#187) for cross-file code reuse.

@zachwaffle4 zachwaffle4 reopened this Aug 11, 2026
@zachwaffle4 zachwaffle4 reopened this Aug 11, 2026
@zachwaffle4
zachwaffle4 force-pushed the stage0/interfaces-data-structures branch from ff6f4ce to 997d1b7 Compare August 11, 2026 18:01
@zachwaffle4
zachwaffle4 force-pushed the stage0/interfaces-data-structures branch from 997d1b7 to f8d173f Compare August 11, 2026 18:09
Spaceman113138 and others added 16 commits August 13, 2026 21:50
## Description

Cirriculum for evreything needed to program the kitbot drivetrain. Makes
progress on frcsoftware#13.

## Meta

Merge checklist:

- [x] Pull Request title is [short, imperative
summary](https://cbea.ms/git-commit/) of proposed changes
- [x] The description documents the _what_ and _why_, including events
that led to this PR
- [x] Pull Request has been [linted and
formatted](https://frcsoftware.org/contribution/styleguide/#linting-and-formatting)
and follows the
[styleguide](https://frcsoftware.org/contribution/styleguide)
…re#184)

## Description

Stage 1B's first task told the user to paste in a bunch of unexplained
code. This was not only not helpful, but Stage 1A explains what
everything there does and is for. This PR rewrites that section to be in
line with how we do the other tasks.

Closes frcsoftware#166. Blocked by frcsoftware#153.

## Meta

Merge checklist:

- [x] Pull Request title is [short, imperative
summary](https://cbea.ms/git-commit/) of proposed changes
- [x] The description documents the _what_ and _why_, including events
that led to this PR
- [x] Pull Request has been [linted and
formatted](https://frcsoftware.org/contribution/styleguide/#linting-and-formatting)
and follows the
[styleguide](https://frcsoftware.org/contribution/styleguide)

---------

Co-authored-by: Adriana <16786568+Adrianamm@users.noreply.github.com>
## Description

A current problem with the stage 1A/1B exercise is the lack of
interactivity with the `IntakeLauncher` and `Feeder` mechanisms. This
should solve that by visualizing balls being intaken, outtaken and shot
in the AdvantageScope 3d field.

## Meta

Merge checklist:

- [X] Pull Request title is [short, imperative
summary](https://cbea.ms/git-commit/) of proposed changes
- [X] The description documents the _what_ and _why_, including events
that led to this PR
- [X] Pull Request has been [linted and
formatted](https://frcsoftware.org/contribution/styleguide/#linting-and-formatting)
and follows the
[styleguide](https://frcsoftware.org/contribution/styleguide)

---------
## Description

Put together citations/footnote to refer to wpilib or vendordep docs
using [remark-gfm](https://github.com/remarkjs/remark-gfm). Pretty sure
this is failing CI right now, wanted to get thoughts on whether we
actually like doing citations like this before moving forward with
cleaning it up and adding them to the rest of 1b.


See the bottom of this page to see what the footnotes actually look like
on a page:


https://pr-171.frcsoftware.pages.dev/learning-course/stage1/stage1b/commands-and-mechanisms/

For frcsoftware#169

---------

Co-authored-by: Zach Harel <zach@zharel.me>
Co-authored-by: Adriana <16786568+Adrianamm@users.noreply.github.com>
Co-authored-by: Sam Freund <samf.236@proton.me>
Changing controllable imports (/src/components) and overrides
(/src/starlightOverrides) to have a tighter corner-radius, tighter
margins and padding, to have better design overall.

Changed /src/styles/global.css to have .sl-link-button because Hero
implements Link Button, which does not have a great way to control it
unless you make something for /src/starlightOverrides with link buttons.

Remove whatever you want since this is just changing everything to see
how it looks
## Description

What changed? Why? (the code + comments should speak for itself on the
"how")
Added information for Loops. This is for Stage 0 so it's needed


## Meta

Merge checklist:

- [x] Pull Request title is [short, imperative
summary](https://cbea.ms/git-commit/) of proposed changes
- [x] The description documents the _what_ and _why_, including events
that led to this PR
- [x] Pull Request has been [linted and
formatted](https://frcsoftware.org/contribution/styleguide/#linting-and-formatting)
and follows the
[styleguide](https://frcsoftware.org/contribution/styleguide)

---------

Co-authored-by: 0verkil <112268976+0verkil@users.noreply.github.com>
Co-authored-by: httphypixelnet <intenstudios369@gmail.com>
Co-authored-by: Zach Harel <zach@zharel.me>
Co-authored-by: Zach Harel <zach.harel42@gmail.com>
…ata-structures

# Conflicts:
#	examples/stage0/snippets/src/Loops.java
#	src/content/docs/learning-course/stage0/loops.mdx
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.

10 participants