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 Support for Encoder Period on XRP #6795

Merged
merged 2 commits into from
Jul 2, 2024

Conversation

beardedone55
Copy link
Contributor

The XRP firmware has been updated to provide the encoder period along with the encoder count. (See Pull Request wpilibsuite/xrp-wpilib-firmware#40)

This change allows WPILIB to use the encoder period data from the XRP so that the GetRate function can be used to determine the motor speed.

This change is designed to be backward compatible with previous versions of the XRP firmware that do not provide the encoder period.

The XRP firmware has been updated to provide the
encoder period along with the encoder count.

This change allows WPILIB to use the encoder period
data from the XRP so that the GetRate function can
be used to determine the motor speed.
@zhiquanyeo
Copy link
Member

/format

@PeterJohnson PeterJohnson merged commit 7366a03 into wpilibsuite:main Jul 2, 2024
32 checks passed
@calcmogul calcmogul linked an issue Jul 2, 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.

XRP Encoders not reporting Rate to WPILib
3 participants