|
@@ -2104,7 +2104,7 @@ const store = new Vuex.Store({
|
|
|
} = data.gyro;
|
|
|
// ax / 10, az / 10, gz, -gx, data.ms ----- old
|
|
|
// ay / 10, -az / 10, gy, gz, data.ms
|
|
|
- let [hit, dir] = state.sandbagAlgorithm.Update(ax / 10, az / 10, gz, -gx, data.ms );
|
|
|
+ let [hit, dir] = state.sandbagAlgorithm.Update(-ay,az,-gz,-gy, data.ms );
|
|
|
if (dir != undefined) {
|
|
|
let temp = state.sandbagAlgorithm.getTempValue(dir);
|
|
|
if (callback) {
|