Убрано влияние гравитации на показания акселерометра
This commit is contained in:
1 parent
3066b28f75
commit
99552ceedb
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -31,7 +31,7 @@ void IRS_update(IRS* irs, float dt)
|
||||
|
||||
// accel update
|
||||
|
||||
Vector3 accel = {irs->accel.x, irs->accel.y, -irs->accel.z};
|
||||
Vector3 accel = {irs->accel.x, irs->accel.y, irs->accel.z};
|
||||
restoreQuat(irs, &accel);
|
||||
|
||||
// /accel update
|
||||
|
||||
Reference in new issue
Block a user