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

Fallback swerve cancoders #85

Draft
wants to merge 13 commits into
base: master
Choose a base branch
from
Draft

Conversation

brettle
Copy link
Member

@brettle brettle commented May 15, 2024

@CoolSpy3, you created this branch but hadn't created a PR for it yet. What is the status of this code?

@CoolSpy3
Copy link
Member

CoolSpy3 commented May 15, 2024

@CoolSpy3, you created this branch but hadn't created a PR for it yet. What is the status of this code?

IIRC, the code is mostly done, but the cancoderConnected method was unreliable because getLastTimestamp returned incorrect values. I contacted CTRE, and they said that it was likely a library bug, and we should instead make use of the new interfaces exposed in Phoenix 6. Thus, development was put on hold, pending Phoenix 6 lib199 integration.

Seeing as we have now upgraded to Phoenix 6 in 2024-beta, we could have someone look into finishing this up.

@CoolSpy3 CoolSpy3 linked an issue May 25, 2024 that may be closed by this pull request
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.

Add fallback encoders to SwerveModule
2 participants