camstreamerlib 4.0.22 → 4.0.24
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/cjs/PlaneTrackerAPI.d.ts
CHANGED
|
@@ -165,6 +165,10 @@ export declare class PlaneTrackerAPI<Client extends IClient<TResponse, any>> ext
|
|
|
165
165
|
tiltTransformationCoefA: number;
|
|
166
166
|
tiltCameraKnownPoint: number;
|
|
167
167
|
tiltRealKnownPoint: number;
|
|
168
|
+
calibrationParamA: number;
|
|
169
|
+
calibrationParamB: number;
|
|
170
|
+
calibrationParamC: number;
|
|
171
|
+
calibrationParamD: number;
|
|
168
172
|
panErrorCorrection: {
|
|
169
173
|
cameraPan: number;
|
|
170
174
|
realPan: number;
|
|
@@ -175,11 +179,11 @@ export declare class PlaneTrackerAPI<Client extends IClient<TResponse, any>> ext
|
|
|
175
179
|
importAppSettings(dataType: TImportDataType, formData: Parameters<Client['post']>[0]['data'], options?: THttpRequestOptions): Promise<void>;
|
|
176
180
|
getDomainList(options?: THttpRequestOptions): Promise<Partial<Record<"adsb" | "remoteId", {
|
|
177
181
|
uiName: string;
|
|
178
|
-
icon: "unknown" | "small" | "large" | "heavy" | "helicopter" | "drone" | "operator";
|
|
182
|
+
icon: "unknown" | "small" | "large" | "heavy" | "helicopter" | "drone" | "operator" | "vehicle";
|
|
179
183
|
categoryList: {
|
|
180
184
|
categoryId: string;
|
|
181
185
|
uiName: string;
|
|
182
|
-
icon: "unknown" | "small" | "large" | "heavy" | "helicopter" | "drone" | "operator";
|
|
186
|
+
icon: "unknown" | "small" | "large" | "heavy" | "helicopter" | "drone" | "operator" | "vehicle";
|
|
183
187
|
}[];
|
|
184
188
|
}>>>;
|
|
185
189
|
fetchFlightInfo(targetId: string, options?: THttpRequestOptions): Promise<{
|
|
@@ -706,6 +706,10 @@ export declare const serverSettingsSchema: z.ZodObject<{
|
|
|
706
706
|
tiltTransformationCoefA: z.ZodNumber;
|
|
707
707
|
tiltCameraKnownPoint: z.ZodNumber;
|
|
708
708
|
tiltRealKnownPoint: z.ZodNumber;
|
|
709
|
+
calibrationParamA: z.ZodDefault<z.ZodNumber>;
|
|
710
|
+
calibrationParamB: z.ZodDefault<z.ZodNumber>;
|
|
711
|
+
calibrationParamC: z.ZodDefault<z.ZodNumber>;
|
|
712
|
+
calibrationParamD: z.ZodDefault<z.ZodNumber>;
|
|
709
713
|
panErrorCorrection: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
710
714
|
cameraPan: z.ZodNumber;
|
|
711
715
|
realPan: z.ZodNumber;
|
|
@@ -727,6 +731,10 @@ export declare const serverSettingsSchema: z.ZodObject<{
|
|
|
727
731
|
tiltTransformationCoefA: number;
|
|
728
732
|
tiltCameraKnownPoint: number;
|
|
729
733
|
tiltRealKnownPoint: number;
|
|
734
|
+
calibrationParamA: number;
|
|
735
|
+
calibrationParamB: number;
|
|
736
|
+
calibrationParamC: number;
|
|
737
|
+
calibrationParamD: number;
|
|
730
738
|
panErrorCorrection: {
|
|
731
739
|
cameraPan: number;
|
|
732
740
|
realPan: number;
|
|
@@ -742,6 +750,10 @@ export declare const serverSettingsSchema: z.ZodObject<{
|
|
|
742
750
|
tiltTransformationCoefA: number;
|
|
743
751
|
tiltCameraKnownPoint: number;
|
|
744
752
|
tiltRealKnownPoint: number;
|
|
753
|
+
calibrationParamA?: number | undefined;
|
|
754
|
+
calibrationParamB?: number | undefined;
|
|
755
|
+
calibrationParamC?: number | undefined;
|
|
756
|
+
calibrationParamD?: number | undefined;
|
|
745
757
|
panErrorCorrection?: {
|
|
746
758
|
cameraPan: number;
|
|
747
759
|
realPan: number;
|
|
@@ -759,6 +771,10 @@ export declare const serverSettingsSchema: z.ZodObject<{
|
|
|
759
771
|
tiltTransformationCoefA: number;
|
|
760
772
|
tiltCameraKnownPoint: number;
|
|
761
773
|
tiltRealKnownPoint: number;
|
|
774
|
+
calibrationParamA: number;
|
|
775
|
+
calibrationParamB: number;
|
|
776
|
+
calibrationParamC: number;
|
|
777
|
+
calibrationParamD: number;
|
|
762
778
|
panErrorCorrection: {
|
|
763
779
|
cameraPan: number;
|
|
764
780
|
realPan: number;
|
|
@@ -776,6 +792,10 @@ export declare const serverSettingsSchema: z.ZodObject<{
|
|
|
776
792
|
tiltTransformationCoefA: number;
|
|
777
793
|
tiltCameraKnownPoint: number;
|
|
778
794
|
tiltRealKnownPoint: number;
|
|
795
|
+
calibrationParamA?: number | undefined;
|
|
796
|
+
calibrationParamB?: number | undefined;
|
|
797
|
+
calibrationParamC?: number | undefined;
|
|
798
|
+
calibrationParamD?: number | undefined;
|
|
779
799
|
panErrorCorrection?: {
|
|
780
800
|
cameraPan: number;
|
|
781
801
|
realPan: number;
|
|
@@ -1125,87 +1145,87 @@ export declare const zonesSchema: z.ZodObject<{
|
|
|
1125
1145
|
export type TZones = z.infer<typeof zonesSchema>;
|
|
1126
1146
|
export declare const domainIdSchema: z.ZodEnum<["adsb", "remoteId"]>;
|
|
1127
1147
|
export type TDomainId = z.infer<typeof domainIdSchema>;
|
|
1128
|
-
declare const categoryIconSchema: z.ZodEnum<["small", "large", "heavy", "helicopter", "drone", "operator", "unknown"]>;
|
|
1148
|
+
declare const categoryIconSchema: z.ZodEnum<["small", "large", "heavy", "helicopter", "drone", "operator", "vehicle", "unknown"]>;
|
|
1129
1149
|
export type TCategoryIcon = z.infer<typeof categoryIconSchema>;
|
|
1130
1150
|
declare const categoryDescriptorSchema: z.ZodObject<{
|
|
1131
1151
|
categoryId: z.ZodString;
|
|
1132
1152
|
uiName: z.ZodString;
|
|
1133
|
-
icon: z.ZodEnum<["small", "large", "heavy", "helicopter", "drone", "operator", "unknown"]>;
|
|
1153
|
+
icon: z.ZodEnum<["small", "large", "heavy", "helicopter", "drone", "operator", "vehicle", "unknown"]>;
|
|
1134
1154
|
}, "strip", z.ZodTypeAny, {
|
|
1135
1155
|
categoryId: string;
|
|
1136
1156
|
uiName: string;
|
|
1137
|
-
icon: "unknown" | "small" | "large" | "heavy" | "helicopter" | "drone" | "operator";
|
|
1157
|
+
icon: "unknown" | "small" | "large" | "heavy" | "helicopter" | "drone" | "operator" | "vehicle";
|
|
1138
1158
|
}, {
|
|
1139
1159
|
categoryId: string;
|
|
1140
1160
|
uiName: string;
|
|
1141
|
-
icon: "unknown" | "small" | "large" | "heavy" | "helicopter" | "drone" | "operator";
|
|
1161
|
+
icon: "unknown" | "small" | "large" | "heavy" | "helicopter" | "drone" | "operator" | "vehicle";
|
|
1142
1162
|
}>;
|
|
1143
1163
|
export type TCategoryDescriptor = z.infer<typeof categoryDescriptorSchema>;
|
|
1144
1164
|
declare const domainDescriptorSchema: z.ZodObject<{
|
|
1145
1165
|
uiName: z.ZodString;
|
|
1146
|
-
icon: z.ZodEnum<["small", "large", "heavy", "helicopter", "drone", "operator", "unknown"]>;
|
|
1166
|
+
icon: z.ZodEnum<["small", "large", "heavy", "helicopter", "drone", "operator", "vehicle", "unknown"]>;
|
|
1147
1167
|
categoryList: z.ZodArray<z.ZodObject<{
|
|
1148
1168
|
categoryId: z.ZodString;
|
|
1149
1169
|
uiName: z.ZodString;
|
|
1150
|
-
icon: z.ZodEnum<["small", "large", "heavy", "helicopter", "drone", "operator", "unknown"]>;
|
|
1170
|
+
icon: z.ZodEnum<["small", "large", "heavy", "helicopter", "drone", "operator", "vehicle", "unknown"]>;
|
|
1151
1171
|
}, "strip", z.ZodTypeAny, {
|
|
1152
1172
|
categoryId: string;
|
|
1153
1173
|
uiName: string;
|
|
1154
|
-
icon: "unknown" | "small" | "large" | "heavy" | "helicopter" | "drone" | "operator";
|
|
1174
|
+
icon: "unknown" | "small" | "large" | "heavy" | "helicopter" | "drone" | "operator" | "vehicle";
|
|
1155
1175
|
}, {
|
|
1156
1176
|
categoryId: string;
|
|
1157
1177
|
uiName: string;
|
|
1158
|
-
icon: "unknown" | "small" | "large" | "heavy" | "helicopter" | "drone" | "operator";
|
|
1178
|
+
icon: "unknown" | "small" | "large" | "heavy" | "helicopter" | "drone" | "operator" | "vehicle";
|
|
1159
1179
|
}>, "many">;
|
|
1160
1180
|
}, "strip", z.ZodTypeAny, {
|
|
1161
1181
|
uiName: string;
|
|
1162
|
-
icon: "unknown" | "small" | "large" | "heavy" | "helicopter" | "drone" | "operator";
|
|
1182
|
+
icon: "unknown" | "small" | "large" | "heavy" | "helicopter" | "drone" | "operator" | "vehicle";
|
|
1163
1183
|
categoryList: {
|
|
1164
1184
|
categoryId: string;
|
|
1165
1185
|
uiName: string;
|
|
1166
|
-
icon: "unknown" | "small" | "large" | "heavy" | "helicopter" | "drone" | "operator";
|
|
1186
|
+
icon: "unknown" | "small" | "large" | "heavy" | "helicopter" | "drone" | "operator" | "vehicle";
|
|
1167
1187
|
}[];
|
|
1168
1188
|
}, {
|
|
1169
1189
|
uiName: string;
|
|
1170
|
-
icon: "unknown" | "small" | "large" | "heavy" | "helicopter" | "drone" | "operator";
|
|
1190
|
+
icon: "unknown" | "small" | "large" | "heavy" | "helicopter" | "drone" | "operator" | "vehicle";
|
|
1171
1191
|
categoryList: {
|
|
1172
1192
|
categoryId: string;
|
|
1173
1193
|
uiName: string;
|
|
1174
|
-
icon: "unknown" | "small" | "large" | "heavy" | "helicopter" | "drone" | "operator";
|
|
1194
|
+
icon: "unknown" | "small" | "large" | "heavy" | "helicopter" | "drone" | "operator" | "vehicle";
|
|
1175
1195
|
}[];
|
|
1176
1196
|
}>;
|
|
1177
1197
|
export type TDomainDescriptor = z.infer<typeof domainDescriptorSchema>;
|
|
1178
1198
|
export declare const domainListSchema: z.ZodRecord<z.ZodEnum<["adsb", "remoteId"]>, z.ZodObject<{
|
|
1179
1199
|
uiName: z.ZodString;
|
|
1180
|
-
icon: z.ZodEnum<["small", "large", "heavy", "helicopter", "drone", "operator", "unknown"]>;
|
|
1200
|
+
icon: z.ZodEnum<["small", "large", "heavy", "helicopter", "drone", "operator", "vehicle", "unknown"]>;
|
|
1181
1201
|
categoryList: z.ZodArray<z.ZodObject<{
|
|
1182
1202
|
categoryId: z.ZodString;
|
|
1183
1203
|
uiName: z.ZodString;
|
|
1184
|
-
icon: z.ZodEnum<["small", "large", "heavy", "helicopter", "drone", "operator", "unknown"]>;
|
|
1204
|
+
icon: z.ZodEnum<["small", "large", "heavy", "helicopter", "drone", "operator", "vehicle", "unknown"]>;
|
|
1185
1205
|
}, "strip", z.ZodTypeAny, {
|
|
1186
1206
|
categoryId: string;
|
|
1187
1207
|
uiName: string;
|
|
1188
|
-
icon: "unknown" | "small" | "large" | "heavy" | "helicopter" | "drone" | "operator";
|
|
1208
|
+
icon: "unknown" | "small" | "large" | "heavy" | "helicopter" | "drone" | "operator" | "vehicle";
|
|
1189
1209
|
}, {
|
|
1190
1210
|
categoryId: string;
|
|
1191
1211
|
uiName: string;
|
|
1192
|
-
icon: "unknown" | "small" | "large" | "heavy" | "helicopter" | "drone" | "operator";
|
|
1212
|
+
icon: "unknown" | "small" | "large" | "heavy" | "helicopter" | "drone" | "operator" | "vehicle";
|
|
1193
1213
|
}>, "many">;
|
|
1194
1214
|
}, "strip", z.ZodTypeAny, {
|
|
1195
1215
|
uiName: string;
|
|
1196
|
-
icon: "unknown" | "small" | "large" | "heavy" | "helicopter" | "drone" | "operator";
|
|
1216
|
+
icon: "unknown" | "small" | "large" | "heavy" | "helicopter" | "drone" | "operator" | "vehicle";
|
|
1197
1217
|
categoryList: {
|
|
1198
1218
|
categoryId: string;
|
|
1199
1219
|
uiName: string;
|
|
1200
|
-
icon: "unknown" | "small" | "large" | "heavy" | "helicopter" | "drone" | "operator";
|
|
1220
|
+
icon: "unknown" | "small" | "large" | "heavy" | "helicopter" | "drone" | "operator" | "vehicle";
|
|
1201
1221
|
}[];
|
|
1202
1222
|
}, {
|
|
1203
1223
|
uiName: string;
|
|
1204
|
-
icon: "unknown" | "small" | "large" | "heavy" | "helicopter" | "drone" | "operator";
|
|
1224
|
+
icon: "unknown" | "small" | "large" | "heavy" | "helicopter" | "drone" | "operator" | "vehicle";
|
|
1205
1225
|
categoryList: {
|
|
1206
1226
|
categoryId: string;
|
|
1207
1227
|
uiName: string;
|
|
1208
|
-
icon: "unknown" | "small" | "large" | "heavy" | "helicopter" | "drone" | "operator";
|
|
1228
|
+
icon: "unknown" | "small" | "large" | "heavy" | "helicopter" | "drone" | "operator" | "vehicle";
|
|
1209
1229
|
}[];
|
|
1210
1230
|
}>>;
|
|
1211
1231
|
export type TDomainList = z.infer<typeof domainListSchema>;
|
|
@@ -261,6 +261,10 @@ exports.serverSettingsSchema = zod_1.z.object({
|
|
|
261
261
|
tiltTransformationCoefA: zod_1.z.number(),
|
|
262
262
|
tiltCameraKnownPoint: zod_1.z.number(),
|
|
263
263
|
tiltRealKnownPoint: zod_1.z.number(),
|
|
264
|
+
calibrationParamA: zod_1.z.number().default(0),
|
|
265
|
+
calibrationParamB: zod_1.z.number().default(0),
|
|
266
|
+
calibrationParamC: zod_1.z.number().default(0),
|
|
267
|
+
calibrationParamD: zod_1.z.number().default(0),
|
|
264
268
|
panErrorCorrection: zod_1.z
|
|
265
269
|
.array(zod_1.z.object({
|
|
266
270
|
cameraPan: zod_1.z.number(),
|
|
@@ -279,6 +283,10 @@ exports.serverSettingsSchema = zod_1.z.object({
|
|
|
279
283
|
tiltTransformationCoefA: 1.0,
|
|
280
284
|
tiltCameraKnownPoint: 90,
|
|
281
285
|
tiltRealKnownPoint: 90,
|
|
286
|
+
calibrationParamA: 0,
|
|
287
|
+
calibrationParamB: 0,
|
|
288
|
+
calibrationParamC: 0,
|
|
289
|
+
calibrationParamD: 0,
|
|
282
290
|
panErrorCorrection: [],
|
|
283
291
|
}),
|
|
284
292
|
});
|
|
@@ -361,7 +369,7 @@ exports.zonesSchema = zod_1.z.object({
|
|
|
361
369
|
.default([]),
|
|
362
370
|
});
|
|
363
371
|
exports.domainIdSchema = zod_1.z.enum(['adsb', 'remoteId']);
|
|
364
|
-
const categoryIconSchema = zod_1.z.enum(['small', 'large', 'heavy', 'helicopter', 'drone', 'operator', 'unknown']);
|
|
372
|
+
const categoryIconSchema = zod_1.z.enum(['small', 'large', 'heavy', 'helicopter', 'drone', 'operator', 'vehicle', 'unknown']);
|
|
365
373
|
const categoryDescriptorSchema = zod_1.z.object({
|
|
366
374
|
categoryId: zod_1.z.string(),
|
|
367
375
|
uiName: zod_1.z.string(),
|
|
@@ -258,6 +258,10 @@ export const serverSettingsSchema = z.object({
|
|
|
258
258
|
tiltTransformationCoefA: z.number(),
|
|
259
259
|
tiltCameraKnownPoint: z.number(),
|
|
260
260
|
tiltRealKnownPoint: z.number(),
|
|
261
|
+
calibrationParamA: z.number().default(0),
|
|
262
|
+
calibrationParamB: z.number().default(0),
|
|
263
|
+
calibrationParamC: z.number().default(0),
|
|
264
|
+
calibrationParamD: z.number().default(0),
|
|
261
265
|
panErrorCorrection: z
|
|
262
266
|
.array(z.object({
|
|
263
267
|
cameraPan: z.number(),
|
|
@@ -276,6 +280,10 @@ export const serverSettingsSchema = z.object({
|
|
|
276
280
|
tiltTransformationCoefA: 1.0,
|
|
277
281
|
tiltCameraKnownPoint: 90,
|
|
278
282
|
tiltRealKnownPoint: 90,
|
|
283
|
+
calibrationParamA: 0,
|
|
284
|
+
calibrationParamB: 0,
|
|
285
|
+
calibrationParamC: 0,
|
|
286
|
+
calibrationParamD: 0,
|
|
279
287
|
panErrorCorrection: [],
|
|
280
288
|
}),
|
|
281
289
|
});
|
|
@@ -358,7 +366,7 @@ export const zonesSchema = z.object({
|
|
|
358
366
|
.default([]),
|
|
359
367
|
});
|
|
360
368
|
export const domainIdSchema = z.enum(['adsb', 'remoteId']);
|
|
361
|
-
const categoryIconSchema = z.enum(['small', 'large', 'heavy', 'helicopter', 'drone', 'operator', 'unknown']);
|
|
369
|
+
const categoryIconSchema = z.enum(['small', 'large', 'heavy', 'helicopter', 'drone', 'operator', 'vehicle', 'unknown']);
|
|
362
370
|
const categoryDescriptorSchema = z.object({
|
|
363
371
|
categoryId: z.string(),
|
|
364
372
|
uiName: z.string(),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "camstreamerlib",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.24",
|
|
4
4
|
"description": "Helper library for CamStreamer ACAP applications.",
|
|
5
5
|
"prettier": "@camstreamer/prettier-config",
|
|
6
6
|
"engine": {
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"eventemitter2": "^5.0.1",
|
|
12
12
|
"fast-xml-parser": "^5.3.6",
|
|
13
13
|
"type-fest": "^4.41.0",
|
|
14
|
-
"undici": "^6.
|
|
14
|
+
"undici": "^6.27.0",
|
|
15
15
|
"ws": "^8.18.0",
|
|
16
16
|
"zod": "^3.25.76"
|
|
17
17
|
},
|
|
@@ -165,6 +165,10 @@ export declare class PlaneTrackerAPI<Client extends IClient<TResponse, any>> ext
|
|
|
165
165
|
tiltTransformationCoefA: number;
|
|
166
166
|
tiltCameraKnownPoint: number;
|
|
167
167
|
tiltRealKnownPoint: number;
|
|
168
|
+
calibrationParamA: number;
|
|
169
|
+
calibrationParamB: number;
|
|
170
|
+
calibrationParamC: number;
|
|
171
|
+
calibrationParamD: number;
|
|
168
172
|
panErrorCorrection: {
|
|
169
173
|
cameraPan: number;
|
|
170
174
|
realPan: number;
|
|
@@ -175,11 +179,11 @@ export declare class PlaneTrackerAPI<Client extends IClient<TResponse, any>> ext
|
|
|
175
179
|
importAppSettings(dataType: TImportDataType, formData: Parameters<Client['post']>[0]['data'], options?: THttpRequestOptions): Promise<void>;
|
|
176
180
|
getDomainList(options?: THttpRequestOptions): Promise<Partial<Record<"adsb" | "remoteId", {
|
|
177
181
|
uiName: string;
|
|
178
|
-
icon: "unknown" | "small" | "large" | "heavy" | "helicopter" | "drone" | "operator";
|
|
182
|
+
icon: "unknown" | "small" | "large" | "heavy" | "helicopter" | "drone" | "operator" | "vehicle";
|
|
179
183
|
categoryList: {
|
|
180
184
|
categoryId: string;
|
|
181
185
|
uiName: string;
|
|
182
|
-
icon: "unknown" | "small" | "large" | "heavy" | "helicopter" | "drone" | "operator";
|
|
186
|
+
icon: "unknown" | "small" | "large" | "heavy" | "helicopter" | "drone" | "operator" | "vehicle";
|
|
183
187
|
}[];
|
|
184
188
|
}>>>;
|
|
185
189
|
fetchFlightInfo(targetId: string, options?: THttpRequestOptions): Promise<{
|
|
@@ -706,6 +706,10 @@ export declare const serverSettingsSchema: z.ZodObject<{
|
|
|
706
706
|
tiltTransformationCoefA: z.ZodNumber;
|
|
707
707
|
tiltCameraKnownPoint: z.ZodNumber;
|
|
708
708
|
tiltRealKnownPoint: z.ZodNumber;
|
|
709
|
+
calibrationParamA: z.ZodDefault<z.ZodNumber>;
|
|
710
|
+
calibrationParamB: z.ZodDefault<z.ZodNumber>;
|
|
711
|
+
calibrationParamC: z.ZodDefault<z.ZodNumber>;
|
|
712
|
+
calibrationParamD: z.ZodDefault<z.ZodNumber>;
|
|
709
713
|
panErrorCorrection: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
710
714
|
cameraPan: z.ZodNumber;
|
|
711
715
|
realPan: z.ZodNumber;
|
|
@@ -727,6 +731,10 @@ export declare const serverSettingsSchema: z.ZodObject<{
|
|
|
727
731
|
tiltTransformationCoefA: number;
|
|
728
732
|
tiltCameraKnownPoint: number;
|
|
729
733
|
tiltRealKnownPoint: number;
|
|
734
|
+
calibrationParamA: number;
|
|
735
|
+
calibrationParamB: number;
|
|
736
|
+
calibrationParamC: number;
|
|
737
|
+
calibrationParamD: number;
|
|
730
738
|
panErrorCorrection: {
|
|
731
739
|
cameraPan: number;
|
|
732
740
|
realPan: number;
|
|
@@ -742,6 +750,10 @@ export declare const serverSettingsSchema: z.ZodObject<{
|
|
|
742
750
|
tiltTransformationCoefA: number;
|
|
743
751
|
tiltCameraKnownPoint: number;
|
|
744
752
|
tiltRealKnownPoint: number;
|
|
753
|
+
calibrationParamA?: number | undefined;
|
|
754
|
+
calibrationParamB?: number | undefined;
|
|
755
|
+
calibrationParamC?: number | undefined;
|
|
756
|
+
calibrationParamD?: number | undefined;
|
|
745
757
|
panErrorCorrection?: {
|
|
746
758
|
cameraPan: number;
|
|
747
759
|
realPan: number;
|
|
@@ -759,6 +771,10 @@ export declare const serverSettingsSchema: z.ZodObject<{
|
|
|
759
771
|
tiltTransformationCoefA: number;
|
|
760
772
|
tiltCameraKnownPoint: number;
|
|
761
773
|
tiltRealKnownPoint: number;
|
|
774
|
+
calibrationParamA: number;
|
|
775
|
+
calibrationParamB: number;
|
|
776
|
+
calibrationParamC: number;
|
|
777
|
+
calibrationParamD: number;
|
|
762
778
|
panErrorCorrection: {
|
|
763
779
|
cameraPan: number;
|
|
764
780
|
realPan: number;
|
|
@@ -776,6 +792,10 @@ export declare const serverSettingsSchema: z.ZodObject<{
|
|
|
776
792
|
tiltTransformationCoefA: number;
|
|
777
793
|
tiltCameraKnownPoint: number;
|
|
778
794
|
tiltRealKnownPoint: number;
|
|
795
|
+
calibrationParamA?: number | undefined;
|
|
796
|
+
calibrationParamB?: number | undefined;
|
|
797
|
+
calibrationParamC?: number | undefined;
|
|
798
|
+
calibrationParamD?: number | undefined;
|
|
779
799
|
panErrorCorrection?: {
|
|
780
800
|
cameraPan: number;
|
|
781
801
|
realPan: number;
|
|
@@ -1125,87 +1145,87 @@ export declare const zonesSchema: z.ZodObject<{
|
|
|
1125
1145
|
export type TZones = z.infer<typeof zonesSchema>;
|
|
1126
1146
|
export declare const domainIdSchema: z.ZodEnum<["adsb", "remoteId"]>;
|
|
1127
1147
|
export type TDomainId = z.infer<typeof domainIdSchema>;
|
|
1128
|
-
declare const categoryIconSchema: z.ZodEnum<["small", "large", "heavy", "helicopter", "drone", "operator", "unknown"]>;
|
|
1148
|
+
declare const categoryIconSchema: z.ZodEnum<["small", "large", "heavy", "helicopter", "drone", "operator", "vehicle", "unknown"]>;
|
|
1129
1149
|
export type TCategoryIcon = z.infer<typeof categoryIconSchema>;
|
|
1130
1150
|
declare const categoryDescriptorSchema: z.ZodObject<{
|
|
1131
1151
|
categoryId: z.ZodString;
|
|
1132
1152
|
uiName: z.ZodString;
|
|
1133
|
-
icon: z.ZodEnum<["small", "large", "heavy", "helicopter", "drone", "operator", "unknown"]>;
|
|
1153
|
+
icon: z.ZodEnum<["small", "large", "heavy", "helicopter", "drone", "operator", "vehicle", "unknown"]>;
|
|
1134
1154
|
}, "strip", z.ZodTypeAny, {
|
|
1135
1155
|
categoryId: string;
|
|
1136
1156
|
uiName: string;
|
|
1137
|
-
icon: "unknown" | "small" | "large" | "heavy" | "helicopter" | "drone" | "operator";
|
|
1157
|
+
icon: "unknown" | "small" | "large" | "heavy" | "helicopter" | "drone" | "operator" | "vehicle";
|
|
1138
1158
|
}, {
|
|
1139
1159
|
categoryId: string;
|
|
1140
1160
|
uiName: string;
|
|
1141
|
-
icon: "unknown" | "small" | "large" | "heavy" | "helicopter" | "drone" | "operator";
|
|
1161
|
+
icon: "unknown" | "small" | "large" | "heavy" | "helicopter" | "drone" | "operator" | "vehicle";
|
|
1142
1162
|
}>;
|
|
1143
1163
|
export type TCategoryDescriptor = z.infer<typeof categoryDescriptorSchema>;
|
|
1144
1164
|
declare const domainDescriptorSchema: z.ZodObject<{
|
|
1145
1165
|
uiName: z.ZodString;
|
|
1146
|
-
icon: z.ZodEnum<["small", "large", "heavy", "helicopter", "drone", "operator", "unknown"]>;
|
|
1166
|
+
icon: z.ZodEnum<["small", "large", "heavy", "helicopter", "drone", "operator", "vehicle", "unknown"]>;
|
|
1147
1167
|
categoryList: z.ZodArray<z.ZodObject<{
|
|
1148
1168
|
categoryId: z.ZodString;
|
|
1149
1169
|
uiName: z.ZodString;
|
|
1150
|
-
icon: z.ZodEnum<["small", "large", "heavy", "helicopter", "drone", "operator", "unknown"]>;
|
|
1170
|
+
icon: z.ZodEnum<["small", "large", "heavy", "helicopter", "drone", "operator", "vehicle", "unknown"]>;
|
|
1151
1171
|
}, "strip", z.ZodTypeAny, {
|
|
1152
1172
|
categoryId: string;
|
|
1153
1173
|
uiName: string;
|
|
1154
|
-
icon: "unknown" | "small" | "large" | "heavy" | "helicopter" | "drone" | "operator";
|
|
1174
|
+
icon: "unknown" | "small" | "large" | "heavy" | "helicopter" | "drone" | "operator" | "vehicle";
|
|
1155
1175
|
}, {
|
|
1156
1176
|
categoryId: string;
|
|
1157
1177
|
uiName: string;
|
|
1158
|
-
icon: "unknown" | "small" | "large" | "heavy" | "helicopter" | "drone" | "operator";
|
|
1178
|
+
icon: "unknown" | "small" | "large" | "heavy" | "helicopter" | "drone" | "operator" | "vehicle";
|
|
1159
1179
|
}>, "many">;
|
|
1160
1180
|
}, "strip", z.ZodTypeAny, {
|
|
1161
1181
|
uiName: string;
|
|
1162
|
-
icon: "unknown" | "small" | "large" | "heavy" | "helicopter" | "drone" | "operator";
|
|
1182
|
+
icon: "unknown" | "small" | "large" | "heavy" | "helicopter" | "drone" | "operator" | "vehicle";
|
|
1163
1183
|
categoryList: {
|
|
1164
1184
|
categoryId: string;
|
|
1165
1185
|
uiName: string;
|
|
1166
|
-
icon: "unknown" | "small" | "large" | "heavy" | "helicopter" | "drone" | "operator";
|
|
1186
|
+
icon: "unknown" | "small" | "large" | "heavy" | "helicopter" | "drone" | "operator" | "vehicle";
|
|
1167
1187
|
}[];
|
|
1168
1188
|
}, {
|
|
1169
1189
|
uiName: string;
|
|
1170
|
-
icon: "unknown" | "small" | "large" | "heavy" | "helicopter" | "drone" | "operator";
|
|
1190
|
+
icon: "unknown" | "small" | "large" | "heavy" | "helicopter" | "drone" | "operator" | "vehicle";
|
|
1171
1191
|
categoryList: {
|
|
1172
1192
|
categoryId: string;
|
|
1173
1193
|
uiName: string;
|
|
1174
|
-
icon: "unknown" | "small" | "large" | "heavy" | "helicopter" | "drone" | "operator";
|
|
1194
|
+
icon: "unknown" | "small" | "large" | "heavy" | "helicopter" | "drone" | "operator" | "vehicle";
|
|
1175
1195
|
}[];
|
|
1176
1196
|
}>;
|
|
1177
1197
|
export type TDomainDescriptor = z.infer<typeof domainDescriptorSchema>;
|
|
1178
1198
|
export declare const domainListSchema: z.ZodRecord<z.ZodEnum<["adsb", "remoteId"]>, z.ZodObject<{
|
|
1179
1199
|
uiName: z.ZodString;
|
|
1180
|
-
icon: z.ZodEnum<["small", "large", "heavy", "helicopter", "drone", "operator", "unknown"]>;
|
|
1200
|
+
icon: z.ZodEnum<["small", "large", "heavy", "helicopter", "drone", "operator", "vehicle", "unknown"]>;
|
|
1181
1201
|
categoryList: z.ZodArray<z.ZodObject<{
|
|
1182
1202
|
categoryId: z.ZodString;
|
|
1183
1203
|
uiName: z.ZodString;
|
|
1184
|
-
icon: z.ZodEnum<["small", "large", "heavy", "helicopter", "drone", "operator", "unknown"]>;
|
|
1204
|
+
icon: z.ZodEnum<["small", "large", "heavy", "helicopter", "drone", "operator", "vehicle", "unknown"]>;
|
|
1185
1205
|
}, "strip", z.ZodTypeAny, {
|
|
1186
1206
|
categoryId: string;
|
|
1187
1207
|
uiName: string;
|
|
1188
|
-
icon: "unknown" | "small" | "large" | "heavy" | "helicopter" | "drone" | "operator";
|
|
1208
|
+
icon: "unknown" | "small" | "large" | "heavy" | "helicopter" | "drone" | "operator" | "vehicle";
|
|
1189
1209
|
}, {
|
|
1190
1210
|
categoryId: string;
|
|
1191
1211
|
uiName: string;
|
|
1192
|
-
icon: "unknown" | "small" | "large" | "heavy" | "helicopter" | "drone" | "operator";
|
|
1212
|
+
icon: "unknown" | "small" | "large" | "heavy" | "helicopter" | "drone" | "operator" | "vehicle";
|
|
1193
1213
|
}>, "many">;
|
|
1194
1214
|
}, "strip", z.ZodTypeAny, {
|
|
1195
1215
|
uiName: string;
|
|
1196
|
-
icon: "unknown" | "small" | "large" | "heavy" | "helicopter" | "drone" | "operator";
|
|
1216
|
+
icon: "unknown" | "small" | "large" | "heavy" | "helicopter" | "drone" | "operator" | "vehicle";
|
|
1197
1217
|
categoryList: {
|
|
1198
1218
|
categoryId: string;
|
|
1199
1219
|
uiName: string;
|
|
1200
|
-
icon: "unknown" | "small" | "large" | "heavy" | "helicopter" | "drone" | "operator";
|
|
1220
|
+
icon: "unknown" | "small" | "large" | "heavy" | "helicopter" | "drone" | "operator" | "vehicle";
|
|
1201
1221
|
}[];
|
|
1202
1222
|
}, {
|
|
1203
1223
|
uiName: string;
|
|
1204
|
-
icon: "unknown" | "small" | "large" | "heavy" | "helicopter" | "drone" | "operator";
|
|
1224
|
+
icon: "unknown" | "small" | "large" | "heavy" | "helicopter" | "drone" | "operator" | "vehicle";
|
|
1205
1225
|
categoryList: {
|
|
1206
1226
|
categoryId: string;
|
|
1207
1227
|
uiName: string;
|
|
1208
|
-
icon: "unknown" | "small" | "large" | "heavy" | "helicopter" | "drone" | "operator";
|
|
1228
|
+
icon: "unknown" | "small" | "large" | "heavy" | "helicopter" | "drone" | "operator" | "vehicle";
|
|
1209
1229
|
}[];
|
|
1210
1230
|
}>>;
|
|
1211
1231
|
export type TDomainList = z.infer<typeof domainListSchema>;
|