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

Fix absolute angle calculation #53

Closed
at-wat opened this issue Mar 29, 2019 · 3 comments
Closed

Fix absolute angle calculation #53

at-wat opened this issue Mar 29, 2019 · 3 comments
Assignees

Comments

@at-wat
Copy link
Member

at-wat commented Mar 29, 2019

After huge number of rotation, absolute angle calculation goes wrong.
image
x value 5,000 is aprox. 12G count of the encoder.

@at-wat at-wat self-assigned this Mar 29, 2019
@at-wat
Copy link
Member Author

at-wat commented Mar 29, 2019

origin jump filter slew rate on master:

  • interval: 10[kHz]/64 = 156.25[Hz]
  • diff max: enc_rev/100
  • rate: 1.56*enc_rev [cnt/s]: e.g. 26 [cnt/ms] may cause delay

jump filter in 1ms timer #49:

  • interval: 1[kHz]
  • diff max: enc_rev/15
  • rate: 67*enc_rev [cnt/s]: e.g. 1.1 [k cnt/ms] too large

@at-wat
Copy link
Member Author

at-wat commented Mar 29, 2019

image

something periodically happens

@at-wat
Copy link
Member Author

at-wat commented Apr 1, 2019

this looks been caused by a mistake in a local merge conflict resolving

@at-wat at-wat closed this as completed Apr 1, 2019
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