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

Add fallback encoders to SwerveModule #52

Open
CoolSpy3 opened this issue Jun 29, 2023 · 1 comment · May be fixed by #85
Open

Add fallback encoders to SwerveModule #52

CoolSpy3 opened this issue Jun 29, 2023 · 1 comment · May be fixed by #85
Assignees
Labels
enhancement New feature or request

Comments

@CoolSpy3
Copy link
Member

As mentioned in the lib199 tour, SwerveModule could be updated to get an initial angle from the CANCoders, and then fallback on the Spark Maxs' relative encoders if the CANCoders are disconnected. (It should probably print an error message). Then, if the encoder reconnects, it can re-synchronize its position and return to using the CANCoder data.

@CoolSpy3 CoolSpy3 added the enhancement New feature or request label Jun 29, 2023
@CoolSpy3 CoolSpy3 self-assigned this Jul 6, 2023
@CoolSpy3
Copy link
Member Author

Status Update

@CoolSpy3 CoolSpy3 linked a pull request May 25, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant