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

check http://gyrowiki.jibbsmart.com/blog:finding-gravity-with-sensor-fusion #8

Open
github-actions bot opened this issue Aug 17, 2021 · 0 comments
Labels
branch: master JSM compat Compatibility issue with JoyShockMapper todo comment type: todo

Comments

@github-actions
Copy link

Line: 69

}
impl SensorFusion for AdaptativeFusion {
// TODO: check http://gyrowiki.jibbsmart.com/blog:finding-gravity-with-sensor-fusion
// TODO: check normalize() with magnitude 0.
fn compute_up_vector(&mut self, motion: &Motion, dt: Duration) -> Vector3<f64> {
// settings
let smoothing_half_time = 0.25;
let shakiness_min_threshold = 0.4;
let shakiness_max_threshold = 0.01;
let still_rate = 1.;

@Yamakaky Yamakaky added JSM compat Compatibility issue with JoyShockMapper bug Something isn't working and removed bug Something isn't working labels Aug 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
branch: master JSM compat Compatibility issue with JoyShockMapper todo comment type: todo
Projects
None yet
Development

No branches or pull requests

1 participant