@aibee/crc-bmap 0.8.93 → 0.8.94

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.
@@ -46,6 +46,13 @@ export class PositioningSystem {
46
46
  this.position_count += 1;
47
47
  this.cacheSensorData.length = 0;
48
48
  }
49
+ } else {
50
+ // 收到的是GPS 并且不采用 返回定位失败
51
+ return [
52
+ false,
53
+ 0,
54
+ 0
55
+ ];
49
56
  }
50
57
  }
51
58
  if (data_type === SENSOR_TYPE.DEVICE_MOTION) {
@@ -136,6 +143,7 @@ export class PositioningSystem {
136
143
  this.particleFilter.setPosInitFlag(false);
137
144
  this.particleFilter.setYawInitFlag(false);
138
145
  this.outTrustRegionNum = 0;
146
+ this.startTime = Date.now();
139
147
  }
140
148
  } else {
141
149
  this.outTrustRegionNum = 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aibee/crc-bmap",
3
- "version": "0.8.93",
3
+ "version": "0.8.94",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "module": "lib/index.esm.min.js",