Skip to content

added CurrentLimits#145

Merged
nlaverdure merged 3 commits intomainfrom
CurrentLimits
Mar 16, 2026
Merged

added CurrentLimits#145
nlaverdure merged 3 commits intomainfrom
CurrentLimits

Conversation

@BenGamer3
Copy link
Copy Markdown
Contributor

closes #143

BenGamer3 and others added 3 commits March 12, 2026 19:50
- Add kDefaultStatorCurrentLimit (100A) to NEO, NEO Vortex, and Kraken X60
  motor constants alongside existing supply limits
- Drive: separate kSlipCurrent (120A, TorqueCurrent peak for slip detection)
  from kDriveStatorCurrentLimit (100A, hardware protection); add supply limit
  (60A) to driveInitialConfigs; fix steerInitialConfigs actually being applied
  by using constants.SteerMotorInitialConfigs as base in ModuleIOTalonFX
- Flywheel: add supply limit (60A); apply config to follower TalonFX which
  was previously unconfigured
- Intake rollers: add supply limit (60A); reference shared motor constants
  instead of magic numbers
- Remove redundant maxCurrentAmps local constants from LauncherConstants
  and IntakeConstants now that values come from MotorConstants

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@nlaverdure nlaverdure merged commit 124e63d into main Mar 16, 2026
2 checks passed
@nlaverdure nlaverdure deleted the CurrentLimits branch March 16, 2026 23:09
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.

Add missing current limits

2 participants