@aibee/crc-bmap 0.2.17 → 0.2.18
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/lib/bmap.cjs.min.js +1 -1
- package/lib/bmap.cjs.min.js.map +2 -2
- package/lib/bmap.esm.js +0 -3
- package/lib/bmap.esm.js.map +2 -2
- package/lib/bmap.esm.min.js +1 -1
- package/lib/bmap.esm.min.js.map +2 -2
- package/lib/bmap.min.js +1 -1
- package/lib/bmap.min.js.map +2 -2
- package/package.json +1 -1
package/lib/bmap.esm.js
CHANGED
|
@@ -21620,9 +21620,6 @@ var ParticleFilter = class {
|
|
|
21620
21620
|
} else {
|
|
21621
21621
|
this.compass_consecutive_offset_count = 0;
|
|
21622
21622
|
}
|
|
21623
|
-
if (this.compass_consecutive_offset_count >= 5) {
|
|
21624
|
-
this.initParticlesByCompass(compass_yaw);
|
|
21625
|
-
}
|
|
21626
21623
|
for (let index = 0; index < this.NumParticle; index++) {
|
|
21627
21624
|
let err_yaw = Math.abs(this.particleX[2][index] - compass);
|
|
21628
21625
|
if (err_yaw > 180) err_yaw = 360 - err_yaw;
|