@viamrobotics/sdk 0.66.0 → 0.66.1
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/dist/api-version.d.ts +1 -1
- package/dist/gen/app/datasync/v1/data_sync_pb.d.ts +7 -1
- package/dist/gen/component/camera/v1/camera_connect.d.ts +1 -1
- package/dist/gen/component/camera/v1/camera_pb.d.ts +45 -1
- package/dist/main.es.js +3591 -3587
- package/dist/main.umd.js +7 -7
- package/package.json +1 -1
package/dist/api-version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const apiVersion = "v0.1.
|
|
1
|
+
export declare const apiVersion = "v0.1.523";
|
|
@@ -286,7 +286,8 @@ export declare class SensorMetadata extends Message<SensorMetadata> {
|
|
|
286
286
|
timeReceived?: Timestamp;
|
|
287
287
|
|
|
288
288
|
/**
|
|
289
|
-
* @generated from field: viam.app.datasync.v1.MimeType mime_type = 3;
|
|
289
|
+
* @generated from field: viam.app.datasync.v1.MimeType mime_type = 3 [deprecated = true];
|
|
290
|
+
* @deprecated
|
|
290
291
|
*/
|
|
291
292
|
mimeType: MimeType;
|
|
292
293
|
|
|
@@ -537,6 +538,11 @@ export declare class DataCaptureMetadata extends Message<DataCaptureMetadata> {
|
|
|
537
538
|
*/
|
|
538
539
|
tags: string[];
|
|
539
540
|
|
|
541
|
+
/**
|
|
542
|
+
* @generated from field: string mime_type = 10;
|
|
543
|
+
*/
|
|
544
|
+
mimeType: string;
|
|
545
|
+
|
|
540
546
|
constructor(data?: PartialMessage<DataCaptureMetadata>);
|
|
541
547
|
|
|
542
548
|
static readonly runtime: typeof proto3;
|
|
@@ -62,7 +62,7 @@ export declare const CameraService: {
|
|
|
62
62
|
readonly kind: MethodKind.Unary,
|
|
63
63
|
},
|
|
64
64
|
/**
|
|
65
|
-
* GetProperties returns the camera intrinsic parameters
|
|
65
|
+
* GetProperties returns the camera intrinsic parameters, camera distortion parameters, and extrinsic parameters from a camera of the underlying robot, if available.
|
|
66
66
|
*
|
|
67
67
|
* @generated from rpc viam.component.camera.v1.CameraService.GetProperties
|
|
68
68
|
*/
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage, Struct } from "@bufbuild/protobuf";
|
|
7
7
|
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
8
|
-
import type { ResponseMetadata } from "../../../common/v1/common_pb.js";
|
|
8
|
+
import type { Orientation, ResponseMetadata, Vector3 } from "../../../common/v1/common_pb.js";
|
|
9
9
|
import type { Annotations } from "../../../app/data/v1/data_pb.js";
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -421,6 +421,14 @@ export declare class GetPropertiesResponse extends Message<GetPropertiesResponse
|
|
|
421
421
|
*/
|
|
422
422
|
frameRate?: number;
|
|
423
423
|
|
|
424
|
+
/**
|
|
425
|
+
* Parameters for the camera's position relative to a reference frame
|
|
426
|
+
* If camera does not provide extrinsic parameters, leave the field empty
|
|
427
|
+
*
|
|
428
|
+
* @generated from field: viam.component.camera.v1.ExtrinsicParameters extrinsic_parameters = 6;
|
|
429
|
+
*/
|
|
430
|
+
extrinsicParameters?: ExtrinsicParameters;
|
|
431
|
+
|
|
424
432
|
constructor(data?: PartialMessage<GetPropertiesResponse>);
|
|
425
433
|
|
|
426
434
|
static readonly runtime: typeof proto3;
|
|
@@ -639,3 +647,39 @@ export declare class DistortionParameters extends Message<DistortionParameters>
|
|
|
639
647
|
static equals(a: DistortionParameters | PlainMessage<DistortionParameters> | undefined, b: DistortionParameters | PlainMessage<DistortionParameters> | undefined): boolean;
|
|
640
648
|
}
|
|
641
649
|
|
|
650
|
+
/**
|
|
651
|
+
* ExtrinsicParameters define the position of the camera
|
|
652
|
+
* relative to a reference frame (the world or another sensor).
|
|
653
|
+
*
|
|
654
|
+
* @generated from message viam.component.camera.v1.ExtrinsicParameters
|
|
655
|
+
*/
|
|
656
|
+
export declare class ExtrinsicParameters extends Message<ExtrinsicParameters> {
|
|
657
|
+
/**
|
|
658
|
+
* The translation from the reference frame to the camera.
|
|
659
|
+
*
|
|
660
|
+
* @generated from field: viam.common.v1.Vector3 translation = 1;
|
|
661
|
+
*/
|
|
662
|
+
translation?: Vector3;
|
|
663
|
+
|
|
664
|
+
/**
|
|
665
|
+
* The orientation from the reference frame to the camera.
|
|
666
|
+
*
|
|
667
|
+
* @generated from field: viam.common.v1.Orientation orientation = 2;
|
|
668
|
+
*/
|
|
669
|
+
orientation?: Orientation;
|
|
670
|
+
|
|
671
|
+
constructor(data?: PartialMessage<ExtrinsicParameters>);
|
|
672
|
+
|
|
673
|
+
static readonly runtime: typeof proto3;
|
|
674
|
+
static readonly typeName = "viam.component.camera.v1.ExtrinsicParameters";
|
|
675
|
+
static readonly fields: FieldList;
|
|
676
|
+
|
|
677
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ExtrinsicParameters;
|
|
678
|
+
|
|
679
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ExtrinsicParameters;
|
|
680
|
+
|
|
681
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ExtrinsicParameters;
|
|
682
|
+
|
|
683
|
+
static equals(a: ExtrinsicParameters | PlainMessage<ExtrinsicParameters> | undefined, b: ExtrinsicParameters | PlainMessage<ExtrinsicParameters> | undefined): boolean;
|
|
684
|
+
}
|
|
685
|
+
|