grm-shared-library 1.1.224 → 1.1.225
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.
|
@@ -197,9 +197,7 @@ export interface FollowMeStartOptions {
|
|
|
197
197
|
distanceFilterMeters: number;
|
|
198
198
|
uploadIntervalSeconds: number;
|
|
199
199
|
};
|
|
200
|
-
crashDetection:
|
|
201
|
-
enabledTransportModes: FollowMeTransportMode[];
|
|
202
|
-
};
|
|
200
|
+
crashDetection: FollowMeCrashDetectionConfig;
|
|
203
201
|
serviceProvider: {
|
|
204
202
|
available: boolean;
|
|
205
203
|
tier: string | null;
|
|
@@ -375,3 +373,22 @@ export interface FollowMeExternalLink {
|
|
|
375
373
|
url: string;
|
|
376
374
|
expiresAt: string;
|
|
377
375
|
}
|
|
376
|
+
/** FOLLOW_ME_CRASH_DETECTION as the app receives it, plus the modes it runs for. */
|
|
377
|
+
export interface FollowMeCrashDetectionConfig {
|
|
378
|
+
sampleRateHz: number;
|
|
379
|
+
impactThresholdG: number;
|
|
380
|
+
impactSustainG: number;
|
|
381
|
+
impactMinDurationMs: number;
|
|
382
|
+
freeFallThresholdG: number;
|
|
383
|
+
freeFallMinDurationMs: number;
|
|
384
|
+
minSpeedBeforeKph: number;
|
|
385
|
+
maxSpeedAfterKph: number;
|
|
386
|
+
speedDropWindowSeconds: number;
|
|
387
|
+
stillnessSeconds: number;
|
|
388
|
+
rotationThresholdRadS: number;
|
|
389
|
+
confidenceThreshold: number;
|
|
390
|
+
serverMinTrackSpeedKph: number;
|
|
391
|
+
serverTrackLookbackSeconds: number;
|
|
392
|
+
evidenceVersion: string;
|
|
393
|
+
enabledTransportModes: FollowMeTransportMode[];
|
|
394
|
+
}
|