@aibee/crc-bmap 0.1.11 → 0.1.12
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 +1 -1
- 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
|
@@ -9831,7 +9831,7 @@ var ImuPosition = class {
|
|
|
9831
9831
|
}
|
|
9832
9832
|
imuFreUpdate() {
|
|
9833
9833
|
if (this.accH_time_fifo.length > 2) {
|
|
9834
|
-
if (this.accH_time_fifo[this.accH_time_fifo.length - 1] - this.accH_time_fifo[this.accH_time_fifo.length - 2] < 0 || this.accH_time_fifo[this.accH_time_fifo.length - 1] - this.accH_time_fifo[this.accH_time_fifo.length - 2] >
|
|
9834
|
+
if (this.accH_time_fifo[this.accH_time_fifo.length - 1] - this.accH_time_fifo[this.accH_time_fifo.length - 2] < 0 || this.accH_time_fifo[this.accH_time_fifo.length - 1] - this.accH_time_fifo[this.accH_time_fifo.length - 2] > 1e4 || this.accH_time_fifo[this.accH_time_fifo.length - 1] === this.accH_time_fifo[0]) {
|
|
9835
9835
|
console.warn(`pdr reset last one time ${this.accH_time_fifo[this.accH_time_fifo.length - 1]} last two time ${this.accH_time_fifo[this.accH_time_fifo.length - 2]}`);
|
|
9836
9836
|
this.reset();
|
|
9837
9837
|
}
|