Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automated RobotContainer selection #1

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Conversation

mailmindlin
Copy link
Member

@mailmindlin mailmindlin commented Jan 29, 2024

Selection algorithm:

  1. If we see the flag IS_COMPETITION, we always pick FortissiMOE (we can set this flag before competition weekends to prevent mistakes in production)
  2. We try to read from an attached USB drive (robot.txt), and load the RobotContainer based on that name
  3. We try to read the RoboRIO firmware comment (set in the RoboRIO web interface), and load a RobotContainer based on that name
  4. Default to FortissiMOE

@mailmindlin mailmindlin added the enhancement New feature or request label Jan 29, 2024
Base automatically changed from driveCode to main February 4, 2024 20:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant