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

Probably shouldn't configure motors during periodic() #5

Open
drsandytoes opened this issue Mar 16, 2024 · 0 comments
Open

Probably shouldn't configure motors during periodic() #5

drsandytoes opened this issue Mar 16, 2024 · 0 comments

Comments

@drsandytoes
Copy link
Contributor

m_robotContainer.swerve.setNeutralMode(true);

Unless there's a really good reason, I don't think we want to be reconfiguring motors during periodic(). I think it can take a few ms, and we're called every 20ms.

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

No branches or pull requests

1 participant