@dronedeploy/rocos-js-sdk 3.0.1-alpha.27 → 3.0.1-alpha.28

Sign up to get free protection for your applications and to get access to all the features.
@@ -17,13 +17,21 @@ export interface Target {
17
17
  */
18
18
  data: Record<string, string>;
19
19
  /**
20
- * Position of the target in the 3D space
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
+ * Position of the target in WGS84 coordinates
29
+ */
30
+ position: {
31
+ lat: number;
32
+ lon: number;
33
+ alt: number;
34
+ };
27
35
  /**
28
36
  * Media associated with the target (images)
29
37
  */
@@ -17,13 +17,21 @@ export interface Target {
17
17
  */
18
18
  data: Record<string, string>;
19
19
  /**
20
- * Position of the target in the 3D space
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
+ * Position of the target in WGS84 coordinates
29
+ */
30
+ position: {
31
+ lat: number;
32
+ lon: number;
33
+ alt: number;
34
+ };
27
35
  /**
28
36
  * Media associated with the target (images)
29
37
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dronedeploy/rocos-js-sdk",
3
- "version": "3.0.1-alpha.27",
3
+ "version": "3.0.1-alpha.28",
4
4
  "description": "Javascript SDK for rocos",
5
5
  "main": "cjs/index.js",
6
6
  "module": "esm/index.js",