Убрано влияние гравитации на показания акселерометра
This commit is contained in:
@@ -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