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

RSDK-9136: issues when stopping motor with controls #4550

Merged
merged 2 commits into from
Nov 12, 2024

Conversation

martha-johnston
Copy link
Contributor

in controlled motor, when stop is called, updateControlBlock is called, with the maxVel parameter being cm.real.maxRPM*cm.ticksPerRotation/60. maxVel cannot be 0 in this function, but cm.real.maxRPM didn't have a default value so sometimes it was causing maxVel to be 0 and error when stop was called on the controlled motor

@viambot viambot added the safe to test This pull request is marked safe to test from a trusted zone label Nov 11, 2024
@martha-johnston martha-johnston requested review from a team and oliviamiller and removed request for a team November 11, 2024 21:09
@viambot viambot added safe to test This pull request is marked safe to test from a trusted zone and removed safe to test This pull request is marked safe to test from a trusted zone labels Nov 11, 2024
@martha-johnston martha-johnston merged commit ae58534 into viamrobotics:main Nov 12, 2024
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
safe to test This pull request is marked safe to test from a trusted zone
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants