Skip to content

Switch intake rollers to Spark/NEO Vortex#188

Merged
nlaverdure merged 6 commits intomainfrom
NewRollerIOs
Apr 21, 2026
Merged

Switch intake rollers to Spark/NEO Vortex#188
nlaverdure merged 6 commits intomainfrom
NewRollerIOs

Conversation

@nlaverdure
Copy link
Copy Markdown
Member

Summary

  • Switches Robot.java to use RollerIOSpark (NEO Vortex / SparkFlex) instead of RollerIOTalonFX (Kraken) for both upper and lower intake rollers
  • Moves PID gains (Slot0/Slot1 configs) and gearbox DCMotor out of IntakeConstants and into RollerIOTalonFX / RollerIOSimTalonFX where they belong
  • Fixes RollerIOSimSpark to accept a RollerConfig and import constants from IntakeConstants (was incorrectly importing kicker constants from the feeder subsystem)
  • Makes KP, KD, and maxTangentialVelocity static in RollerIOSpark / RollerIOSimSpark
  • Adds numMotors = 1 constant to IntakeConstants.RollerConstants

Test plan

  • Verify both rollers spin correctly in real robot mode with RollerIOSpark
  • Verify simulation still works with RollerIOSimSpark using the updated config
  • Check that RollerIOTalonFX and RollerIOSimTalonFX still compile and function correctly with gains moved inline

🤖 Generated with Claude Code

BenGamer3 and others added 6 commits April 14, 2026 18:12
- Robot.java: use RollerIOSpark instead of RollerIOTalonFX for both rollers
- IntakeConstants: remove Kraken/TalonFX-specific gains and DCMotor gearbox; add numMotors constant
- RollerIOSpark/SimSpark: make PID gains and maxTangentialVelocity static; fix RollerIOSimSpark to accept RollerConfig and use intake constants instead of kicker constants
- RollerIOTalonFX/SimTalonFX: move Slot0/Slot1 gain configs into each class

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@nlaverdure nlaverdure merged commit 1370bfc into main Apr 21, 2026
2 checks passed
@nlaverdure nlaverdure deleted the NewRollerIOs branch April 21, 2026 22:30
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