@wemap/providers 13.2.3 → 14.1.0-beta.0
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/README.md +44 -19
- package/dist/index.d.ts +45 -44
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +14620 -2
- package/dist/src/ProvidersOptions.d.ts +1 -0
- package/dist/src/ProvidersOptions.d.ts.map +1 -0
- package/dist/src/errors/AskImuOnDesktopError.d.ts +1 -0
- package/dist/src/errors/AskImuOnDesktopError.d.ts.map +1 -0
- package/dist/src/errors/ContainsIgnoredProviderError.d.ts +1 -0
- package/dist/src/errors/ContainsIgnoredProviderError.d.ts.map +1 -0
- package/dist/src/errors/GeolocationApiMissingError.d.ts +1 -0
- package/dist/src/errors/GeolocationApiMissingError.d.ts.map +1 -0
- package/dist/src/errors/GeolocationPermissionDeniedError.d.ts +1 -0
- package/dist/src/errors/GeolocationPermissionDeniedError.d.ts.map +1 -0
- package/dist/src/errors/GeolocationPositionUnavailableError.d.ts +1 -0
- package/dist/src/errors/GeolocationPositionUnavailableError.d.ts.map +1 -0
- package/dist/src/errors/IpResolveServerError.d.ts +1 -0
- package/dist/src/errors/IpResolveServerError.d.ts.map +1 -0
- package/dist/src/errors/MissingAccelerometerError.d.ts +2 -1
- package/dist/src/errors/MissingAccelerometerError.d.ts.map +1 -0
- package/dist/src/errors/MissingArCoreError.d.ts +1 -0
- package/dist/src/errors/MissingArCoreError.d.ts.map +1 -0
- package/dist/src/errors/MissingGyroscopeError.d.ts +2 -1
- package/dist/src/errors/MissingGyroscopeError.d.ts.map +1 -0
- package/dist/src/errors/MissingMagnetometerError.d.ts +2 -1
- package/dist/src/errors/MissingMagnetometerError.d.ts.map +1 -0
- package/dist/src/errors/MissingNativeInterfaceError.d.ts +1 -0
- package/dist/src/errors/MissingNativeInterfaceError.d.ts.map +1 -0
- package/dist/src/errors/MissingPoleStarError.d.ts +1 -0
- package/dist/src/errors/MissingPoleStarError.d.ts.map +1 -0
- package/dist/src/errors/MissingSensorError.d.ts +1 -0
- package/dist/src/errors/MissingSensorError.d.ts.map +1 -0
- package/dist/src/errors/NoProviderFoundError.d.ts +1 -0
- package/dist/src/errors/NoProviderFoundError.d.ts.map +1 -0
- package/dist/src/events/AvailabilityHelper.d.ts +1 -0
- package/dist/src/events/AvailabilityHelper.d.ts.map +1 -0
- package/dist/src/events/ProvidersLoggerOld.d.ts +1 -0
- package/dist/src/events/ProvidersLoggerOld.d.ts.map +1 -0
- package/dist/src/events/Types.d.ts +3 -2
- package/dist/src/events/Types.d.ts.map +1 -0
- package/dist/src/mapmatching/MapMatchingHandler.d.ts +5 -4
- package/dist/src/mapmatching/MapMatchingHandler.d.ts.map +1 -0
- package/dist/src/providers/Constants.d.ts +1 -0
- package/dist/src/providers/Constants.d.ts.map +1 -0
- package/dist/src/providers/NativeProviders.d.ts +1 -0
- package/dist/src/providers/NativeProviders.d.ts.map +1 -0
- package/dist/src/providers/Provider.d.ts +4 -3
- package/dist/src/providers/Provider.d.ts.map +1 -0
- package/dist/src/providers/ProviderState.d.ts +1 -0
- package/dist/src/providers/ProviderState.d.ts.map +1 -0
- package/dist/src/providers/attitude/EkfAttitude.d.ts +2 -1
- package/dist/src/providers/attitude/EkfAttitude.d.ts.map +1 -0
- package/dist/src/providers/attitude/TurnProvider.d.ts +4 -3
- package/dist/src/providers/attitude/TurnProvider.d.ts.map +1 -0
- package/dist/src/providers/attitude/absolute/AbsoluteAttitudeFromBrowserProvider.d.ts +5 -4
- package/dist/src/providers/attitude/absolute/AbsoluteAttitudeFromBrowserProvider.d.ts.map +1 -0
- package/dist/src/providers/attitude/absolute/AbsoluteAttitudeProvider.d.ts +6 -5
- package/dist/src/providers/attitude/absolute/AbsoluteAttitudeProvider.d.ts.map +1 -0
- package/dist/src/providers/attitude/relative/RelativeAttitudeFromBrowserProvider.d.ts +4 -3
- package/dist/src/providers/attitude/relative/RelativeAttitudeFromBrowserProvider.d.ts.map +1 -0
- package/dist/src/providers/attitude/relative/RelativeAttitudeFromEkfProvider.d.ts +5 -4
- package/dist/src/providers/attitude/relative/RelativeAttitudeFromEkfProvider.d.ts.map +1 -0
- package/dist/src/providers/attitude/relative/RelativeAttitudeFromInertialProvider.d.ts +4 -3
- package/dist/src/providers/attitude/relative/RelativeAttitudeFromInertialProvider.d.ts.map +1 -0
- package/dist/src/providers/attitude/relative/RelativeAttitudeProvider.d.ts +4 -3
- package/dist/src/providers/attitude/relative/RelativeAttitudeProvider.d.ts.map +1 -0
- package/dist/src/providers/imu/AccelerometerProvider.d.ts +4 -3
- package/dist/src/providers/imu/AccelerometerProvider.d.ts.map +1 -0
- package/dist/src/providers/imu/GyroscopeProvider.d.ts +4 -3
- package/dist/src/providers/imu/GyroscopeProvider.d.ts.map +1 -0
- package/dist/src/providers/imu/HighRotationsProvider.d.ts +4 -3
- package/dist/src/providers/imu/HighRotationsProvider.d.ts.map +1 -0
- package/dist/src/providers/imu/ImuProvider.d.ts +4 -3
- package/dist/src/providers/imu/ImuProvider.d.ts.map +1 -0
- package/dist/src/providers/imu/MagnetometerCalibrationProvider.d.ts +4 -3
- package/dist/src/providers/imu/MagnetometerCalibrationProvider.d.ts.map +1 -0
- package/dist/src/providers/inclination/InclinationFromAccProvider.d.ts +4 -3
- package/dist/src/providers/inclination/InclinationFromAccProvider.d.ts.map +1 -0
- package/dist/src/providers/inclination/InclinationFromRelativeAttitudeProvider.d.ts +5 -4
- package/dist/src/providers/inclination/InclinationFromRelativeAttitudeProvider.d.ts.map +1 -0
- package/dist/src/providers/inclination/InclinationProvider.d.ts +4 -3
- package/dist/src/providers/inclination/InclinationProvider.d.ts.map +1 -0
- package/dist/src/providers/legacy/helpers/HeadingUnlocker.d.ts +1 -0
- package/dist/src/providers/legacy/helpers/HeadingUnlocker.d.ts.map +1 -0
- package/dist/src/providers/legacy/helpers/ThugDetector.d.ts +2 -1
- package/dist/src/providers/legacy/helpers/ThugDetector.d.ts.map +1 -0
- package/dist/src/providers/others/CameraNativeProvider.d.ts +3 -2
- package/dist/src/providers/others/CameraNativeProvider.d.ts.map +1 -0
- package/dist/src/providers/others/CameraProjectionMatrixProvider.d.ts +4 -3
- package/dist/src/providers/others/CameraProjectionMatrixProvider.d.ts.map +1 -0
- package/dist/src/providers/position/absolute/AbsolutePositionProvider.d.ts +5 -4
- package/dist/src/providers/position/absolute/AbsolutePositionProvider.d.ts.map +1 -0
- package/dist/src/providers/position/absolute/GnssWifiProvider.d.ts +4 -3
- package/dist/src/providers/position/absolute/GnssWifiProvider.d.ts.map +1 -0
- package/dist/src/providers/position/absolute/IpProvider.d.ts +3 -2
- package/dist/src/providers/position/absolute/IpProvider.d.ts.map +1 -0
- package/dist/src/providers/position/absolute/PoleStarProvider.d.ts +4 -3
- package/dist/src/providers/position/absolute/PoleStarProvider.d.ts.map +1 -0
- package/dist/src/providers/position/relative/GeoRelativePositionFromArCoreProvider.d.ts +6 -5
- package/dist/src/providers/position/relative/GeoRelativePositionFromArCoreProvider.d.ts.map +1 -0
- package/dist/src/providers/position/relative/GeoRelativePositionProvider.d.ts +4 -3
- package/dist/src/providers/position/relative/GeoRelativePositionProvider.d.ts.map +1 -0
- package/dist/src/providers/position/relative/PdrProvider.d.ts +4 -3
- package/dist/src/providers/position/relative/PdrProvider.d.ts.map +1 -0
- package/dist/src/providers/steps/StepDetectionLadetto.d.ts +2 -1
- package/dist/src/providers/steps/StepDetectionLadetto.d.ts.map +1 -0
- package/dist/src/providers/steps/StepDetectionMinMaxPeaks.d.ts +2 -1
- package/dist/src/providers/steps/StepDetectionMinMaxPeaks.d.ts.map +1 -0
- package/dist/src/providers/steps/StepDetectionMinMaxPeaks2.d.ts +2 -1
- package/dist/src/providers/steps/StepDetectionMinMaxPeaks2.d.ts.map +1 -0
- package/dist/src/providers/steps/StepDetectionMinMaxPeaks3.d.ts +2 -1
- package/dist/src/providers/steps/StepDetectionMinMaxPeaks3.d.ts.map +1 -0
- package/dist/src/providers/steps/StepProvider.d.ts +5 -4
- package/dist/src/providers/steps/StepProvider.d.ts.map +1 -0
- package/dist/src/providers/steps/StraightLineProvider.d.ts +4 -3
- package/dist/src/providers/steps/StraightLineProvider.d.ts.map +1 -0
- package/dist/src/providers/vision/ArCoreProvider.d.ts +6 -5
- package/dist/src/providers/vision/ArCoreProvider.d.ts.map +1 -0
- package/dist/src/providers/vision/BarcodeProvider.d.ts +4 -3
- package/dist/src/providers/vision/BarcodeProvider.d.ts.map +1 -0
- package/dist/src/providers/vision/vps/ImageRelocalization.d.ts +6 -5
- package/dist/src/providers/vision/vps/ImageRelocalization.d.ts.map +1 -0
- package/dist/src/providers/vision/vps/RelativeRotationCalc.d.ts +2 -1
- package/dist/src/providers/vision/vps/RelativeRotationCalc.d.ts.map +1 -0
- package/dist/src/providers/vision/vps/VpsMetadata.d.ts +4 -3
- package/dist/src/providers/vision/vps/VpsMetadata.d.ts.map +1 -0
- package/dist/src/providers/vision/vps/VpsProvider.d.ts +6 -5
- package/dist/src/providers/vision/vps/VpsProvider.d.ts.map +1 -0
- package/dist/src/providers/vision/vps/VpsRequest.d.ts +5 -4
- package/dist/src/providers/vision/vps/VpsRequest.d.ts.map +1 -0
- package/dist/src/providers/vision/vps/VpsResponse.d.ts +2 -1
- package/dist/src/providers/vision/vps/VpsResponse.d.ts.map +1 -0
- package/dist/src/smoothers/AttitudeSmoother.d.ts +3 -2
- package/dist/src/smoothers/AttitudeSmoother.d.ts.map +1 -0
- package/dist/src/smoothers/PositionSmoother.d.ts +5 -4
- package/dist/src/smoothers/PositionSmoother.d.ts.map +1 -0
- package/dist/vitest.config.d.ts +3 -0
- package/dist/vitest.config.d.ts.map +1 -0
- package/package.json +30 -65
- package/dist/helpers/CustomMapProvider.d.ts +0 -10
- package/dist/index.js.map +0 -1
- package/dist/index.mjs +0 -3527
- package/dist/index.mjs.map +0 -1
- package/dist/package.json.d.ts +0 -70
- package/helpers/CustomMapProvider.ts +0 -75
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { default as Provider } from '../Provider
|
|
2
|
-
import { Inclination } from '../../events/Types
|
|
1
|
+
import { default as Provider } from '../Provider';
|
|
2
|
+
import { Inclination } from '../../events/Types';
|
|
3
3
|
/**
|
|
4
4
|
* Inclination provider gives the inclination of the device using Imu Sensor
|
|
5
5
|
* For example, when the top of the device is pointing the sky, inclination = Math.PI/2
|
|
@@ -9,10 +9,11 @@ import { Inclination } from '../../events/Types.js';
|
|
|
9
9
|
declare class InclinationFromAccProvider extends Provider<Inclination> {
|
|
10
10
|
providerId?: number;
|
|
11
11
|
getName: () => string;
|
|
12
|
-
availability: () => import('../../events/AvailabilityHelper
|
|
12
|
+
availability: () => import('../../events/AvailabilityHelper').AvailabilityPromise;
|
|
13
13
|
start(): void;
|
|
14
14
|
stop(): void;
|
|
15
15
|
private onAccelerometerEvent;
|
|
16
16
|
}
|
|
17
17
|
declare const _default: InclinationFromAccProvider;
|
|
18
18
|
export default _default;
|
|
19
|
+
//# sourceMappingURL=InclinationFromAccProvider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InclinationFromAccProvider.d.ts","sourceRoot":"","sources":["../../../../src/providers/inclination/InclinationFromAccProvider.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,aAAa,CAAC;AAEnC,OAAO,KAAK,EAAgB,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEpE;;;;;GAKG;AACH,cAAM,0BAA2B,SAAQ,QAAQ,CAAC,WAAW,CAAC;IAE1D,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,OAAO,eAA8B;IAErC,YAAY,sEAAiD;IAE7D,KAAK;IAOL,IAAI;IAIJ,OAAO,CAAC,oBAAoB,CAwB1B;CACL;;AAED,wBAAgD"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Quaternion_t } from '@wemap/maths';
|
|
2
|
-
import { default as Provider } from '../Provider
|
|
3
|
-
import { Inclination } from '../../events/Types
|
|
1
|
+
import { Quaternion_t } from '@wemap/maths-legacy';
|
|
2
|
+
import { default as Provider } from '../Provider';
|
|
3
|
+
import { Inclination } from '../../events/Types';
|
|
4
4
|
/**
|
|
5
5
|
* Inclination provider gives the inclination of the device using Relative Attitude
|
|
6
6
|
* For example, when the top of the device is pointing the sky, inclination = Math.PI/2
|
|
@@ -10,10 +10,11 @@ import { Inclination } from '../../events/Types.js';
|
|
|
10
10
|
declare class InclinationFromRelativeAttitudeProvider extends Provider<Inclination> {
|
|
11
11
|
providerId?: number;
|
|
12
12
|
getName: () => string;
|
|
13
|
-
availability: () => import('../../events/AvailabilityHelper
|
|
13
|
+
availability: () => import('../../events/AvailabilityHelper').AvailabilityPromise;
|
|
14
14
|
start(): void;
|
|
15
15
|
stop(): void;
|
|
16
16
|
enuQuatToInclination(q: Quaternion_t): number;
|
|
17
17
|
}
|
|
18
18
|
declare const _default: InclinationFromRelativeAttitudeProvider;
|
|
19
19
|
export default _default;
|
|
20
|
+
//# sourceMappingURL=InclinationFromRelativeAttitudeProvider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InclinationFromRelativeAttitudeProvider.d.ts","sourceRoot":"","sources":["../../../../src/providers/inclination/InclinationFromRelativeAttitudeProvider.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAExD,OAAO,QAAQ,MAAM,aAAa,CAAC;AAEnC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAGtD;;;;;GAKG;AACH,cAAM,uCAAwC,SAAQ,QAAQ,CAAC,WAAW,CAAC;IAEvE,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,OAAO,eAA2C;IAElD,YAAY,sEAAgE;IAE5E,KAAK;IAUL,IAAI;IAIJ,oBAAoB,CAAC,CAAC,EAAE,YAAY;CAavC;;AAED,wBAA6D"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { default as Provider } from '../Provider
|
|
2
|
-
import { Inclination } from '../../events/Types
|
|
1
|
+
import { default as Provider } from '../Provider';
|
|
2
|
+
import { Inclination } from '../../events/Types';
|
|
3
3
|
/**
|
|
4
4
|
* Inclination provider gives the inclination of the device using Imu Sensor
|
|
5
5
|
* For example, when the top of the device is pointing the sky, inclination = Math.PI/2
|
|
@@ -10,9 +10,10 @@ declare class InclinationProvider extends Provider<Inclination> {
|
|
|
10
10
|
provider?: Provider<Inclination>;
|
|
11
11
|
providerId?: number;
|
|
12
12
|
getName: () => string;
|
|
13
|
-
availability(): import('../../events/AvailabilityHelper
|
|
13
|
+
availability(): import('../../events/AvailabilityHelper').AvailabilityPromise;
|
|
14
14
|
start(): Promise<void>;
|
|
15
15
|
stop(): void;
|
|
16
16
|
}
|
|
17
17
|
declare const _default: InclinationProvider;
|
|
18
18
|
export default _default;
|
|
19
|
+
//# sourceMappingURL=InclinationProvider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InclinationProvider.d.ts","sourceRoot":"","sources":["../../../../src/providers/inclination/InclinationProvider.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,aAAa,CAAC;AAInC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEtD;;;;;GAKG;AACH,cAAM,mBAAoB,SAAQ,QAAQ,CAAC,WAAW,CAAC;IAEnD,QAAQ,CAAC,EAAE,QAAQ,CAAC,WAAW,CAAC,CAAC;IACjC,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,OAAO,eAAuB;IAE9B,YAAY;IAON,KAAK;IAyBX,IAAI;CAKP;;AAED,wBAAyC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HeadingUnlocker.d.ts","sourceRoot":"","sources":["../../../../../src/providers/legacy/helpers/HeadingUnlocker.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,cAAM,eAAe;IAEjB,MAAM,CAAC,QAAQ,SAAe;IAG9B,MAAM,UAAS;IAEf,kBAAkB,EAAE,MAAM,GAAG,IAAI,CAAQ;IAGzC,MAAM;IAKN,IAAI,CAAC,kBAAkB,EAAE,MAAM;IAK/B,WAAW,CAAC,OAAO,EAAE,MAAM;CAgB9B;AAED,eAAe,eAAe,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Vector3_t } from '@wemap/maths';
|
|
1
|
+
import { Vector3_t } from '@wemap/maths-legacy';
|
|
2
2
|
declare class ThugDetector {
|
|
3
3
|
static MIN_TIME_BETWEEN_DETECTIONS: number;
|
|
4
4
|
static EXT_ACC_NORM_THRESHOLD: number;
|
|
@@ -6,3 +6,4 @@ declare class ThugDetector {
|
|
|
6
6
|
compute(timestamp: number, acceleration: Vector3_t): boolean;
|
|
7
7
|
}
|
|
8
8
|
export default ThugDetector;
|
|
9
|
+
//# sourceMappingURL=ThugDetector.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ThugDetector.d.ts","sourceRoot":"","sources":["../../../../../src/providers/legacy/helpers/ThugDetector.ts"],"names":[],"mappings":"AACA,OAAO,EAAW,KAAK,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAG9D,cAAM,YAAY;IAEd,MAAM,CAAC,2BAA2B,SAAO;IACzC,MAAM,CAAC,sBAAsB,SAAK;IAElC,sBAAsB,SAAK;IAE3B,OAAO,CAAC,SAAS,EAAE,MAAM,EAAE,YAAY,EAAE,SAAS;CAgBrD;AAED,eAAe,YAAY,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { default as Provider } from '../Provider
|
|
2
|
-
import { CameraNativeState } from '../../events/Types
|
|
1
|
+
import { default as Provider } from '../Provider';
|
|
2
|
+
import { CameraNativeState } from '../../events/Types';
|
|
3
3
|
declare class CameraNativeProvider extends Provider<CameraNativeState> {
|
|
4
4
|
providerId?: number;
|
|
5
5
|
getName: () => string;
|
|
@@ -9,3 +9,4 @@ declare class CameraNativeProvider extends Provider<CameraNativeState> {
|
|
|
9
9
|
}
|
|
10
10
|
declare const _default: CameraNativeProvider;
|
|
11
11
|
export default _default;
|
|
12
|
+
//# sourceMappingURL=CameraNativeProvider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CameraNativeProvider.d.ts","sourceRoot":"","sources":["../../../../src/providers/others/CameraNativeProvider.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,aAAa,CAAC;AAEnC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAE5D,cAAM,oBAAqB,SAAQ,QAAQ,CAAC,iBAAiB,CAAC;IAE1D,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,OAAO,eAAwB;IAE/B,YAAY,sBAA2B;IAEvC,KAAK;IAWL,IAAI;CAGP;;AAED,wBAA0C"}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { default as Provider } from '../Provider
|
|
2
|
-
import { CameraProjectionMatrix } from '../../events/Types
|
|
1
|
+
import { default as Provider } from '../Provider';
|
|
2
|
+
import { CameraProjectionMatrix } from '../../events/Types';
|
|
3
3
|
declare class CameraProjectionMatrixProvider extends Provider<CameraProjectionMatrix> {
|
|
4
4
|
providerId?: number;
|
|
5
5
|
getName: () => string;
|
|
6
|
-
availability: () => import('../../events/AvailabilityHelper
|
|
6
|
+
availability: () => import('../../events/AvailabilityHelper').AvailabilityPromise;
|
|
7
7
|
start(): void;
|
|
8
8
|
stop(): void;
|
|
9
9
|
}
|
|
10
10
|
declare const _default: CameraProjectionMatrixProvider;
|
|
11
11
|
export default _default;
|
|
12
|
+
//# sourceMappingURL=CameraProjectionMatrixProvider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CameraProjectionMatrixProvider.d.ts","sourceRoot":"","sources":["../../../../src/providers/others/CameraProjectionMatrixProvider.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,aAAa,CAAC;AAEnC,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAEjE,cAAM,8BAA+B,SAAQ,QAAQ,CAAC,sBAAsB,CAAC;IAEzE,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,OAAO,eAAkC;IAEzC,YAAY,sEAA0C;IAEtD,KAAK;IAOL,IAAI;CAGP;;AAED,wBAAoD"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { GeoRelativePosition } from '@wemap/geo';
|
|
2
|
-
import { default as Provider } from '../../Provider
|
|
3
|
-
import { AbsolutePosition } from '../../../events/Types
|
|
1
|
+
import { GeoRelativePosition } from '@wemap/geo-legacy';
|
|
2
|
+
import { default as Provider } from '../../Provider';
|
|
3
|
+
import { AbsolutePosition } from '../../../events/Types';
|
|
4
4
|
declare class AbsolutePositionProvider extends Provider<AbsolutePosition> {
|
|
5
5
|
static ACCURACY_RELOC_RATIO: number;
|
|
6
6
|
static USE_MM_FOR_FEED: boolean;
|
|
@@ -13,7 +13,7 @@ declare class AbsolutePositionProvider extends Provider<AbsolutePosition> {
|
|
|
13
13
|
_waitUntilNextVpsPosition: boolean;
|
|
14
14
|
_lastPolestarFix: number | null;
|
|
15
15
|
getName: () => string;
|
|
16
|
-
availability(): import('../../../events/AvailabilityHelper
|
|
16
|
+
availability(): import('../../../events/AvailabilityHelper').AvailabilityPromise;
|
|
17
17
|
start(): void;
|
|
18
18
|
/**
|
|
19
19
|
* @override
|
|
@@ -33,3 +33,4 @@ declare class AbsolutePositionProvider extends Provider<AbsolutePosition> {
|
|
|
33
33
|
}
|
|
34
34
|
declare const _default: AbsolutePositionProvider;
|
|
35
35
|
export default _default;
|
|
36
|
+
//# sourceMappingURL=AbsolutePositionProvider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AbsolutePositionProvider.d.ts","sourceRoot":"","sources":["../../../../../src/providers/position/absolute/AbsolutePositionProvider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAS,mBAAmB,EAAgB,MAAM,mBAAmB,CAAC;AAG7E,OAAO,QAAQ,MAAM,gBAAgB,CAAC;AAQtC,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAEzD,cAAM,wBAAyB,SAAQ,QAAQ,CAAC,gBAAgB,CAAC;IAG7D,MAAM,CAAC,oBAAoB,SAAK;IAChC,MAAM,CAAC,eAAe,UAAQ;IAE9B,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,2BAA2B,CAAC,EAAE,MAAM,CAAC;IACrC,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAE/B,uBAAuB,UAAS;IAChC,yBAAyB,UAAS;IAClC,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAQ;IAEvC,OAAO,eAA4B;IAGnC,YAAY;IAUZ,KAAK;IAqDL;;OAEG;IACH,IAAI;IAsBJ,OAAO,CAAC,yCAAyC;IA8CjD;;OAEG;IACH,OAAO,CAAC,mBAAmB;IA+B3B;;OAEG;IACH,mBAAmB,CAAC,aAAa,EAAE,mBAAmB;IA6BtD,IAAI,CAAC,IAAI,EAAE,gBAAgB;IA4B3B,oBAAoB,CAAC,GAAG,sBAAsB,EAAE,CAAC,gBAAgB,GAAG,IAAI,CAAC,EAAE;CAc9E;;AAED,wBAA8C"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { default as GeolocationApiMissingError } from '../../../errors/GeolocationApiMissingError
|
|
2
|
-
import { default as Provider } from '../../Provider
|
|
3
|
-
import { AbsolutePosition } from '../../../events/Types
|
|
1
|
+
import { default as GeolocationApiMissingError } from '../../../errors/GeolocationApiMissingError';
|
|
2
|
+
import { default as Provider } from '../../Provider';
|
|
3
|
+
import { AbsolutePosition } from '../../../events/Types';
|
|
4
4
|
/**
|
|
5
5
|
* GnssWifiProvider is a provider based on navigator.geolocation.
|
|
6
6
|
* This API does not allow us to know if the position returned is provided
|
|
@@ -26,3 +26,4 @@ declare class GnssWifiProvider extends Provider<AbsolutePosition> {
|
|
|
26
26
|
}
|
|
27
27
|
declare const _default: GnssWifiProvider;
|
|
28
28
|
export default _default;
|
|
29
|
+
//# sourceMappingURL=GnssWifiProvider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GnssWifiProvider.d.ts","sourceRoot":"","sources":["../../../../../src/providers/position/absolute/GnssWifiProvider.ts"],"names":[],"mappings":"AAKA,OAAO,0BAA0B,MAAM,4CAA4C,CAAC;AACpF,OAAO,QAAQ,MAAM,gBAAgB,CAAC;AAItC,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAGzD;;;;;GAKG;AACH,cAAM,gBAAiB,SAAQ,QAAQ,CAAC,gBAAgB,CAAC;IAErD,MAAM,CAAC,+BAA+B,SAAM;IAE5C,qBAAqB,SAAoD;IAEzE,kBAAkB,UAAQ;IAE1B,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB,OAAO,eAAoB;IAE3B,IAAI,eAAe;;;;MAMlB;IAED,YAAY;IAMZ,KAAK;IAmBL,IAAI;IAMJ,OAAO,CAAC,aAAa,CAiCnB;IAEF,eAAe,GAAI,OAAO,wBAAwB,UAiBhD;CACL;;AAED,wBAAsC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { default as Provider } from '../../Provider
|
|
2
|
-
import { AbsolutePosition } from '../../../events/Types
|
|
1
|
+
import { default as Provider } from '../../Provider';
|
|
2
|
+
import { AbsolutePosition } from '../../../events/Types';
|
|
3
3
|
/**
|
|
4
4
|
* GnssWifiProvider is a provider based on navigator.geolocation.
|
|
5
5
|
* This API does not allow us to know if the position returned is provided
|
|
@@ -14,3 +14,4 @@ declare class IpProvider extends Provider<AbsolutePosition> {
|
|
|
14
14
|
}
|
|
15
15
|
declare const _default: IpProvider;
|
|
16
16
|
export default _default;
|
|
17
|
+
//# sourceMappingURL=IpProvider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IpProvider.d.ts","sourceRoot":"","sources":["../../../../../src/providers/position/absolute/IpProvider.ts"],"names":[],"mappings":"AAGA,OAAO,QAAQ,MAAM,gBAAgB,CAAC;AAEtC,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAEzD;;;;;GAKG;AACH,cAAM,UAAW,SAAQ,QAAQ,CAAC,gBAAgB,CAAC;IAE/C,OAAO,eAAc;IAErB,YAAY,sBAA2B;IAEjC,KAAK;IAuBX,IAAI;CAEP;;AAED,wBAAgC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { default as Provider } from '../../Provider
|
|
2
|
-
import { AbsolutePosition } from '../../../events/Types
|
|
1
|
+
import { default as Provider } from '../../Provider';
|
|
2
|
+
import { AbsolutePosition } from '../../../events/Types';
|
|
3
3
|
declare class PoleStarProvider extends Provider<AbsolutePosition> {
|
|
4
4
|
getName: () => string;
|
|
5
5
|
constructor();
|
|
@@ -7,8 +7,9 @@ declare class PoleStarProvider extends Provider<AbsolutePosition> {
|
|
|
7
7
|
setApiKey(apiKey: string): void;
|
|
8
8
|
start(): void;
|
|
9
9
|
stop(): void;
|
|
10
|
-
get nativeProvider(): import('../../NativeProviders
|
|
10
|
+
get nativeProvider(): import('../../NativeProviders').NativePoleStar;
|
|
11
11
|
addMethodsToNativeJsProvider(): void;
|
|
12
12
|
}
|
|
13
13
|
declare const _default: PoleStarProvider;
|
|
14
14
|
export default _default;
|
|
15
|
+
//# sourceMappingURL=PoleStarProvider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PoleStarProvider.d.ts","sourceRoot":"","sources":["../../../../../src/providers/position/absolute/PoleStarProvider.ts"],"names":[],"mappings":"AAGA,OAAO,QAAQ,MAAM,gBAAgB,CAAC;AAItC,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAGzD,cAAM,gBAAiB,SAAQ,QAAQ,CAAC,gBAAgB,CAAC;IAErD,OAAO,eAAoB;;IAO3B,YAAY;IASZ,SAAS,CAAC,MAAM,EAAE,MAAM;IAIxB,KAAK;IAIL,IAAI;IAIJ,IAAI,cAAc,mDAYjB;IAID,4BAA4B;CA6B/B;;AAED,wBAAsC"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { GeoRelativePosition, RelativePosition } from '@wemap/geo';
|
|
2
|
-
import { default as Provider } from '../../Provider
|
|
3
|
-
import { ArCoreEvent } from '../../vision/ArCoreProvider
|
|
4
|
-
import { AbsoluteAttitude, RelativeAttitude } from '../../../events/Types
|
|
1
|
+
import { GeoRelativePosition, RelativePosition } from '@wemap/geo-legacy';
|
|
2
|
+
import { default as Provider } from '../../Provider';
|
|
3
|
+
import { ArCoreEvent } from '../../vision/ArCoreProvider';
|
|
4
|
+
import { AbsoluteAttitude, RelativeAttitude } from '../../../events/Types';
|
|
5
5
|
declare class GeoRelativePositionFromArCoreProvider extends Provider<GeoRelativePosition> {
|
|
6
6
|
absoluteAttitudeProviderId?: number;
|
|
7
7
|
arCoreProviderId?: number;
|
|
8
8
|
absoluteAttitudeEvent?: AbsoluteAttitude;
|
|
9
9
|
getName: () => string;
|
|
10
|
-
availability(): import('../../../events/AvailabilityHelper
|
|
10
|
+
availability(): import('../../../events/AvailabilityHelper').AvailabilityPromise;
|
|
11
11
|
start(): void;
|
|
12
12
|
stop(): void;
|
|
13
13
|
onArCoreEvents: (event: ArCoreEvent) => void;
|
|
@@ -15,3 +15,4 @@ declare class GeoRelativePositionFromArCoreProvider extends Provider<GeoRelative
|
|
|
15
15
|
}
|
|
16
16
|
declare const _default: GeoRelativePositionFromArCoreProvider;
|
|
17
17
|
export default _default;
|
|
18
|
+
//# sourceMappingURL=GeoRelativePositionFromArCoreProvider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GeoRelativePositionFromArCoreProvider.d.ts","sourceRoot":"","sources":["../../../../../src/providers/position/relative/GeoRelativePositionFromArCoreProvider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAE1E,OAAO,QAAQ,MAAM,gBAAgB,CAAC;AAGtC,OAAuB,EAAE,KAAK,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC/E,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAE3E,cAAM,qCAAsC,SAAQ,QAAQ,CAAC,mBAAmB,CAAC;IAE7E,0BAA0B,CAAC,EAAE,MAAM,CAAC;IACpC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,qBAAqB,CAAC,EAAE,gBAAgB,CAAC;IAEzC,OAAO,eAAyC;IAEhD,YAAY;IAOZ,KAAK;IAaL,IAAI;IAKJ,cAAc,GAAI,OAAO,WAAW,UAOnC;IAED,OAAO,CACH,gBAAgB,EAAE,gBAAgB,EAClC,gBAAgB,EAAE,gBAAgB,EAClC,gBAAgB,EAAE,gBAAgB;CA0BzC;;AAED,wBAA2D"}
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { GeoRelativePosition } from '@wemap/geo';
|
|
2
|
-
import { default as Provider } from '../../Provider
|
|
1
|
+
import { GeoRelativePosition } from '@wemap/geo-legacy';
|
|
2
|
+
import { default as Provider } from '../../Provider';
|
|
3
3
|
declare class GeoRelativePositionProvider extends Provider<GeoRelativePosition> {
|
|
4
4
|
providerId?: number;
|
|
5
5
|
geoRelativeProvider?: Provider<GeoRelativePosition>;
|
|
6
6
|
getName: () => string;
|
|
7
|
-
availability(): import('../../../events/AvailabilityHelper
|
|
7
|
+
availability(): import('../../../events/AvailabilityHelper').AvailabilityPromise;
|
|
8
8
|
start(): Promise<void>;
|
|
9
9
|
stop(): void;
|
|
10
10
|
}
|
|
11
11
|
declare const _default: GeoRelativePositionProvider;
|
|
12
12
|
export default _default;
|
|
13
|
+
//# sourceMappingURL=GeoRelativePositionProvider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GeoRelativePositionProvider.d.ts","sourceRoot":"","sources":["../../../../../src/providers/position/relative/GeoRelativePositionProvider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAExD,OAAO,QAAQ,MAAM,gBAAgB,CAAC;AAMtC,cAAM,2BAA4B,SAAQ,QAAQ,CAAC,mBAAmB,CAAC;IAEnE,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,mBAAmB,CAAC,EAAE,QAAQ,CAAC,mBAAmB,CAAC,CAAC;IAEpD,OAAO,eAA+B;IAEtC,YAAY;IAON,KAAK;IAMX,IAAI;CAIP;;AAED,wBAAiD"}
|
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
import { GeoRelativePosition } from '@wemap/geo';
|
|
2
|
-
import { default as Provider } from '../../Provider
|
|
1
|
+
import { GeoRelativePosition } from '@wemap/geo-legacy';
|
|
2
|
+
import { default as Provider } from '../../Provider';
|
|
3
3
|
declare class PdrProvider extends Provider<GeoRelativePosition> {
|
|
4
4
|
private absoluteAttitudeProviderId?;
|
|
5
5
|
private stepDetectionProviderId?;
|
|
6
6
|
private attitudeEvent?;
|
|
7
7
|
private misalignmentError;
|
|
8
8
|
getName: () => string;
|
|
9
|
-
availability(): import('../../../events/AvailabilityHelper
|
|
9
|
+
availability(): import('../../../events/AvailabilityHelper').AvailabilityPromise;
|
|
10
10
|
start(): void;
|
|
11
11
|
stop(): void;
|
|
12
12
|
private onStepEvent;
|
|
13
13
|
}
|
|
14
14
|
declare const _default: PdrProvider;
|
|
15
15
|
export default _default;
|
|
16
|
+
//# sourceMappingURL=PdrProvider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PdrProvider.d.ts","sourceRoot":"","sources":["../../../../../src/providers/position/relative/PdrProvider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAGxD,OAAO,QAAQ,MAAM,gBAAgB,CAAC;AAOtC,cAAM,WAAY,SAAQ,QAAQ,CAAC,mBAAmB,CAAC;IAEnD,OAAO,CAAC,0BAA0B,CAAC,CAAS;IAC5C,OAAO,CAAC,uBAAuB,CAAC,CAAS;IACzC,OAAO,CAAC,aAAa,CAAC,CAAmB;IAIzC,OAAO,CAAC,iBAAiB,CAAc;IAEvC,OAAO,eAAe;IAEtB,YAAY;IAQZ,KAAK;IAcL,IAAI;IAKJ,OAAO,CAAC,WAAW,CAsDlB;CACJ;;AAED,wBAAiC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Vector3_t } from '@wemap/maths';
|
|
1
|
+
import { Vector3_t } from '@wemap/maths-legacy';
|
|
2
2
|
declare class StepDetectionLadetto {
|
|
3
3
|
static MIN_TIME_BETWEEN_STEPS: number;
|
|
4
4
|
static MAX_FRENQUENCY: number;
|
|
@@ -13,3 +13,4 @@ declare class StepDetectionLadetto {
|
|
|
13
13
|
get speed(): number;
|
|
14
14
|
}
|
|
15
15
|
export default StepDetectionLadetto;
|
|
16
|
+
//# sourceMappingURL=StepDetectionLadetto.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StepDetectionLadetto.d.ts","sourceRoot":"","sources":["../../../../src/providers/steps/StepDetectionLadetto.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAErD,cAAM,oBAAoB;IAGtB,MAAM,CAAC,sBAAsB,SAAO;IAEpC,MAAM,CAAC,cAAc,SAAK;IAC1B,MAAM,CAAC,cAAc,SAAK;IAE1B,MAAM,CAAC,oCAAoC,SAAK;IAGhD,SAAS,SAAK;IAEd,eAAe,SAAK;IACpB,eAAe,SAAK;IACpB,iBAAiB,SAAgD;IAEjE,OAAO,CAAC,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,SAAS;IA+B/C,IAAI,YAAY,WASf;IAED,IAAI,KAAK,WAER;CACJ;AAED,eAAe,oBAAoB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Vector3_t } from '@wemap/maths';
|
|
1
|
+
import { Vector3_t } from '@wemap/maths-legacy';
|
|
2
2
|
declare class StepDetectionMinMaxPeaks {
|
|
3
3
|
static WINDOW_TIME: number;
|
|
4
4
|
static MIN_TIME_BETWEEN_STEPS: number;
|
|
@@ -17,3 +17,4 @@ declare class StepDetectionMinMaxPeaks {
|
|
|
17
17
|
get speed(): number;
|
|
18
18
|
}
|
|
19
19
|
export default StepDetectionMinMaxPeaks;
|
|
20
|
+
//# sourceMappingURL=StepDetectionMinMaxPeaks.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StepDetectionMinMaxPeaks.d.ts","sourceRoot":"","sources":["../../../../src/providers/steps/StepDetectionMinMaxPeaks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAGrD,cAAM,wBAAwB;IAE1B,MAAM,CAAC,WAAW,SAAO;IACzB,MAAM,CAAC,sBAAsB,SAAO;IACpC,MAAM,CAAC,cAAc,SAAK;IAC1B,MAAM,CAAC,cAAc,SAAK;IAC1B,MAAM,CAAC,oCAAoC,SAAO;IAClD,MAAM,CAAC,oCAAoC,SAAM;IAEjD,SAAS,SAAK;IACd,iBAAiB,SAAoD;IACrE,aAAa,EAAE;QAAE,SAAS,EAAE,MAAM,CAAC;QAAC,WAAW,EAAE,MAAM,CAAA;KAAE,EAAE,CAAM;IAEjE,OAAO,CAAC,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,SAAS;IAqC/C,IAAI,YAAY,WASf;IAED,IAAI,KAAK,WAER;CACJ;AAED,eAAe,wBAAwB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Vector3_t } from '@wemap/maths';
|
|
1
|
+
import { Vector3_t } from '@wemap/maths-legacy';
|
|
2
2
|
declare class StepDetectionMinMaxPeaks2 {
|
|
3
3
|
static WINDOW_TIME: number;
|
|
4
4
|
static MIN_TIME_BETWEEN_STEPS: number;
|
|
@@ -25,3 +25,4 @@ declare class StepDetectionMinMaxPeaks2 {
|
|
|
25
25
|
}[]): number;
|
|
26
26
|
}
|
|
27
27
|
export default StepDetectionMinMaxPeaks2;
|
|
28
|
+
//# sourceMappingURL=StepDetectionMinMaxPeaks2.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StepDetectionMinMaxPeaks2.d.ts","sourceRoot":"","sources":["../../../../src/providers/steps/StepDetectionMinMaxPeaks2.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAErD,cAAM,yBAAyB;IAE3B,MAAM,CAAC,WAAW,SAAO;IACzB,MAAM,CAAC,sBAAsB,SAAO;IACpC,MAAM,CAAC,cAAc,SAAK;IAC1B,MAAM,CAAC,cAAc,SAAK;IAC1B,MAAM,CAAC,oCAAoC,SAAQ;IACnD,MAAM,CAAC,oCAAoC,SAAQ;IAEnD,SAAS,SAAK;IACd,SAAS,SAAO;IAEhB,aAAa,EAAE;QAAE,SAAS,EAAE,MAAM,CAAC;QAAC,WAAW,EAAE,MAAM,CAAA;KAAE,EAAE,CAAM;IACjE,iBAAiB,SAAqD;IACtE,mBAAmB,SAAK;IAExB,OAAO,CAAC,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,SAAS;IA4CvE,IAAI,YAAY,WASf;IAED,IAAI,KAAK,WAER;IAED,IAAI,CAAC,IAAI,EAAE;QAAE,WAAW,EAAE,MAAM,CAAA;KAAE,EAAE;IAUpC,MAAM,CAAC,IAAI,EAAE;QAAE,WAAW,EAAE,MAAM,CAAA;KAAE,EAAE;CASzC;AAED,eAAe,yBAAyB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Vector3_t } from '@wemap/maths';
|
|
1
|
+
import { Vector3_t } from '@wemap/maths-legacy';
|
|
2
2
|
declare class StepDetectionMinMaxPeaks3 {
|
|
3
3
|
static WINDOW_TIME: number;
|
|
4
4
|
static MIN_TIME_BETWEEN_STEPS: number;
|
|
@@ -22,3 +22,4 @@ declare class StepDetectionMinMaxPeaks3 {
|
|
|
22
22
|
stddev(data: number[]): number;
|
|
23
23
|
}
|
|
24
24
|
export default StepDetectionMinMaxPeaks3;
|
|
25
|
+
//# sourceMappingURL=StepDetectionMinMaxPeaks3.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StepDetectionMinMaxPeaks3.d.ts","sourceRoot":"","sources":["../../../../src/providers/steps/StepDetectionMinMaxPeaks3.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAErD,cAAM,yBAAyB;IAE3B,MAAM,CAAC,WAAW,SAAO;IACzB,MAAM,CAAC,sBAAsB,SAAO;IACpC,MAAM,CAAC,cAAc,SAAK;IAC1B,MAAM,CAAC,cAAc,SAAK;IAC1B,MAAM,CAAC,oCAAoC,SAAO;IAClD,MAAM,CAAC,oCAAoC,SAAQ;IAEnD,SAAS,SAAK;IACd,SAAS,SAAQ;IAEjB,aAAa,EAAE;QAAE,SAAS,EAAE,MAAM,CAAC;QAAC,WAAW,EAAE,MAAM,CAAA;KAAE,EAAE,CAAM;IACjE,iBAAiB,SAAqD;IACtE,mBAAmB,SAAK;IACxB,qBAAqB,SAAK;IAG1B,OAAO,CAAC,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,SAAS;IAuI/C,IAAI,YAAY,WASf;IAED,IAAI,KAAK,WAER;IAED,IAAI,CAAC,IAAI,EAAE,MAAM,EAAE;IAUnB,MAAM,CAAC,IAAI,EAAE,MAAM,EAAE;CASxB;AAED,eAAe,yBAAyB,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Quaternion_t, Vector3_t } from '@wemap/maths';
|
|
2
|
-
import { default as Provider } from '../Provider
|
|
3
|
-
import { Acceleration, AngularRate, RelativeAttitude, Step } from '../../events/Types
|
|
1
|
+
import { Quaternion_t, Vector3_t } from '@wemap/maths-legacy';
|
|
2
|
+
import { default as Provider } from '../Provider';
|
|
3
|
+
import { Acceleration, AngularRate, RelativeAttitude, Step } from '../../events/Types';
|
|
4
4
|
type StepDetectorAlgorithmName = 'ladetto' | 'minMaxPeaks' | 'minMaxPeaks2' | 'minMaxPeaks3';
|
|
5
5
|
type StepDetectorAlgorithm = {
|
|
6
6
|
compute(timestamp: number, linearAcc: Vector3_t, angularRate?: Vector3_t): boolean;
|
|
@@ -21,7 +21,7 @@ declare class StepProvider extends Provider<Step> {
|
|
|
21
21
|
_accValues: Vector3_t[];
|
|
22
22
|
constructor();
|
|
23
23
|
getName: () => string;
|
|
24
|
-
availability(): import('../../events/AvailabilityHelper
|
|
24
|
+
availability(): import('../../events/AvailabilityHelper').AvailabilityPromise;
|
|
25
25
|
start(): void;
|
|
26
26
|
stop(): void;
|
|
27
27
|
onAccelerometerEvent: (accelerationEvent: Acceleration) => void;
|
|
@@ -34,3 +34,4 @@ declare class StepProvider extends Provider<Step> {
|
|
|
34
34
|
export declare function createStepProvider(algorithm: StepDetectorAlgorithmName): StepProvider;
|
|
35
35
|
declare const _default: StepProvider;
|
|
36
36
|
export default _default;
|
|
37
|
+
//# sourceMappingURL=StepProvider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StepProvider.d.ts","sourceRoot":"","sources":["../../../../src/providers/steps/StepProvider.ts"],"names":[],"mappings":"AACA,OAAO,EAAc,KAAK,YAAY,EAAE,KAAK,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAEpF,OAAO,QAAQ,MAAM,aAAa,CAAC;AAEnC,OAAO,EAAE,KAAK,YAAY,EAAE,KAAK,WAAW,EAAE,gBAAgB,EAAE,KAAK,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAUtG,KAAK,yBAAyB,GAAG,SAAS,GAAG,aAAa,GAAG,cAAc,GAAG,cAAc,CAAC;AAE7F,KAAK,qBAAqB,GAAG;IACzB,OAAO,CAAC,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,CAAC,EAAE,SAAS,GAAG,OAAO,CAAC;IACnF,YAAY,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,cAAM,YAAa,SAAQ,QAAQ,CAAC,IAAI,CAAC;IAErC,MAAM,CAAC,4BAA4B,SAAK;IACxC,MAAM,CAAC,iBAAiB,EAAE,yBAAyB,CAAkB;IAErE,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,gBAAgB,CAAC,EAAE,WAAW,CAAC;IAC/B,aAAa,CAAC,EAAE,gBAAgB,CAAC;IACjC,UAAU,SAAK;IACf,YAAY,EAAG,qBAAqB,CAAC;IAErC,mBAAmB,SAA6C;IAChE,UAAU,EAAE,yBAAyB,CAAkC;IACvE,UAAU,EAAE,SAAS,EAAE,CAAM;;IAO7B,OAAO,eAAwB;IAE/B,YAAY;IAQZ,KAAK;IAoBL,IAAI;IAMJ,oBAAoB,GAAI,mBAAmB,YAAY,UAsBtD;IAGD,MAAM,CAAC,yBAAyB,CAAC,UAAU,EAAE,YAAY,EAAE,GAAG,EAAE,SAAS;IAMzE,IAAI,kBAAkB,CAAC,kBAAkB,QAAA,EAExC;IAED,IAAI,kBAAkB,WAErB;IAED,IAAI,SAAS,CAAC,SAAS,2BAAA,EAkBtB;IAED,IAAI,SAAS,8BAEZ;CACJ;AAED,wBAAgB,kBAAkB,CAAC,SAAS,EAAE,yBAAyB,gBAItE;;AAED,wBAAkC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { default as Provider } from '../Provider
|
|
2
|
-
import { StraightLine } from '../../events/Types
|
|
1
|
+
import { default as Provider } from '../Provider';
|
|
2
|
+
import { StraightLine } from '../../events/Types';
|
|
3
3
|
declare class StraightLineProvider extends Provider<StraightLine> {
|
|
4
4
|
static DEFAULT_STEPS_CONSIDERED_FOR_STRAIGHT_LINE: number;
|
|
5
5
|
_turnProviderId?: number;
|
|
@@ -7,7 +7,7 @@ declare class StraightLineProvider extends Provider<StraightLine> {
|
|
|
7
7
|
_countSteps: number;
|
|
8
8
|
_stepsConsideredForStraightLine: number;
|
|
9
9
|
getName: () => string;
|
|
10
|
-
availability(): import('../../events/AvailabilityHelper
|
|
10
|
+
availability(): import('../../events/AvailabilityHelper').AvailabilityPromise;
|
|
11
11
|
start(): void;
|
|
12
12
|
stop(): void;
|
|
13
13
|
private _onTurn;
|
|
@@ -19,3 +19,4 @@ declare class StraightLineProvider extends Provider<StraightLine> {
|
|
|
19
19
|
}
|
|
20
20
|
declare const _default: StraightLineProvider;
|
|
21
21
|
export default _default;
|
|
22
|
+
//# sourceMappingURL=StraightLineProvider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StraightLineProvider.d.ts","sourceRoot":"","sources":["../../../../src/providers/steps/StraightLineProvider.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,aAAa,CAAC;AAInC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAEvD,cAAM,oBAAqB,SAAQ,QAAQ,CAAC,YAAY,CAAC;IAErD,MAAM,CAAC,0CAA0C,SAAK;IAEtD,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB,WAAW,SAAK;IAChB,+BAA+B,SAAmE;IAElG,OAAO,eAAwB;IAE/B,YAAY;IAOZ,KAAK;IAKL,IAAI;IAKJ,OAAO,CAAC,OAAO,CAKd;IAED,OAAO,CAAC,OAAO,CAOd;IAED,UAAU;IAIV,IAAI,4BAA4B,WAE/B;IAED,IAAI,8BAA8B,WAEjC;IAED,IAAI,8BAA8B,CAAC,8BAA8B,QAAA,EAEhE;CACJ;;AAED,wBAA0C"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { RelativePosition } from '@wemap/geo';
|
|
2
|
-
import { default as Provider } from '../Provider
|
|
3
|
-
import { default as MissingArCoreError } from '../../errors/MissingArCoreError
|
|
4
|
-
import { NativeArCore } from '../NativeProviders
|
|
5
|
-
import { Barcode, CameraProjectionMatrix, RelativeAttitude } from '../../events/Types
|
|
1
|
+
import { RelativePosition } from '@wemap/geo-legacy';
|
|
2
|
+
import { default as Provider } from '../Provider';
|
|
3
|
+
import { default as MissingArCoreError } from '../../errors/MissingArCoreError';
|
|
4
|
+
import { NativeArCore } from '../NativeProviders';
|
|
5
|
+
import { Barcode, CameraProjectionMatrix, RelativeAttitude } from '../../events/Types';
|
|
6
6
|
export type Payload = [number, ...[number | string]];
|
|
7
7
|
export type ArCoreEvent = Readonly<{
|
|
8
8
|
readonly relativePosition: RelativePosition;
|
|
@@ -48,3 +48,4 @@ declare class ArCoreProvider extends Provider<ArCoreEvent> {
|
|
|
48
48
|
}
|
|
49
49
|
declare const _default: ArCoreProvider;
|
|
50
50
|
export default _default;
|
|
51
|
+
//# sourceMappingURL=ArCoreProvider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ArCoreProvider.d.ts","sourceRoot":"","sources":["../../../../src/providers/vision/ArCoreProvider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAIrD,OAAO,QAAQ,MAAM,aAAa,CAAC;AACnC,OAAO,kBAAkB,MAAM,iCAAiC,CAAC;AAEjE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AACvD,OAAO,EAAE,KAAK,OAAO,EAAE,KAAK,sBAAsB,EAAE,gBAAgB,EAAC,MAAM,oBAAoB,CAAC;AAGhG,MAAM,MAAM,OAAO,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC,CAAC;AAErD,MAAM,MAAM,WAAW,GAAG,QAAQ,CAAC;IAC/B,QAAQ,CAAC,gBAAgB,EAAE,gBAAgB,CAAC;IAC5C,QAAQ,CAAC,gBAAgB,EAAE,gBAAgB,CAAC;IAC5C,QAAQ,CAAC,gBAAgB,CAAC,EAAE,sBAAsB,CAAC;IACnD,QAAQ,CAAC,OAAO,CAAC,EAAE,OAAO,CAAA;CAC7B,CAAC,CAAC;AAEH,cAAM,cAAe,SAAQ,QAAQ,CAAC,WAAW,CAAC;IAE9C,MAAM,CAAC,OAAO;;;;;;;;;;;;;;;;;MAiBH;IAEX;;OAEG;IACH,MAAM,CAAC,uBAAuB,SAAmB;IAEjD,eAAe,CAAC,EAAE,YAAY,CAAC;IAE/B,gBAAgB,WAAa;IAE7B,OAAO,eAAkB;IAEzB,YAAY;IAeZ,KAAK;IAKL,IAAI;IAIJ,YAAY,aAWX;IAED,YAAY,CAAC,OAAO,EAAE,OAAO;IAuD7B,IAAI,cAAc,iBAejB;IAGD,oBAAoB;IAQpB,qBAAqB;IAQrB,IAAI,iBAAiB,YAEpB;CACJ;;AAED,wBAAoC"}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { default as Provider } from '../Provider
|
|
2
|
-
import { Barcode } from '../../events/Types
|
|
1
|
+
import { default as Provider } from '../Provider';
|
|
2
|
+
import { Barcode } from '../../events/Types';
|
|
3
3
|
declare class BarcodePoleStarProvider extends Provider<Barcode> {
|
|
4
4
|
providerId?: number;
|
|
5
5
|
getName: () => string;
|
|
6
|
-
availability: () => import('../../events/AvailabilityHelper
|
|
6
|
+
availability: () => import('../../events/AvailabilityHelper').AvailabilityPromise;
|
|
7
7
|
start(): void;
|
|
8
8
|
stop(): void;
|
|
9
9
|
}
|
|
10
10
|
declare const _default: BarcodePoleStarProvider;
|
|
11
11
|
export default _default;
|
|
12
|
+
//# sourceMappingURL=BarcodeProvider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BarcodeProvider.d.ts","sourceRoot":"","sources":["../../../../src/providers/vision/BarcodeProvider.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,aAAa,CAAC;AAEnC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAElD,cAAM,uBAAwB,SAAQ,QAAQ,CAAC,OAAO,CAAC;IAEnD,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,OAAO,eAAmB;IAE1B,YAAY,sEAAkC;IAE9C,KAAK;IASL,IAAI;CAIP;;AAED,wBAA6C"}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { Calibration } from '
|
|
2
|
-
import { Quaternion_t } from '@wemap/maths
|
|
3
|
-
import { CoarsePose } from './VpsMetadata
|
|
4
|
-
import { default as VpsRequest } from './VpsRequest
|
|
5
|
-
import { default as VpsResponse } from './VpsResponse
|
|
1
|
+
import { Calibration } from '../../../../../camera';
|
|
2
|
+
import { Quaternion_t } from '@wemap/maths-legacy';
|
|
3
|
+
import { CoarsePose } from './VpsMetadata';
|
|
4
|
+
import { default as VpsRequest } from './VpsRequest';
|
|
5
|
+
import { default as VpsResponse } from './VpsResponse';
|
|
6
6
|
declare class ImageRelocalization {
|
|
7
7
|
static _prepareRequest(imageCanvas: HTMLCanvasElement, calibration?: Calibration | null, coarsePose?: CoarsePose | null, requestCaller?: string | null): VpsRequest;
|
|
8
8
|
static relocalize(endpointUrl: string, imageCanvas: HTMLCanvasElement, calibration?: Calibration | null, coarsePose?: CoarsePose | null, requestCaller?: string | null, customHeaders?: Record<string, string> | null): Promise<VpsResponse | null>;
|
|
9
9
|
static getHeadingFromQuaternion(quaternion: Quaternion_t): number;
|
|
10
10
|
}
|
|
11
11
|
export default ImageRelocalization;
|
|
12
|
+
//# sourceMappingURL=ImageRelocalization.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ImageRelocalization.d.ts","sourceRoot":"","sources":["../../../../../src/providers/vision/vps/ImageRelocalization.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,WAAW,EAAuC,MAAM,eAAe,CAAC;AAEtF,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAExD,OAAoB,EAAE,KAAK,UAAU,EAAE,MAAM,eAAe,CAAC;AAE7D,OAAO,UAAU,MAAM,cAAc,CAAC;AACtC,OAAO,WAAW,MAAM,eAAe,CAAC;AAExC,cAAM,mBAAmB;IAErB,MAAM,CAAC,eAAe,CAClB,WAAW,EAAE,iBAAiB,EAC9B,WAAW,GAAE,WAAW,GAAG,IAAW,EACtC,UAAU,GAAE,UAAU,GAAG,IAAW,EACpC,aAAa,GAAE,MAAM,GAAG,IAAW;WAmB1B,UAAU,CACnB,WAAW,EAAE,MAAM,EACnB,WAAW,EAAE,iBAAiB,EAC9B,WAAW,GAAE,WAAW,GAAG,IAAW,EACtC,UAAU,GAAE,UAAU,GAAG,IAAW,EACpC,aAAa,GAAE,MAAM,GAAG,IAAW,EACnC,aAAa,GAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,IAAW;IAyCvD,MAAM,CAAC,wBAAwB,CAAC,UAAU,EAAE,YAAY;CAmB3D;AAED,eAAe,mBAAmB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Attitude } from '@wemap/geo';
|
|
1
|
+
import { Attitude } from '@wemap/geo-legacy';
|
|
2
2
|
export default class RelativeRotationCalc {
|
|
3
3
|
_providerId?: number;
|
|
4
4
|
_isRunning: boolean;
|
|
@@ -8,3 +8,4 @@ export default class RelativeRotationCalc {
|
|
|
8
8
|
_internalStop(): void;
|
|
9
9
|
release(): void;
|
|
10
10
|
}
|
|
11
|
+
//# sourceMappingURL=RelativeRotationCalc.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RelativeRotationCalc.d.ts","sourceRoot":"","sources":["../../../../../src/providers/vision/vps/RelativeRotationCalc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAI7C,MAAM,CAAC,OAAO,OAAO,oBAAoB;IAErC,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,UAAU,UAAS;IACnB,YAAY,EAAE,QAAQ,GAAG,IAAI,CAAQ;IAErC,SAAS;IAiBT,OAAO;IAkBP,aAAa;IAMb,OAAO;CAKV"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Calibration } from '
|
|
2
|
-
import { Attitude, AttitudeJson, UserPosition, UserPositionJson } from '@wemap/geo';
|
|
3
|
-
import { Device } from '
|
|
1
|
+
import { Calibration } from '../../../../../camera';
|
|
2
|
+
import { Attitude, AttitudeJson, UserPosition, UserPositionJson } from '@wemap/geo-legacy';
|
|
3
|
+
import { Device } from '../../../../../utils';
|
|
4
4
|
export type CoarsePoseJson = {
|
|
5
5
|
attitude?: AttitudeJson;
|
|
6
6
|
position?: UserPositionJson;
|
|
@@ -31,3 +31,4 @@ declare class VpsMetadata {
|
|
|
31
31
|
static fromJson(json: VpsMetadataJson): VpsMetadata;
|
|
32
32
|
}
|
|
33
33
|
export default VpsMetadata;
|
|
34
|
+
//# sourceMappingURL=VpsMetadata.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VpsMetadata.d.ts","sourceRoot":"","sources":["../../../../../src/providers/vision/vps/VpsMetadata.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,EAAE,QAAQ,EAAE,KAAK,YAAY,EAAE,YAAY,EAAE,KAAK,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AACrG,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,cAAc,CAAC;AAE3C,MAAM,MAAM,cAAc,GAAG;IACzB,QAAQ,CAAC,EAAE,YAAY,CAAC;IACxB,QAAQ,CAAC,EAAE,gBAAgB,CAAC;CAC/B,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG;IACrB,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,QAAQ,CAAC,EAAE,YAAY,CAAC;CAC3B,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC1B,IAAI,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACvB,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,MAAM,CAAC,EAAE,cAAc,CAAC;IACxB,MAAM,CAAC,EAAE,MAAM,CAAA;CAClB,CAAA;AAGD,cAAM,WAAW;IACb,IAAI,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC;IACxC,WAAW,EAAE,WAAW,GAAG,IAAI,CAAC;IAChC,MAAM,EAAE,UAAU,GAAG,IAAI,CAAC;IAC1B,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;gBAGlB,IAAI,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,EACvC,WAAW,GAAE,WAAW,GAAG,IAAW,EACtC,MAAM,GAAE,UAAU,GAAG,IAAW,EAChC,MAAM,GAAE,MAAM,GAAG,IAAW;IAQhC,MAAM,IAAI,eAAe;IAezB,MAAM,CAAC,QAAQ,CAAC,IAAI,EAAE,eAAe;CAcxC;AAED,eAAe,WAAW,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Camera } from '
|
|
2
|
-
import { default as Provider } from '../../Provider
|
|
3
|
-
import { default as RelativeRotationCalc } from './RelativeRotationCalc
|
|
4
|
-
import { AbsoluteAttitude, AbsolutePosition } from '../../../events/Types
|
|
1
|
+
import { Camera } from '../../../../../camera';
|
|
2
|
+
import { default as Provider } from '../../Provider';
|
|
3
|
+
import { default as RelativeRotationCalc } from './RelativeRotationCalc';
|
|
4
|
+
import { AbsoluteAttitude, AbsolutePosition } from '../../../events/Types';
|
|
5
5
|
export type VpsEvent = {
|
|
6
6
|
absoluteAttitude: AbsoluteAttitude;
|
|
7
7
|
absolutePosition: AbsolutePosition;
|
|
@@ -12,7 +12,7 @@ declare class VpsProvider extends Provider<VpsEvent> {
|
|
|
12
12
|
static DEFAULT_WAIT_TIME_MIN_INCLINATION_FOR_REQUEST: number;
|
|
13
13
|
static DEFAULT_USE_COARSE_POSE: boolean;
|
|
14
14
|
static DEFAULT_REQUEST_CALLER: string;
|
|
15
|
-
static CAMERA_TO_SMARTPHONE_ROT: import('@wemap/maths').Quaternion_t;
|
|
15
|
+
static CAMERA_TO_SMARTPHONE_ROT: import('@wemap/maths-legacy').Quaternion_t;
|
|
16
16
|
_relativeRotationCalc?: RelativeRotationCalc;
|
|
17
17
|
_serverError: boolean;
|
|
18
18
|
_cameraError: boolean;
|
|
@@ -47,3 +47,4 @@ declare class VpsProvider extends Provider<VpsEvent> {
|
|
|
47
47
|
}
|
|
48
48
|
declare const _default: VpsProvider;
|
|
49
49
|
export default _default;
|
|
50
|
+
//# sourceMappingURL=VpsProvider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VpsProvider.d.ts","sourceRoot":"","sources":["../../../../../src/providers/vision/vps/VpsProvider.ts"],"names":[],"mappings":"AAEA,OAAO,EAAiB,MAAM,EAAE,MAAM,eAAe,CAAC;AAOtD,OAAO,QAAQ,MAAM,gBAAgB,CAAC;AAItC,OAAO,oBAAoB,MAAM,wBAAwB,CAAC;AAI1D,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAG3E,MAAM,MAAM,QAAQ,GAAG;IAAE,gBAAgB,EAAE,gBAAgB,CAAC;IAAC,gBAAgB,EAAE,gBAAgB,CAAA;CAAE,CAAC;AAClG,cAAM,WAAY,SAAQ,QAAQ,CAAC,QAAQ,CAAC;IAExC,MAAM,CAAC,6BAA6B,SAAQ;IAC5C,MAAM,CAAC,mCAAmC,SAAe;IACzD,MAAM,CAAC,6CAA6C,SAAO;IAC3D,MAAM,CAAC,uBAAuB,UAAQ;IACtC,MAAM,CAAC,sBAAsB,SAA0D;IACvF,MAAM,CAAC,wBAAwB,6CAAgD;IAE/E,qBAAqB,CAAC,EAAE,oBAAoB,CAAC;IAE7C,YAAY,UAAS;IACrB,YAAY,UAAS;IAErB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAQ;IAC9B,SAAS,EAAE,MAAM,GAAG,IAAI,CAAQ;IAEhC,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAEhC,yBAAyB,SAAmD;IAC5E,iCAAiC,SAA6D;IAC9F,cAAc,UAAuC;IACrD,cAAc,SAAsC;IAEpD,OAAO,eAAe;IAEtB,YAAY,sBAAoC;IAEhD,KAAK;IAsBL,IAAI;IAYJ,iBAAiB,GAAI,YAAY;QAAE,MAAM,EAAE,MAAM,CAAA;KAAE,UAMlD;IAED,gBAAgB,aAQf;IAED,UAAU,CAAC,MAAM,EAAE,MAAM;IAYzB,cAAc,sBAqGb;IAED,aAAa,aAEZ;IAED,IAAI,QAAQ,kBAEX;IAED,IAAI,QAAQ,CAAC,QAAQ,eAAA,EAEpB;IAED,IAAI,wBAAwB,WAE3B;IAED,IAAI,wBAAwB,CAAC,wBAAwB,QAAA,EAEpD;IAED,IAAI,gCAAgC,WAEnC;IAED,IAAI,gCAAgC,CAAC,gCAAgC,QAAA,EAEpE;IAED,IAAI,aAAa,YAEhB;IAED,IAAI,aAAa,CAAC,aAAa,SAAA,EAE9B;IAED,IAAI,aAAa,WAEhB;IAED,IAAI,aAAa,CAAC,aAAa,QAAA,EAE9B;CACJ;;AAED,wBAAiC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { default as VpsMetadata, VpsMetadataJson } from './VpsMetadata
|
|
1
|
+
import { default as VpsMetadata, VpsMetadataJson } from './VpsMetadata';
|
|
2
2
|
export type VpsRequestJson = VpsMetadataJson & {
|
|
3
3
|
image: string;
|
|
4
4
|
};
|
|
@@ -8,11 +8,12 @@ declare class VpsRequest {
|
|
|
8
8
|
constructor(metadata: VpsMetadata, image: HTMLCanvasElement);
|
|
9
9
|
toJson(): {
|
|
10
10
|
size: [number, number];
|
|
11
|
-
calibration?: import('
|
|
12
|
-
coarse?: import('./VpsMetadata
|
|
13
|
-
device?: import('
|
|
11
|
+
calibration?: import('../../../../../camera').Calibration;
|
|
12
|
+
coarse?: import('./VpsMetadata').CoarsePoseJson;
|
|
13
|
+
device?: import('../../../../../utils').Device;
|
|
14
14
|
image: string;
|
|
15
15
|
};
|
|
16
16
|
static fromJson(json: VpsRequestJson): VpsRequest;
|
|
17
17
|
}
|
|
18
18
|
export default VpsRequest;
|
|
19
|
+
//# sourceMappingURL=VpsRequest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VpsRequest.d.ts","sourceRoot":"","sources":["../../../../../src/providers/vision/vps/VpsRequest.ts"],"names":[],"mappings":"AAEA,OAAO,WAAW,EAAE,EAAE,KAAK,eAAe,EAAE,MAAM,eAAe,CAAC;AAElE,MAAM,MAAM,cAAc,GAAG,eAAe,GAAG;IAC3C,KAAK,EAAE,MAAM,CAAA;CAChB,CAAA;AAED,cAAM,UAAU;IACZ,QAAQ,EAAE,WAAW,CAAC;IACtB,KAAK,EAAE,iBAAiB,CAAC;gBAEb,QAAQ,EAAE,WAAW,EAAE,KAAK,EAAE,iBAAiB;IAK3D,MAAM;;;;;;;IAQN,MAAM,CAAC,QAAQ,CAAC,IAAI,EAAE,cAAc;CAMvC;AAED,eAAe,UAAU,CAAC"}
|