Skip to content

Subsystems - #18

Open
Faizaan-J wants to merge 156 commits into
mainfrom
staging
Open

Subsystems#18
Faizaan-J wants to merge 156 commits into
mainfrom
staging

Conversation

@Faizaan-J

@Faizaan-J Faizaan-J commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

Drive, Vision, Handoff, Spindexer, Shooter, Turret, Hood, Intake, and LEDs

NO AUTONS

aidenzhang21345 and others added 30 commits July 24, 2026 11:28
…ethod to vision for use in LEDs

Previously there were flags within the LED subsystem for whether cameras were dead. I forgot to actually set the values so it didn't do anything. Now, there is a new method in Vision that checks if a camera is dead.

Additionally, I noticed that the limelight+photonvision template was good but for VisionConstants the data for the camera was scattered everywhere so I consolidated it into an array of records called CameraData. This stores the camera name, camera offset to the robot, and the standard deviation factor
@Danx3mer

Copy link
Copy Markdown

🫩

aidenzhang21345 and others added 12 commits August 11, 2026 23:07
FEAT: Replace usage of Field2d with logging poses as outputs.
* REFACTOR: Initial refactor, still many changes and polish needed

* REFACTOR: Make naming of settings interfaces consistent and use static import of constants file in subsystems, move tuner constants into swerve folder

* REFACTOR: Implement new constants based naming and formatting convention

Rename nested constants interfaces across every subsystem's constants
files so every nested interface name is globally unique and prefixed
with its subsystem, per the IO-refactor naming convention that I suggested.

* FIX: Ensure that TalonFX motors CANBus matches the ones from the original tribecbot

* REFACTOR: Change "<Subsystem>Ids" to "<Subsystem>DeviceIds"

* REFACTOR: Pluralize motor configuration interfaces + TurretSoftwareLimits interface

---------

Co-authored-by: aidenzhang21345 <aidenzhang211@gmail.com>
* feat: Drive input processors, sotm, fotm, and regular drive commands

* feat: add all button bindings, added additional commands to vision, leds, and drive

* REFACTOR: Cleanup LED state handling

- deleted LEDApplyState command as its unused (use the one in LED.java instead)
- Moved additional subsystem-derived LED states into LEDDefaultCommand
- Remove redundant LED state commands from RobotContainer bindings where the state can be inferred from subsystem state in LEDDefaultCommand
- Re-added LED state for outtaking
- Only use LED overrides when necessary when subsystem state can't be derived, or when an actual override is wanted such as stop rollers LED state

---------

Co-authored-by: Faizaan-J <125227430+Faizaan-J@users.noreply.github.com>
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.

7 participants