Fix orientation errors and improve drift correction
This commit is contained in:
parent
e6fc3b5662
commit
1be18dc110
2 changed files with 31 additions and 14 deletions
|
@ -61,7 +61,7 @@ private:
|
|||
Common::Vec3f gyro_drift;
|
||||
|
||||
f32 gyro_threshold = 0.0f;
|
||||
f32 reset_counter = 0.0f;
|
||||
u32 reset_counter = 0;
|
||||
bool reset_enabled = true;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue