Skip to content

OpModes 💖 - #39

Merged
CinoDelta merged 10 commits into
mainfrom
feat/opmodes
Nov 16, 2026
Merged

CinoDelta merged 10 commits into
mainfrom
feat/opmodes

Conversation

@hc-45

@hc-45 hc-45 commented Nov 12, 2026

Copy link
Copy Markdown
Member

opmodes 😍

@hc-45 hc-45 changed the title Feat/opmodes feat/opmodes Nov 12, 2026
@hc-45 hc-45 changed the title feat/opmodes OpModes 💖 Nov 12, 2026
…gistration

Register all four SysId routines manually through new configureSysIds() method in Robot.java, so that we don't have to verbosely create multiple separate classes.
@hc-45
hc-45 marked this pull request as draft November 12, 2026 02:51
…s to detect auton choice changes (#40)

* feat: use LoggedNetworkChooser's onChange method instead of using periodic loop to check path updates

* refactor: transfer ownership of auton chooser from Robot to AutonOpMode

* feat: add register and registerDefault methods for AutonOpMode

* refactor: simplify auton path management using ifNotNull method

* style: move static auton adder methods to top

* style: move static chooser field to top of AutonOpMode
…into new AutonUtil class + document all three classes (#41)

* refactor: consolidate duplicate path file handling methods into AutonUtil for BLine and PathPlanner

* refactor: make BLineUtil and PathPlannerUtil unable to be instantiated directly

* docs: document AutonUtil, BLineUtil, PathPlannerUtil

* style: spotlessApply
@hc-45
hc-45 requested review from 7arymisu and grainbao November 16, 2026 01:40
@hc-45
hc-45 marked this pull request as ready for review November 16, 2026 01:42
@hc-45
hc-45 requested a review from CinoDelta November 16, 2026 02:57

@CinoDelta CinoDelta left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Everything seems to be good. Is there a lesson on OpModes for rookie ed? If not, it seems pretty important to mention alongside Annotations. Maybe as an extension of the A-Kit lesson. I like that things like sysid and auton util for BLine and PathPlanner is being pre-built into the new template, saves the headache of re-writing a sysid later on.

@CinoDelta
CinoDelta merged commit 00c22fb into main Nov 16, 2026
2 checks passed
github-actions Bot added a commit that referenced this pull request Nov 16, 2026
For commit 00c22fb
Message: OpModes 💖 (#39)...
Commit timestamp: Nov 15, 2026, 10:37 PM
Trigger timestamp: Nov 15, 2026, 10:37 PM
Trigger type: Push to main
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