@aibee/crc-bmap 0.12.50 → 0.12.52

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.
@@ -15,6 +15,7 @@ export declare class NavPath extends EventDispatcher<EventMap> {
15
15
  worker: any;
16
16
  initRoadStatus: boolean;
17
17
  constructor();
18
+ setLiftPriority(lift_priority: number): Promise<any>;
18
19
  loaded(): Promise<unknown>;
19
20
  setRoadData(roadData: RoadData2[], facilities: Facility[]): Promise<void>;
20
21
  getPath(start: Start2, end: End2, type?: RouteType2, permission?: number, travelDirection?: number, options?: GetPathOtherParams): Promise<PathData2>;
@@ -4,6 +4,7 @@ import { SensorData } from "./sensor";
4
4
  export interface PdrOptions {
5
5
  using_gps: boolean;
6
6
  gps_max_horizontalAccuracy: number;
7
+ initial_gps_delay_time: number;
7
8
  }
8
9
  export declare class PositioningSystem {
9
10
  particleFilter: ParticleFilter;
@@ -21,6 +22,7 @@ export declare class PositioningSystem {
21
22
  TrustNum: number;
22
23
  cacheSensorData: SensorData[];
23
24
  startTime: null | number;
25
+ options: PdrOptions;
24
26
  constructor(options: Partial<PdrOptions>);
25
27
  /**
26
28
  * 基于 PDR、iBeacon、罗盘和语义地图的粒子滤波器。
@@ -254,6 +254,7 @@ export declare class RoadNetwork2 {
254
254
  forwardLineMap: Map<string, Map<string, number>>;
255
255
  forwardRoute: Graph;
256
256
  constructor(lift_priority?: number);
257
+ setLiftPriority(lift_priority: number): void;
257
258
  isFacilityByType(type: string): boolean;
258
259
  private initFacilities;
259
260
  getParkingSpaceInfo(floor: string, parkingSpace: string): RoadData2["points"][0] | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aibee/crc-bmap",
3
- "version": "0.12.50",
3
+ "version": "0.12.52",
4
4
  "description": "",
5
5
  "main": "lib/index.cjs",
6
6
  "module": "lib/index.esm.min.js",
@@ -28,13 +28,13 @@
28
28
  "type": "module",
29
29
  "sideEffects": false,
30
30
  "scripts": {
31
- "build": "cd ./build && node -e \"require('child_process').execSync(process.platform === 'win32' ? 'build.exe' : './build')\"",
31
+ "build": "cd ./build && go run src/build/build.go",
32
32
  "gen-type": "tsc",
33
33
  "clean": "rm -rf lib",
34
34
  "lint": "eslint src/**/*.ts",
35
35
  "start": "cd example && vite dev",
36
- "dev": "cd ./build && ./dev",
37
- "publish:all": "cd ./build && ./publish",
36
+ "dev": "cd ./build && go run src/dev/dev.go",
37
+ "publish:all": "cd ./build && go run src/publish/publish.go",
38
38
  "publish:npm": "npm publish --access public --registry https://registry.npmjs.org --@aibee:registry=https://registry.npmjs.org",
39
39
  "publish:aibee": "npm publish --registry https://npm.aibee.cn --@aibee:registry=https://npm.aibee.cn",
40
40
  "docs:dev": "cp lib/index.online.min.js docs/public/index.min.js && vitepress dev docs",