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

drivers/qencoder: add command to set the maximum encoder position #4312

Merged
merged 3 commits into from
Aug 10, 2021

Conversation

raiden00pl
Copy link
Contributor

Summary

This PR introduce a new qencoder command that allows you to configure the maximum encoder position.
At the moment, only stm32 has been modified to support a new command.

I think that Tivia and IMXRT support this feature by not portable commands - QEIOC_RESETAT and QEIOC_RESETATMAXPOS but I don't have any hardware to verify this.

Depends on #4310

Impact

A new command to interact with the encoder device.
This can be useful for measuring the motor shaft angle.

Testing

stm32

@acassis acassis merged commit 2b3106f into apache:master Aug 10, 2021
@raiden00pl raiden00pl deleted the qenco_dev branch December 4, 2021 13:07
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.

2 participants