Skip to content

Conversation

@spellingcat
Copy link
Member

this adds selecting between the alpha and comp bot code. as we want to keep alpha around for drive practice and the state machines and general categories of subsystems will be similar if not the same, i wanted to be able to just create a different subsystem (ie lindexer vs spindexer) depending on which robot edition it was.

to do that, this creates interfaces for the indexer (lindexer vs spindexer), intake (fintake vs lintake), and shooter (shooter vs turret) and passes those into the superstructure instead, and then within those subsystems we can figure out how we want to implement stuff (f.e. in the intake command the lintake is going to have to extend as opposed to the fintake, but that can just be dealt with in the subsystem itself and the superstructure doesn't need to worry about that kind of thing)

one special case is the climber, which doesn't exist on the alpha bot. this deals with this by just creating a no-op if it's alpha. i've decided that the climber (along with swerve + led's) is going to live outside the superstructure as theoretically we should be able to climb whenever (like if we want to shoot one last time while we're extending climb), which is why it's a little different

i'm not convinced this is the prettiest way to do this but it's pretty similar to how 6328/5940 switch between comp/dev bots

the base is bring-up because i branched off of that and want the actual changed files to be a bit clearer but could be merged whenever (as long as it's before comp subsystem work starts)

@vivi-o vivi-o marked this pull request as ready for review January 22, 2026 23:47
@spellingcat
Copy link
Member Author

will find the actual rio serial numbers at a later date. i'd like to merge this so people can start working on comp mechanisms

Base automatically changed from bring-up to main January 23, 2026 05:34
@spellingcat spellingcat merged commit 47f8bb5 into main Jan 23, 2026
2 checks passed
@spellingcat spellingcat deleted the feature/alpha-comp-switching branch January 23, 2026 05:52
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.

2 participants