@dronedeploy/rocos-js-sdk 3.0.1-alpha.26 → 3.0.1-alpha.28
Sign up to get free protection for your applications and to get access to all the features.
@@ -17,22 +17,28 @@ export interface Target {
|
|
17
17
|
*/
|
18
18
|
data: Record<string, string>;
|
19
19
|
/**
|
20
|
-
*
|
20
|
+
* Translation of the target in the 3D space
|
21
21
|
*/
|
22
22
|
translation: Vector3;
|
23
23
|
/**
|
24
24
|
* Rotation of the target in the 3D space
|
25
25
|
*/
|
26
26
|
rotation: Quaternion;
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
27
|
+
/**
|
28
|
+
* Position of the target in WGS84 coordinates
|
29
|
+
*/
|
30
|
+
position: {
|
31
|
+
lat: number;
|
32
|
+
lon: number;
|
33
|
+
alt: number;
|
34
|
+
};
|
33
35
|
/**
|
34
36
|
* Media associated with the target (images)
|
35
37
|
*/
|
36
|
-
media
|
38
|
+
media?: TargetMedia[];
|
37
39
|
}
|
40
|
+
type TargetMedia = {
|
41
|
+
id: string;
|
42
|
+
data: Record<string, string>;
|
43
|
+
};
|
38
44
|
export {};
|
@@ -17,22 +17,28 @@ export interface Target {
|
|
17
17
|
*/
|
18
18
|
data: Record<string, string>;
|
19
19
|
/**
|
20
|
-
*
|
20
|
+
* Translation of the target in the 3D space
|
21
21
|
*/
|
22
22
|
translation: Vector3;
|
23
23
|
/**
|
24
24
|
* Rotation of the target in the 3D space
|
25
25
|
*/
|
26
26
|
rotation: Quaternion;
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
27
|
+
/**
|
28
|
+
* Position of the target in WGS84 coordinates
|
29
|
+
*/
|
30
|
+
position: {
|
31
|
+
lat: number;
|
32
|
+
lon: number;
|
33
|
+
alt: number;
|
34
|
+
};
|
33
35
|
/**
|
34
36
|
* Media associated with the target (images)
|
35
37
|
*/
|
36
|
-
media
|
38
|
+
media?: TargetMedia[];
|
37
39
|
}
|
40
|
+
type TargetMedia = {
|
41
|
+
id: string;
|
42
|
+
data: Record<string, string>;
|
43
|
+
};
|
38
44
|
export {};
|