camstreamerlib 4.0.0-beta.46 → 4.0.0-beta.47
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.
|
@@ -208,7 +208,8 @@ exports.cameraSettingsSchema = zod_1.z.object({
|
|
|
208
208
|
}),
|
|
209
209
|
});
|
|
210
210
|
exports.serverSettingsSchema = zod_1.z.object({
|
|
211
|
-
cameraCalibration: zod_1.z
|
|
211
|
+
cameraCalibration: zod_1.z
|
|
212
|
+
.object({
|
|
212
213
|
posLat: zod_1.z.number(),
|
|
213
214
|
posLon: zod_1.z.number(),
|
|
214
215
|
geoidHN: zod_1.z.number(),
|
|
@@ -219,6 +220,18 @@ exports.serverSettingsSchema = zod_1.z.object({
|
|
|
219
220
|
tiltTransformationCoefA: zod_1.z.number(),
|
|
220
221
|
tiltCameraKnownPoint: zod_1.z.number(),
|
|
221
222
|
tiltRealKnownPoint: zod_1.z.number(),
|
|
223
|
+
})
|
|
224
|
+
.default({
|
|
225
|
+
posLat: 50,
|
|
226
|
+
posLon: 14,
|
|
227
|
+
geoidHN: 45,
|
|
228
|
+
altitudeAmsl: 372,
|
|
229
|
+
rotationEast: 0,
|
|
230
|
+
rotationNorth: 0,
|
|
231
|
+
rotationUp: 0,
|
|
232
|
+
tiltTransformationCoefA: 1.0,
|
|
233
|
+
tiltCameraKnownPoint: 90,
|
|
234
|
+
tiltRealKnownPoint: 90,
|
|
222
235
|
}),
|
|
223
236
|
});
|
|
224
237
|
exports.trackingModeSchema = zod_1.z.object({
|
|
@@ -205,7 +205,8 @@ export const cameraSettingsSchema = z.object({
|
|
|
205
205
|
}),
|
|
206
206
|
});
|
|
207
207
|
export const serverSettingsSchema = z.object({
|
|
208
|
-
cameraCalibration: z
|
|
208
|
+
cameraCalibration: z
|
|
209
|
+
.object({
|
|
209
210
|
posLat: z.number(),
|
|
210
211
|
posLon: z.number(),
|
|
211
212
|
geoidHN: z.number(),
|
|
@@ -216,6 +217,18 @@ export const serverSettingsSchema = z.object({
|
|
|
216
217
|
tiltTransformationCoefA: z.number(),
|
|
217
218
|
tiltCameraKnownPoint: z.number(),
|
|
218
219
|
tiltRealKnownPoint: z.number(),
|
|
220
|
+
})
|
|
221
|
+
.default({
|
|
222
|
+
posLat: 50,
|
|
223
|
+
posLon: 14,
|
|
224
|
+
geoidHN: 45,
|
|
225
|
+
altitudeAmsl: 372,
|
|
226
|
+
rotationEast: 0,
|
|
227
|
+
rotationNorth: 0,
|
|
228
|
+
rotationUp: 0,
|
|
229
|
+
tiltTransformationCoefA: 1.0,
|
|
230
|
+
tiltCameraKnownPoint: 90,
|
|
231
|
+
tiltRealKnownPoint: 90,
|
|
219
232
|
}),
|
|
220
233
|
});
|
|
221
234
|
export const trackingModeSchema = z.object({
|
package/package.json
CHANGED
|
@@ -603,7 +603,7 @@ export declare const cameraSettingsSchema: z.ZodObject<{
|
|
|
603
603
|
}>;
|
|
604
604
|
export type TCameraSettings = z.infer<typeof cameraSettingsSchema>;
|
|
605
605
|
export declare const serverSettingsSchema: z.ZodObject<{
|
|
606
|
-
cameraCalibration: z.ZodObject<{
|
|
606
|
+
cameraCalibration: z.ZodDefault<z.ZodObject<{
|
|
607
607
|
posLat: z.ZodNumber;
|
|
608
608
|
posLon: z.ZodNumber;
|
|
609
609
|
geoidHN: z.ZodNumber;
|
|
@@ -636,7 +636,7 @@ export declare const serverSettingsSchema: z.ZodObject<{
|
|
|
636
636
|
tiltTransformationCoefA: number;
|
|
637
637
|
tiltCameraKnownPoint: number;
|
|
638
638
|
tiltRealKnownPoint: number;
|
|
639
|
-
}
|
|
639
|
+
}>>;
|
|
640
640
|
}, "strip", z.ZodTypeAny, {
|
|
641
641
|
cameraCalibration: {
|
|
642
642
|
posLat: number;
|
|
@@ -651,7 +651,7 @@ export declare const serverSettingsSchema: z.ZodObject<{
|
|
|
651
651
|
tiltRealKnownPoint: number;
|
|
652
652
|
};
|
|
653
653
|
}, {
|
|
654
|
-
cameraCalibration
|
|
654
|
+
cameraCalibration?: {
|
|
655
655
|
posLat: number;
|
|
656
656
|
posLon: number;
|
|
657
657
|
geoidHN: number;
|
|
@@ -662,7 +662,7 @@ export declare const serverSettingsSchema: z.ZodObject<{
|
|
|
662
662
|
tiltTransformationCoefA: number;
|
|
663
663
|
tiltCameraKnownPoint: number;
|
|
664
664
|
tiltRealKnownPoint: number;
|
|
665
|
-
};
|
|
665
|
+
} | undefined;
|
|
666
666
|
}>;
|
|
667
667
|
export type TServerSettings = z.infer<typeof serverSettingsSchema>;
|
|
668
668
|
export type ICAO = string;
|