@aibee/crc-bmap 0.12.47 → 0.12.49
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.
|
@@ -23,6 +23,7 @@ export interface NavigationProcessInfo {
|
|
|
23
23
|
reset: boolean;
|
|
24
24
|
imageUrl: string | null;
|
|
25
25
|
nextDir: PathDirection;
|
|
26
|
+
offsetDistance: number;
|
|
26
27
|
}
|
|
27
28
|
interface PositionNavigationEvent {
|
|
28
29
|
"navigation-info": {
|
|
@@ -45,6 +46,7 @@ export declare class PositionNavigation extends EventDispatcher<PositionNavigati
|
|
|
45
46
|
throttleUpdatePosition?: DebouncedFuncLeading<(...args: any[]) => void>;
|
|
46
47
|
roadData: RoadData2[];
|
|
47
48
|
paused: boolean;
|
|
49
|
+
offsetDistance: number;
|
|
48
50
|
constructor(navigation: Navigation, options: Partial<PositionNavigationConfig>, roadData: RoadData2[]);
|
|
49
51
|
get curRoutePath(): PathData2[0] | null;
|
|
50
52
|
get curRoutePathPoints(): [number, number][];
|
|
@@ -43,6 +43,7 @@ export interface PositionEvent {
|
|
|
43
43
|
x: number;
|
|
44
44
|
y: number;
|
|
45
45
|
time: string;
|
|
46
|
+
_type: "aoa" | "beacon" | "vision";
|
|
46
47
|
};
|
|
47
48
|
'floor': {
|
|
48
49
|
floor: string;
|
|
@@ -51,6 +52,9 @@ export interface PositionEvent {
|
|
|
51
52
|
'compass': {
|
|
52
53
|
value: number;
|
|
53
54
|
};
|
|
55
|
+
'ws-message': {
|
|
56
|
+
data: any;
|
|
57
|
+
};
|
|
54
58
|
}
|
|
55
59
|
export declare class Position extends EventDispatcher<PositionEvent> {
|
|
56
60
|
bmap: BMap;
|