@wemap/positioning 2.7.1 → 2.7.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -8,11 +8,11 @@
8
8
  "Guillaume Pannetier <guillaume.pannetier@getwemap.com>"
9
9
  ],
10
10
  "dependencies": {
11
- "@wemap/geo": "^2.7.1",
12
- "@wemap/graph": "^2.7.1",
11
+ "@wemap/geo": "^2.7.2",
12
+ "@wemap/graph": "^2.7.2",
13
13
  "@wemap/logger": "^2.7.0",
14
- "@wemap/maths": "^2.7.0",
15
- "@wemap/osm": "^2.7.1",
14
+ "@wemap/maths": "^2.7.2",
15
+ "@wemap/osm": "^2.7.2",
16
16
  "@wemap/utils": "^2.7.0",
17
17
  "geomagnetism": "^0.1.0",
18
18
  "lodash.isempty": "^4.4.0",
@@ -71,6 +71,6 @@
71
71
  "lint": "eslint --ext .js,.jsx --quiet src",
72
72
  "test": "mocha -r esm \"src/**/*.spec.js\""
73
73
  },
74
- "version": "2.7.1",
75
- "gitHead": "3d332f1dce308ba28f2a551c2e709e840c54bd83"
74
+ "version": "2.7.2",
75
+ "gitHead": "ec928b7890e3c37be2a32b1ba1c108aeba9e15b7"
76
76
  }
@@ -159,8 +159,8 @@ class EkfAttitude {
159
159
  const HAcc = this.jacobianES(qAPriori, this.accRef);
160
160
  H = Matrix.concatRow(HYc, HAcc);
161
161
 
162
- const RYc = Matrix.concatLine(this.noises.absolute.yc, Matrix3.zeros());
163
- const RAcc = Matrix.concatLine(Matrix3.zeros(), this.noises.absolute.accelerometer);
162
+ const RYc = Matrix.concatLine(this.noises.absolute.yc, Matrix3.zeros);
163
+ const RAcc = Matrix.concatLine(Matrix3.zeros, this.noises.absolute.accelerometer);
164
164
  const R = Matrix.concatRow(RYc, RAcc);
165
165
 
166
166
  K = Matrix.multiply(
@@ -200,7 +200,7 @@ class EkfAttitude {
200
200
  );
201
201
  const P = Matrix.multiply(
202
202
  Matrix4.subtract(
203
- Matrix.identity4(),
203
+ Matrix4.identity,
204
204
  Matrix.multiply(K, H)
205
205
  ),
206
206
  pAPriori