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 relative encoders #20

Open
sahil-kale opened this issue Dec 13, 2023 · 0 comments
Open

Add support for relative encoders #20

sahil-kale opened this issue Dec 13, 2023 · 0 comments

Comments

@sahil-kale
Copy link
Owner

A popular encoder type is a relative encoder - these typically output pulses in QEP form which allow them to offer relative motor positions. These can be helpful in commutation purposes as they can offer improved precision in reporting the rotor angle.

Work that needs to be done

  • Add support for a base sensor relativeAngleSensor
  • Add an estimator that takes the base sensor and performs relevant filtering and potential velocity/accel compensation (perhaps not required? maybe just add in, should be duplicate outta the hall sensor one)
  • Add in API for all rotor sensors that allow calibration (not the rotor sensor) to be reset
  • Add flag for the control loop to calibrate itself on startup and then call the above api
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

1 participant