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

Gravity animation jitters #11

Closed
fweiss opened this issue Jul 7, 2024 · 2 comments
Closed

Gravity animation jitters #11

fweiss opened this issue Jul 7, 2024 · 2 comments

Comments

@fweiss
Copy link
Owner

fweiss commented Jul 7, 2024

It's OK when resting on a surface or when tipped up and rotated on the Z axis. When held flat in hand, it's very sensitive to slight tipping motion.

Maybe add a LPF to slow down the response time and remove noise.

@fweiss fweiss changed the title Gravity animation jiters Gravity animation jitters Jul 24, 2024
@fweiss
Copy link
Owner Author

fweiss commented Jul 26, 2024

This makes it better:

  • Motion timer from 200 ms to 800 ms
  • framePeriodMiliis from the default 30 to 100

It's still haphazard in certain cases. Probably the IMU needs more LPF, just reducing the sample time doesn't seem to fully fix it.

@fweiss
Copy link
Owner Author

fweiss commented Aug 4, 2024

The remainder of the issue is passed on to #24

@fweiss fweiss closed this as completed Aug 4, 2024
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