@aibee/crc-bmap 0.2.8 → 0.2.9
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 +2 -2
- package/lib/bmap.cjs.min.js.map +2 -2
- package/lib/bmap.esm.js +3 -1
- package/lib/bmap.esm.js.map +2 -2
- package/lib/bmap.esm.min.js +2 -2
- package/lib/bmap.esm.min.js.map +2 -2
- package/lib/bmap.min.js +3696 -10
- package/lib/bmap.min.js.map +3 -3
- package/package.json +1 -1
package/lib/bmap.esm.js
CHANGED
|
@@ -10948,7 +10948,6 @@ var Navigation = class extends Plugin {
|
|
|
10948
10948
|
if (this.startPoi) {
|
|
10949
10949
|
const azimuthalAngle = this.bmap.context.control.getAzimuthalAngle();
|
|
10950
10950
|
const azimuthal = azimuthalAngle * 180 / Math.PI;
|
|
10951
|
-
console.log("rotate", azimuthal, rotate, rotate - azimuthal);
|
|
10952
10951
|
this.startPoi.options.icon_rotate = (rotate + azimuthal + 360) % 360;
|
|
10953
10952
|
}
|
|
10954
10953
|
}
|
|
@@ -22223,6 +22222,9 @@ var PositioningSystem = class {
|
|
|
22223
22222
|
pfFusionPDRiBeacon(sensorData) {
|
|
22224
22223
|
const { type: data_type, timestamp: time, res: data } = sensorData;
|
|
22225
22224
|
let success = false;
|
|
22225
|
+
if (sensorData.type === "compass" /* COMPASS */) {
|
|
22226
|
+
console.log("compass", sensorData.res);
|
|
22227
|
+
}
|
|
22226
22228
|
if (this.particleFilter.getPosInitFlag() && this.particleFilter.getYawInitFlag()) {
|
|
22227
22229
|
if (data_type === "acceleration" /* ACCELERATION */) {
|
|
22228
22230
|
const acc = data;
|