@aibee/crc-bmap 0.8.18 → 0.8.20

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.esm.js CHANGED
@@ -12214,6 +12214,7 @@ var Sensor = class extends EventDispatcher16 {
12214
12214
  }
12215
12215
  listenGps() {
12216
12216
  this.gpsTimer = navigator.geolocation.watchPosition((position) => {
12217
+ console.log("position", position);
12217
12218
  this.addDataItem({
12218
12219
  type: "gps" /* GPS */,
12219
12220
  timestamp: Date.now(),
@@ -23964,6 +23965,7 @@ var PositioningSystem = class {
23964
23965
  if (this.using_gps && data_type === "gps" /* GPS */) {
23965
23966
  if (this.last_beacon_time === null || time - this.last_beacon_time > 5e3) {
23966
23967
  const gps_pos = this.getGpsPosition(data);
23968
+ console.log("gps_pos", gps_pos);
23967
23969
  success = gps_pos !== null;
23968
23970
  if (gps_pos) {
23969
23971
  this.particleFilter.update(gps_pos, this.gps_horizontalAccuracy);