Skip to content

Add REV support to stage 1B - #147

Open
Daniel1464 wants to merge 9 commits into
frcsoftware:mainfrom
Daniel1464:supportRev
Open

Add REV support to stage 1B#147
Daniel1464 wants to merge 9 commits into
frcsoftware:mainfrom
Daniel1464:supportRev

Conversation

@Daniel1464

@Daniel1464 Daniel1464 commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Description

Adds REV support to the stage 1B docs, including a chooser between the different vendors for code snippets within the exercises.

Also adds references to the solution GitHub repos in the docs.

Meta

Merge checklist:

@github-actions github-actions Bot added Curriculum material Curriculum materials, lessons for students, etc stage1 examples labels Jul 28, 2026
@github-actions

Copy link
Copy Markdown

🌐 Preview URL: https://pr-147.frcsoftware.pages.dev

@roboteer5291

Copy link
Copy Markdown
Collaborator

Please add this to the website feature guide as well

@roboteer5291

Copy link
Copy Markdown
Collaborator

Should the sync key be changed to something more general? I'd imagine we want the ctre/rev tabs to synchronize across the entire site, not just stage 1b (as the sync key you have now is for 1b)

@roboteer5291

Copy link
Copy Markdown
Collaborator

Oh, and exactly how to set this up, with code ready to copy paste, should be included on one of the contribution pages or in the readme or something. Not sure where off the top of my head

Comment thread src/data/tabsSyncKeys.ts

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.

Can we move the tab sync functionality to a separate PR? It's agnostic of content and therefore not required in this PR.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I feel like it would be more awkward to have another PR that only adds this one file, and doesn't use the constant itself. If you're need the chooser key for a PR you're working on, then sure

Comment on lines 56 to 98
@@ -72,13 +86,13 @@ The `feed()`, `intake()`, `outtake()` and `idle()` commands should be returned f

</details>
<details class="accordion">
<summary>Item 1, Hint 2</summary>
You can create a `CANBus` object via `CANBus.systemcore(id)`.
<summary>Item 1, Hint 2 (CTRE only)</summary>
For CTRE devices, a `CANBus` object can be created via `CANBus.systemcore(id)`.
</details>
{/* prettier-ignore */}
<details class="accordion">
<summary>Item 1, Hint 3</summary>
Remember that `TalonFX` is a class, and that creating objects within another
Remember that `TalonFX` and `SparkMax` are classes, and that creating objects within another
class is done like so: <br />
{/* rli:ignore */}
```java

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.

Would it be possible to make this section have a CTRE/REV tag since the hints are different based on if the students pick CTRE or REV

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Personally, I don't think its necessary since the only exclusive hint is hint 2 (it also might render weirdly, although i haven't tried it yet).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Curriculum material Curriculum materials, lessons for students, etc examples stage1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants