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

intial limits. untested #93

Merged
merged 4 commits into from
Mar 9, 2024
Merged

intial limits. untested #93

merged 4 commits into from
Mar 9, 2024

Conversation

rflood07
Copy link
Collaborator

@rflood07 rflood07 commented Mar 9, 2024

yay :D

@rflood07 rflood07 requested a review from veggie2u March 9, 2024 00:54
@@ -368,6 +368,8 @@ public CTREConfigs() {
driveMotorConfig.CurrentLimits.SupplyCurrentLimit = DriveConstants.DRIVE_CURRENT_LIMIT;
driveMotorConfig.CurrentLimits.SupplyCurrentLimitEnable = true;
driveMotorConfig.CurrentLimits.StatorCurrentLimitEnable = false;
driveMotorConfig.CurrentLimits.SupplyCurrentThreshold = 50;
driveMotorConfig.CurrentLimits.SupplyTimeThreshold = 1.4;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Talked with Emilio. He has some concern about using 1.4. The breaker can deteriorate over time when we go above it's limit. We should move this back to say 0.8. That should still allow us to accelaerate. We can test on field.

Moving the time back down to make sure we don't hurt the breaker.
@veggie2u veggie2u merged commit dec9fc2 into main Mar 9, 2024
1 check passed
@veggie2u veggie2u deleted the betterDrivetrainCurrent branch March 9, 2024 20: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.

3 participants