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

Automatic motor encoder reset upon limit switch activation #5

Open
viggy96 opened this issue Nov 7, 2024 · 1 comment
Open

Automatic motor encoder reset upon limit switch activation #5

viggy96 opened this issue Nov 7, 2024 · 1 comment

Comments

@viggy96
Copy link

viggy96 commented Nov 7, 2024

It would be nice to have a feature such that the built-in motor encoder can be automatically reset to a user specified value when either connected limit switch is hit.

@KenwoodFox
Copy link

We had to get around this a season back when using optical encoders to reset our swerve modules to a specific state. Sucked that the delay over CAN was so long, it took like 100ms to send the correct value to the controller after the controller published that it had been triggered over CAN
60ms one way, 40ms the other

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

2 participants