Merge pull request #7481 from german77/gyro-bias

service/hid: Improve console motion accuracy
This commit is contained in:
bunnei 2021-12-21 00:13:54 -08:00 committed by GitHub
commit 5e24f7ed31
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 32 additions and 20 deletions

View file

@ -50,6 +50,8 @@ struct ConsoleMotion {
Common::Vec3f rotation{};
std::array<Common::Vec3f, 3> orientation{};
Common::Quaternion<f32> quaternion{};
Common::Vec3f gyro_bias{};
f32 verticalization_error{};
bool is_at_rest{};
};