@viamrobotics/sdk 0.77.0 → 0.79.0
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/README.md +1 -1
- package/dist/api-version.d.ts +1 -1
- package/dist/app/app-client.d.ts +109 -102
- package/dist/app/billing-client.d.ts +4 -4
- package/dist/app/data-client.d.ts +31 -31
- package/dist/app/ml-training-client.d.ts +6 -6
- package/dist/app/viam-client.d.ts +2 -1
- package/dist/app/viam-transport.d.ts +2 -3
- package/dist/components/arm/arm.d.ts +8 -9
- package/dist/components/base/base.d.ts +8 -8
- package/dist/components/board/board.d.ts +12 -12
- package/dist/components/button/button.d.ts +1 -1
- package/dist/components/camera/camera.d.ts +2 -2
- package/dist/components/encoder/encoder.d.ts +4 -4
- package/dist/components/gantry/gantry.d.ts +8 -8
- package/dist/components/generic/generic.d.ts +1 -1
- package/dist/components/gripper/gripper.d.ts +6 -6
- package/dist/components/input-controller/input-controller.d.ts +3 -3
- package/dist/components/motor/motor.d.ts +11 -11
- package/dist/components/movement-sensor/movement-sensor.d.ts +10 -10
- package/dist/components/pose-tracker/pose-tracker.d.ts +1 -1
- package/dist/components/power-sensor/power-sensor.d.ts +4 -4
- package/dist/components/sensor/sensor.d.ts +1 -1
- package/dist/components/servo/servo.d.ts +5 -5
- package/dist/components/switch/switch.d.ts +3 -3
- package/dist/gen/app/mltraining/v1/ml_training_pb.d.ts +7 -0
- package/dist/gen/app/v1/app_pb.d.ts +14 -0
- package/dist/gen/app/v1/billing_pb.d.ts +5 -0
- package/dist/gen/app/v1/robot_pb.d.ts +18 -6
- package/dist/gen/common/v1/common_pb.d.ts +588 -6
- package/dist/gen/google/api/field_behavior_pb.d.ts +1 -1
- package/dist/gen/proto/rpc/webrtc/v1/grpc_pb.d.ts +9 -0
- package/dist/gen/proto/rpc/webrtc/v1/signaling_pb.d.ts +25 -0
- package/dist/gen/robot/v1/robot_pb.d.ts +66 -2
- package/dist/gen/service/motion/v1/motion_pb.d.ts +8 -0
- package/dist/gen/service/navigation/v1/navigation_connect.d.ts +324 -43
- package/dist/gen/service/navigation/v1/navigation_pb.d.ts +2350 -229
- package/dist/main.d.ts +5 -5
- package/dist/main.es.js +9579 -7720
- package/dist/main.umd.js +11 -9
- package/dist/robot/client.d.ts +57 -1272
- package/dist/services/data-manager/client.d.ts +2 -2
- package/dist/services/motion/motion.d.ts +7 -7
- package/dist/services/navigation/client.d.ts +32 -11
- package/dist/services/navigation/navigation.d.ts +162 -110
- package/dist/services/navigation/types.d.ts +36 -5
- package/dist/services/navigation.d.ts +1 -1
- package/dist/services/slam/slam.d.ts +4 -4
- package/dist/services/vision/vision.d.ts +8 -8
- package/package.json +4 -4
|
@@ -28,6 +28,33 @@ export declare enum KinematicsFileFormat {
|
|
|
28
28
|
URDF = 2,
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
+
/**
|
|
32
|
+
* @generated from enum viam.common.v1.JointType
|
|
33
|
+
*/
|
|
34
|
+
export declare enum JointType {
|
|
35
|
+
/**
|
|
36
|
+
* @generated from enum value: JOINT_TYPE_UNSPECIFIED = 0;
|
|
37
|
+
*/
|
|
38
|
+
UNSPECIFIED = 0,
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* @generated from enum value: JOINT_TYPE_REVOLUTE = 1;
|
|
42
|
+
*/
|
|
43
|
+
REVOLUTE = 1,
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* @generated from enum value: JOINT_TYPE_PRISMATIC = 2;
|
|
47
|
+
*/
|
|
48
|
+
PRISMATIC = 2,
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Revolute joint with no position bound
|
|
52
|
+
*
|
|
53
|
+
* @generated from enum value: JOINT_TYPE_CONTINUOUS = 3;
|
|
54
|
+
*/
|
|
55
|
+
CONTINUOUS = 3,
|
|
56
|
+
}
|
|
57
|
+
|
|
31
58
|
/**
|
|
32
59
|
* @generated from message viam.common.v1.ResourceName
|
|
33
60
|
*/
|
|
@@ -413,6 +440,13 @@ export declare class Mesh extends Message<Mesh> {
|
|
|
413
440
|
*/
|
|
414
441
|
mesh: Uint8Array;
|
|
415
442
|
|
|
443
|
+
/**
|
|
444
|
+
* Path the mesh was loaded from, relative to the kinematics file. Informational on the wire.
|
|
445
|
+
*
|
|
446
|
+
* @generated from field: optional string original_file_source_path_diagnostic = 3;
|
|
447
|
+
*/
|
|
448
|
+
originalFileSourcePathDiagnostic?: string;
|
|
449
|
+
|
|
416
450
|
constructor(data?: PartialMessage<Mesh>);
|
|
417
451
|
|
|
418
452
|
static readonly runtime: typeof proto3;
|
|
@@ -625,6 +659,82 @@ export declare class GeoPoint extends Message<GeoPoint> {
|
|
|
625
659
|
static equals(a: GeoPoint | PlainMessage<GeoPoint> | undefined, b: GeoPoint | PlainMessage<GeoPoint> | undefined): boolean;
|
|
626
660
|
}
|
|
627
661
|
|
|
662
|
+
/**
|
|
663
|
+
* GeoPose is a GPS position and orientation, optionally with altitude.
|
|
664
|
+
*
|
|
665
|
+
* Orientation is expressed in the east-north-up tangent frame at location:
|
|
666
|
+
* +X east, +Y north, +Z up. Viam base axes are +X right, +Y forward, and +Z up,
|
|
667
|
+
* so the identity orientation (o_x, o_y, o_z, theta) = (0, 0, 1, 0) is level and
|
|
668
|
+
* faces north: forward is north and right is east.
|
|
669
|
+
*
|
|
670
|
+
* The same rotation as an orientation vector is Viam's Tait-Bryan Euler sequence,
|
|
671
|
+
* intrinsic z-y'-x'' (yaw, then pitch, then roll), in degrees:
|
|
672
|
+
* - yaw: right-handed rotation about local up (+Z). Zero faces north. Positive
|
|
673
|
+
* yaw is counterclockwise viewed from above, so a compass heading in degrees
|
|
674
|
+
* clockwise from north is the negation of yaw.
|
|
675
|
+
* - pitch: right-handed rotation about the base's forward axis (+Y).
|
|
676
|
+
* - roll: right-handed rotation about the base's right axis (+X). With pitch 0,
|
|
677
|
+
* positive roll raises the forward axis; that angle is the elevation of
|
|
678
|
+
* forward above the local horizon.
|
|
679
|
+
*
|
|
680
|
+
* Exactly one of heading or orientation_vector is set. heading is only the
|
|
681
|
+
* compass yaw of a level pose (pitch 0, roll 0). It is not added to
|
|
682
|
+
* orientation_vector.
|
|
683
|
+
*
|
|
684
|
+
* @generated from message viam.common.v1.GeoPose
|
|
685
|
+
*/
|
|
686
|
+
export declare class GeoPose extends Message<GeoPose> {
|
|
687
|
+
/**
|
|
688
|
+
* Latitude and longitude in degrees
|
|
689
|
+
*
|
|
690
|
+
* @generated from field: viam.common.v1.GeoPoint location = 1;
|
|
691
|
+
*/
|
|
692
|
+
location?: GeoPoint;
|
|
693
|
+
|
|
694
|
+
/**
|
|
695
|
+
* Optional altitude in meters
|
|
696
|
+
*
|
|
697
|
+
* @generated from field: optional double altitude = 3;
|
|
698
|
+
*/
|
|
699
|
+
altitude?: number;
|
|
700
|
+
|
|
701
|
+
/**
|
|
702
|
+
* @generated from oneof viam.common.v1.GeoPose.orientation
|
|
703
|
+
*/
|
|
704
|
+
orientation: {
|
|
705
|
+
/**
|
|
706
|
+
* Compass heading in degrees, clockwise from north. Level pose: pitch 0, roll 0.
|
|
707
|
+
*
|
|
708
|
+
* @generated from field: double heading = 2;
|
|
709
|
+
*/
|
|
710
|
+
value: number;
|
|
711
|
+
case: "heading";
|
|
712
|
+
} | {
|
|
713
|
+
/**
|
|
714
|
+
* Full orientation in the east-north-up tangent frame at location.
|
|
715
|
+
* o_x, o_y, o_z, theta in degrees, same orientation vector as Pose.
|
|
716
|
+
*
|
|
717
|
+
* @generated from field: viam.common.v1.Orientation orientation_vector = 4;
|
|
718
|
+
*/
|
|
719
|
+
value: Orientation;
|
|
720
|
+
case: "orientationVector";
|
|
721
|
+
} | { case: undefined; value?: undefined };
|
|
722
|
+
|
|
723
|
+
constructor(data?: PartialMessage<GeoPose>);
|
|
724
|
+
|
|
725
|
+
static readonly runtime: typeof proto3;
|
|
726
|
+
static readonly typeName = "viam.common.v1.GeoPose";
|
|
727
|
+
static readonly fields: FieldList;
|
|
728
|
+
|
|
729
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GeoPose;
|
|
730
|
+
|
|
731
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GeoPose;
|
|
732
|
+
|
|
733
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GeoPose;
|
|
734
|
+
|
|
735
|
+
static equals(a: GeoPose | PlainMessage<GeoPose> | undefined, b: GeoPose | PlainMessage<GeoPose> | undefined): boolean;
|
|
736
|
+
}
|
|
737
|
+
|
|
628
738
|
/**
|
|
629
739
|
* GeoGeometry contains information describing Geometry(s) that is located at a GeoPoint
|
|
630
740
|
*
|
|
@@ -929,6 +1039,20 @@ export declare class GetKinematicsRequest extends Message<GetKinematicsRequest>
|
|
|
929
1039
|
*/
|
|
930
1040
|
name: string;
|
|
931
1041
|
|
|
1042
|
+
/**
|
|
1043
|
+
* Include collision mesh bytes in the response. Otherwise meshes carry only their path.
|
|
1044
|
+
*
|
|
1045
|
+
* @generated from field: bool include_collision_meshes = 2;
|
|
1046
|
+
*/
|
|
1047
|
+
includeCollisionMeshes: boolean;
|
|
1048
|
+
|
|
1049
|
+
/**
|
|
1050
|
+
* Include visual mesh bytes in the response
|
|
1051
|
+
*
|
|
1052
|
+
* @generated from field: bool include_visual_meshes = 3;
|
|
1053
|
+
*/
|
|
1054
|
+
includeVisualMeshes: boolean;
|
|
1055
|
+
|
|
932
1056
|
/**
|
|
933
1057
|
* Additional arguments to the method
|
|
934
1058
|
*
|
|
@@ -956,27 +1080,37 @@ export declare class GetKinematicsRequest extends Message<GetKinematicsRequest>
|
|
|
956
1080
|
*/
|
|
957
1081
|
export declare class GetKinematicsResponse extends Message<GetKinematicsResponse> {
|
|
958
1082
|
/**
|
|
959
|
-
* The kinematics of the component, in either URDF format or in Viam’s kinematic parameter format (spatial vector algebra)
|
|
1083
|
+
* Deprecated: use model. The kinematics of the component, in either URDF format or in Viam’s kinematic parameter format (spatial vector algebra)
|
|
960
1084
|
* https://docs.viam.com/internals/kinematic-chain-config/#kinematic-parameters
|
|
961
1085
|
*
|
|
962
|
-
* @generated from field: viam.common.v1.KinematicsFileFormat format = 1;
|
|
1086
|
+
* @generated from field: viam.common.v1.KinematicsFileFormat format = 1 [deprecated = true];
|
|
1087
|
+
* @deprecated
|
|
963
1088
|
*/
|
|
964
1089
|
format: KinematicsFileFormat;
|
|
965
1090
|
|
|
966
1091
|
/**
|
|
967
|
-
* The byte contents of the file
|
|
1092
|
+
* Deprecated: use model. The byte contents of the file
|
|
968
1093
|
*
|
|
969
|
-
* @generated from field: bytes kinematics_data = 2;
|
|
1094
|
+
* @generated from field: bytes kinematics_data = 2 [deprecated = true];
|
|
1095
|
+
* @deprecated
|
|
970
1096
|
*/
|
|
971
1097
|
kinematicsData: Uint8Array;
|
|
972
1098
|
|
|
973
1099
|
/**
|
|
974
|
-
* Map of URDF mesh file paths to mesh data
|
|
1100
|
+
* Deprecated: use model. Map of URDF mesh file paths to mesh data
|
|
975
1101
|
*
|
|
976
|
-
* @generated from field: map<string, viam.common.v1.Mesh> meshes_by_urdf_filepath = 3;
|
|
1102
|
+
* @generated from field: map<string, viam.common.v1.Mesh> meshes_by_urdf_filepath = 3 [deprecated = true];
|
|
1103
|
+
* @deprecated
|
|
977
1104
|
*/
|
|
978
1105
|
meshesByUrdfFilepath: { [key: string]: Mesh };
|
|
979
1106
|
|
|
1107
|
+
/**
|
|
1108
|
+
* The kinematic model of the component
|
|
1109
|
+
*
|
|
1110
|
+
* @generated from field: viam.common.v1.KinematicModel model = 4;
|
|
1111
|
+
*/
|
|
1112
|
+
model?: KinematicModel;
|
|
1113
|
+
|
|
980
1114
|
constructor(data?: PartialMessage<GetKinematicsResponse>);
|
|
981
1115
|
|
|
982
1116
|
static readonly runtime: typeof proto3;
|
|
@@ -992,6 +1126,454 @@ export declare class GetKinematicsResponse extends Message<GetKinematicsResponse
|
|
|
992
1126
|
static equals(a: GetKinematicsResponse | PlainMessage<GetKinematicsResponse> | undefined, b: GetKinematicsResponse | PlainMessage<GetKinematicsResponse> | undefined): boolean;
|
|
993
1127
|
}
|
|
994
1128
|
|
|
1129
|
+
/**
|
|
1130
|
+
* KinematicModel describes a component's kinematics as a tree of links and joints.
|
|
1131
|
+
* Its proto JSON encoding is also the on-disk kinematics file format.
|
|
1132
|
+
*
|
|
1133
|
+
* @generated from message viam.common.v1.KinematicModel
|
|
1134
|
+
*/
|
|
1135
|
+
export declare class KinematicModel extends Message<KinematicModel> {
|
|
1136
|
+
/**
|
|
1137
|
+
* Set to the resource name by the SDK when served
|
|
1138
|
+
*
|
|
1139
|
+
* @generated from field: string name = 1;
|
|
1140
|
+
*/
|
|
1141
|
+
name: string;
|
|
1142
|
+
|
|
1143
|
+
/**
|
|
1144
|
+
* @generated from field: repeated viam.common.v1.KinematicLink links = 2;
|
|
1145
|
+
*/
|
|
1146
|
+
links: KinematicLink[];
|
|
1147
|
+
|
|
1148
|
+
/**
|
|
1149
|
+
* @generated from field: repeated viam.common.v1.KinematicJoint joints = 3;
|
|
1150
|
+
*/
|
|
1151
|
+
joints: KinematicJoint[];
|
|
1152
|
+
|
|
1153
|
+
/**
|
|
1154
|
+
* Frames whose poses the model reports
|
|
1155
|
+
*
|
|
1156
|
+
* @generated from field: repeated string output_frames = 4;
|
|
1157
|
+
*/
|
|
1158
|
+
outputFrames: string[];
|
|
1159
|
+
|
|
1160
|
+
/**
|
|
1161
|
+
* @generated from field: viam.common.v1.KinematicProperties properties = 5;
|
|
1162
|
+
*/
|
|
1163
|
+
properties?: KinematicProperties;
|
|
1164
|
+
|
|
1165
|
+
constructor(data?: PartialMessage<KinematicModel>);
|
|
1166
|
+
|
|
1167
|
+
static readonly runtime: typeof proto3;
|
|
1168
|
+
static readonly typeName = "viam.common.v1.KinematicModel";
|
|
1169
|
+
static readonly fields: FieldList;
|
|
1170
|
+
|
|
1171
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): KinematicModel;
|
|
1172
|
+
|
|
1173
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): KinematicModel;
|
|
1174
|
+
|
|
1175
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): KinematicModel;
|
|
1176
|
+
|
|
1177
|
+
static equals(a: KinematicModel | PlainMessage<KinematicModel> | undefined, b: KinematicModel | PlainMessage<KinematicModel> | undefined): boolean;
|
|
1178
|
+
}
|
|
1179
|
+
|
|
1180
|
+
/**
|
|
1181
|
+
* @generated from message viam.common.v1.KinematicLink
|
|
1182
|
+
*/
|
|
1183
|
+
export declare class KinematicLink extends Message<KinematicLink> {
|
|
1184
|
+
/**
|
|
1185
|
+
* @generated from field: string id = 1;
|
|
1186
|
+
*/
|
|
1187
|
+
id: string;
|
|
1188
|
+
|
|
1189
|
+
/**
|
|
1190
|
+
* Parent link or joint id, empty for the root
|
|
1191
|
+
*
|
|
1192
|
+
* @generated from field: string parent = 2;
|
|
1193
|
+
*/
|
|
1194
|
+
parent: string;
|
|
1195
|
+
|
|
1196
|
+
/**
|
|
1197
|
+
* Pose relative to the parent
|
|
1198
|
+
*
|
|
1199
|
+
* @generated from field: viam.common.v1.LinkPose pose = 3;
|
|
1200
|
+
*/
|
|
1201
|
+
pose?: LinkPose;
|
|
1202
|
+
|
|
1203
|
+
/**
|
|
1204
|
+
* Collision geometries, meshes must be stl or ply
|
|
1205
|
+
*
|
|
1206
|
+
* @generated from field: repeated viam.common.v1.Geometry collision = 4;
|
|
1207
|
+
*/
|
|
1208
|
+
collision: Geometry[];
|
|
1209
|
+
|
|
1210
|
+
/**
|
|
1211
|
+
* Display geometries, not used for collision checking
|
|
1212
|
+
*
|
|
1213
|
+
* @generated from field: repeated viam.common.v1.Geometry visual = 5;
|
|
1214
|
+
*/
|
|
1215
|
+
visual: Geometry[];
|
|
1216
|
+
|
|
1217
|
+
constructor(data?: PartialMessage<KinematicLink>);
|
|
1218
|
+
|
|
1219
|
+
static readonly runtime: typeof proto3;
|
|
1220
|
+
static readonly typeName = "viam.common.v1.KinematicLink";
|
|
1221
|
+
static readonly fields: FieldList;
|
|
1222
|
+
|
|
1223
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): KinematicLink;
|
|
1224
|
+
|
|
1225
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): KinematicLink;
|
|
1226
|
+
|
|
1227
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): KinematicLink;
|
|
1228
|
+
|
|
1229
|
+
static equals(a: KinematicLink | PlainMessage<KinematicLink> | undefined, b: KinematicLink | PlainMessage<KinematicLink> | undefined): boolean;
|
|
1230
|
+
}
|
|
1231
|
+
|
|
1232
|
+
/**
|
|
1233
|
+
* LinkPose is a translation in mm and an orientation in degrees, identity when absent
|
|
1234
|
+
*
|
|
1235
|
+
* @generated from message viam.common.v1.LinkPose
|
|
1236
|
+
*/
|
|
1237
|
+
export declare class LinkPose extends Message<LinkPose> {
|
|
1238
|
+
/**
|
|
1239
|
+
* @generated from field: viam.common.v1.Vector3 translation = 1;
|
|
1240
|
+
*/
|
|
1241
|
+
translation?: Vector3;
|
|
1242
|
+
|
|
1243
|
+
/**
|
|
1244
|
+
* @generated from oneof viam.common.v1.LinkPose.orientation
|
|
1245
|
+
*/
|
|
1246
|
+
orientation: {
|
|
1247
|
+
/**
|
|
1248
|
+
* @generated from field: viam.common.v1.Quaternion quaternion = 2;
|
|
1249
|
+
*/
|
|
1250
|
+
value: Quaternion;
|
|
1251
|
+
case: "quaternion";
|
|
1252
|
+
} | {
|
|
1253
|
+
/**
|
|
1254
|
+
* theta in degrees
|
|
1255
|
+
*
|
|
1256
|
+
* @generated from field: viam.common.v1.Orientation orientation_vector = 3;
|
|
1257
|
+
*/
|
|
1258
|
+
value: Orientation;
|
|
1259
|
+
case: "orientationVector";
|
|
1260
|
+
} | {
|
|
1261
|
+
/**
|
|
1262
|
+
* @generated from field: viam.common.v1.EulerAngles euler_angles = 4;
|
|
1263
|
+
*/
|
|
1264
|
+
value: EulerAngles;
|
|
1265
|
+
case: "eulerAngles";
|
|
1266
|
+
} | {
|
|
1267
|
+
/**
|
|
1268
|
+
* @generated from field: viam.common.v1.AxisAngles axis_angles = 5;
|
|
1269
|
+
*/
|
|
1270
|
+
value: AxisAngles;
|
|
1271
|
+
case: "axisAngles";
|
|
1272
|
+
} | { case: undefined; value?: undefined };
|
|
1273
|
+
|
|
1274
|
+
constructor(data?: PartialMessage<LinkPose>);
|
|
1275
|
+
|
|
1276
|
+
static readonly runtime: typeof proto3;
|
|
1277
|
+
static readonly typeName = "viam.common.v1.LinkPose";
|
|
1278
|
+
static readonly fields: FieldList;
|
|
1279
|
+
|
|
1280
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): LinkPose;
|
|
1281
|
+
|
|
1282
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): LinkPose;
|
|
1283
|
+
|
|
1284
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): LinkPose;
|
|
1285
|
+
|
|
1286
|
+
static equals(a: LinkPose | PlainMessage<LinkPose> | undefined, b: LinkPose | PlainMessage<LinkPose> | undefined): boolean;
|
|
1287
|
+
}
|
|
1288
|
+
|
|
1289
|
+
/**
|
|
1290
|
+
* @generated from message viam.common.v1.Quaternion
|
|
1291
|
+
*/
|
|
1292
|
+
export declare class Quaternion extends Message<Quaternion> {
|
|
1293
|
+
/**
|
|
1294
|
+
* @generated from field: double w = 1;
|
|
1295
|
+
*/
|
|
1296
|
+
w: number;
|
|
1297
|
+
|
|
1298
|
+
/**
|
|
1299
|
+
* @generated from field: double x = 2;
|
|
1300
|
+
*/
|
|
1301
|
+
x: number;
|
|
1302
|
+
|
|
1303
|
+
/**
|
|
1304
|
+
* @generated from field: double y = 3;
|
|
1305
|
+
*/
|
|
1306
|
+
y: number;
|
|
1307
|
+
|
|
1308
|
+
/**
|
|
1309
|
+
* @generated from field: double z = 4;
|
|
1310
|
+
*/
|
|
1311
|
+
z: number;
|
|
1312
|
+
|
|
1313
|
+
constructor(data?: PartialMessage<Quaternion>);
|
|
1314
|
+
|
|
1315
|
+
static readonly runtime: typeof proto3;
|
|
1316
|
+
static readonly typeName = "viam.common.v1.Quaternion";
|
|
1317
|
+
static readonly fields: FieldList;
|
|
1318
|
+
|
|
1319
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Quaternion;
|
|
1320
|
+
|
|
1321
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Quaternion;
|
|
1322
|
+
|
|
1323
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Quaternion;
|
|
1324
|
+
|
|
1325
|
+
static equals(a: Quaternion | PlainMessage<Quaternion> | undefined, b: Quaternion | PlainMessage<Quaternion> | undefined): boolean;
|
|
1326
|
+
}
|
|
1327
|
+
|
|
1328
|
+
/**
|
|
1329
|
+
* Euler angles in degrees
|
|
1330
|
+
*
|
|
1331
|
+
* @generated from message viam.common.v1.EulerAngles
|
|
1332
|
+
*/
|
|
1333
|
+
export declare class EulerAngles extends Message<EulerAngles> {
|
|
1334
|
+
/**
|
|
1335
|
+
* @generated from field: double roll = 1;
|
|
1336
|
+
*/
|
|
1337
|
+
roll: number;
|
|
1338
|
+
|
|
1339
|
+
/**
|
|
1340
|
+
* @generated from field: double pitch = 2;
|
|
1341
|
+
*/
|
|
1342
|
+
pitch: number;
|
|
1343
|
+
|
|
1344
|
+
/**
|
|
1345
|
+
* @generated from field: double yaw = 3;
|
|
1346
|
+
*/
|
|
1347
|
+
yaw: number;
|
|
1348
|
+
|
|
1349
|
+
constructor(data?: PartialMessage<EulerAngles>);
|
|
1350
|
+
|
|
1351
|
+
static readonly runtime: typeof proto3;
|
|
1352
|
+
static readonly typeName = "viam.common.v1.EulerAngles";
|
|
1353
|
+
static readonly fields: FieldList;
|
|
1354
|
+
|
|
1355
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): EulerAngles;
|
|
1356
|
+
|
|
1357
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): EulerAngles;
|
|
1358
|
+
|
|
1359
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EulerAngles;
|
|
1360
|
+
|
|
1361
|
+
static equals(a: EulerAngles | PlainMessage<EulerAngles> | undefined, b: EulerAngles | PlainMessage<EulerAngles> | undefined): boolean;
|
|
1362
|
+
}
|
|
1363
|
+
|
|
1364
|
+
/**
|
|
1365
|
+
* Rotation axis and an angle theta in degrees
|
|
1366
|
+
*
|
|
1367
|
+
* @generated from message viam.common.v1.AxisAngles
|
|
1368
|
+
*/
|
|
1369
|
+
export declare class AxisAngles extends Message<AxisAngles> {
|
|
1370
|
+
/**
|
|
1371
|
+
* @generated from field: double rx = 1;
|
|
1372
|
+
*/
|
|
1373
|
+
rx: number;
|
|
1374
|
+
|
|
1375
|
+
/**
|
|
1376
|
+
* @generated from field: double ry = 2;
|
|
1377
|
+
*/
|
|
1378
|
+
ry: number;
|
|
1379
|
+
|
|
1380
|
+
/**
|
|
1381
|
+
* @generated from field: double rz = 3;
|
|
1382
|
+
*/
|
|
1383
|
+
rz: number;
|
|
1384
|
+
|
|
1385
|
+
/**
|
|
1386
|
+
* @generated from field: double theta = 4;
|
|
1387
|
+
*/
|
|
1388
|
+
theta: number;
|
|
1389
|
+
|
|
1390
|
+
constructor(data?: PartialMessage<AxisAngles>);
|
|
1391
|
+
|
|
1392
|
+
static readonly runtime: typeof proto3;
|
|
1393
|
+
static readonly typeName = "viam.common.v1.AxisAngles";
|
|
1394
|
+
static readonly fields: FieldList;
|
|
1395
|
+
|
|
1396
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AxisAngles;
|
|
1397
|
+
|
|
1398
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AxisAngles;
|
|
1399
|
+
|
|
1400
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AxisAngles;
|
|
1401
|
+
|
|
1402
|
+
static equals(a: AxisAngles | PlainMessage<AxisAngles> | undefined, b: AxisAngles | PlainMessage<AxisAngles> | undefined): boolean;
|
|
1403
|
+
}
|
|
1404
|
+
|
|
1405
|
+
/**
|
|
1406
|
+
* @generated from message viam.common.v1.KinematicJoint
|
|
1407
|
+
*/
|
|
1408
|
+
export declare class KinematicJoint extends Message<KinematicJoint> {
|
|
1409
|
+
/**
|
|
1410
|
+
* @generated from field: string id = 1;
|
|
1411
|
+
*/
|
|
1412
|
+
id: string;
|
|
1413
|
+
|
|
1414
|
+
/**
|
|
1415
|
+
* Parent link id
|
|
1416
|
+
*
|
|
1417
|
+
* @generated from field: string parent = 2;
|
|
1418
|
+
*/
|
|
1419
|
+
parent: string;
|
|
1420
|
+
|
|
1421
|
+
/**
|
|
1422
|
+
* @generated from field: viam.common.v1.JointType type = 3;
|
|
1423
|
+
*/
|
|
1424
|
+
type: JointType;
|
|
1425
|
+
|
|
1426
|
+
/**
|
|
1427
|
+
* @generated from field: viam.common.v1.Vector3 axis = 4;
|
|
1428
|
+
*/
|
|
1429
|
+
axis?: Vector3;
|
|
1430
|
+
|
|
1431
|
+
/**
|
|
1432
|
+
* Effective limits the component serves
|
|
1433
|
+
*
|
|
1434
|
+
* @generated from field: viam.common.v1.JointLimits limits = 5;
|
|
1435
|
+
*/
|
|
1436
|
+
limits?: JointLimits;
|
|
1437
|
+
|
|
1438
|
+
/**
|
|
1439
|
+
* @generated from field: viam.common.v1.MimicJoint mimic = 6;
|
|
1440
|
+
*/
|
|
1441
|
+
mimic?: MimicJoint;
|
|
1442
|
+
|
|
1443
|
+
/**
|
|
1444
|
+
* Only meaningful for prismatic joints
|
|
1445
|
+
*
|
|
1446
|
+
* @generated from field: viam.common.v1.Geometry geometry = 7;
|
|
1447
|
+
*/
|
|
1448
|
+
geometry?: Geometry;
|
|
1449
|
+
|
|
1450
|
+
constructor(data?: PartialMessage<KinematicJoint>);
|
|
1451
|
+
|
|
1452
|
+
static readonly runtime: typeof proto3;
|
|
1453
|
+
static readonly typeName = "viam.common.v1.KinematicJoint";
|
|
1454
|
+
static readonly fields: FieldList;
|
|
1455
|
+
|
|
1456
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): KinematicJoint;
|
|
1457
|
+
|
|
1458
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): KinematicJoint;
|
|
1459
|
+
|
|
1460
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): KinematicJoint;
|
|
1461
|
+
|
|
1462
|
+
static equals(a: KinematicJoint | PlainMessage<KinematicJoint> | undefined, b: KinematicJoint | PlainMessage<KinematicJoint> | undefined): boolean;
|
|
1463
|
+
}
|
|
1464
|
+
|
|
1465
|
+
/**
|
|
1466
|
+
* Degrees, deg/s and deg/s^2 for revolute joints, mm, mm/s and mm/s^2 for prismatic. Absent means unbounded.
|
|
1467
|
+
*
|
|
1468
|
+
* @generated from message viam.common.v1.JointLimits
|
|
1469
|
+
*/
|
|
1470
|
+
export declare class JointLimits extends Message<JointLimits> {
|
|
1471
|
+
/**
|
|
1472
|
+
* @generated from field: optional double min = 1;
|
|
1473
|
+
*/
|
|
1474
|
+
min?: number;
|
|
1475
|
+
|
|
1476
|
+
/**
|
|
1477
|
+
* @generated from field: optional double max = 2;
|
|
1478
|
+
*/
|
|
1479
|
+
max?: number;
|
|
1480
|
+
|
|
1481
|
+
/**
|
|
1482
|
+
* @generated from field: optional double max_velocity = 3;
|
|
1483
|
+
*/
|
|
1484
|
+
maxVelocity?: number;
|
|
1485
|
+
|
|
1486
|
+
/**
|
|
1487
|
+
* @generated from field: optional double max_acceleration = 4;
|
|
1488
|
+
*/
|
|
1489
|
+
maxAcceleration?: number;
|
|
1490
|
+
|
|
1491
|
+
constructor(data?: PartialMessage<JointLimits>);
|
|
1492
|
+
|
|
1493
|
+
static readonly runtime: typeof proto3;
|
|
1494
|
+
static readonly typeName = "viam.common.v1.JointLimits";
|
|
1495
|
+
static readonly fields: FieldList;
|
|
1496
|
+
|
|
1497
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): JointLimits;
|
|
1498
|
+
|
|
1499
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): JointLimits;
|
|
1500
|
+
|
|
1501
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): JointLimits;
|
|
1502
|
+
|
|
1503
|
+
static equals(a: JointLimits | PlainMessage<JointLimits> | undefined, b: JointLimits | PlainMessage<JointLimits> | undefined): boolean;
|
|
1504
|
+
}
|
|
1505
|
+
|
|
1506
|
+
/**
|
|
1507
|
+
* Position is multiplier * position of joint + offset
|
|
1508
|
+
*
|
|
1509
|
+
* @generated from message viam.common.v1.MimicJoint
|
|
1510
|
+
*/
|
|
1511
|
+
export declare class MimicJoint extends Message<MimicJoint> {
|
|
1512
|
+
/**
|
|
1513
|
+
* @generated from field: string joint = 1;
|
|
1514
|
+
*/
|
|
1515
|
+
joint: string;
|
|
1516
|
+
|
|
1517
|
+
/**
|
|
1518
|
+
* @generated from field: double multiplier = 2;
|
|
1519
|
+
*/
|
|
1520
|
+
multiplier: number;
|
|
1521
|
+
|
|
1522
|
+
/**
|
|
1523
|
+
* @generated from field: double offset = 3;
|
|
1524
|
+
*/
|
|
1525
|
+
offset: number;
|
|
1526
|
+
|
|
1527
|
+
constructor(data?: PartialMessage<MimicJoint>);
|
|
1528
|
+
|
|
1529
|
+
static readonly runtime: typeof proto3;
|
|
1530
|
+
static readonly typeName = "viam.common.v1.MimicJoint";
|
|
1531
|
+
static readonly fields: FieldList;
|
|
1532
|
+
|
|
1533
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MimicJoint;
|
|
1534
|
+
|
|
1535
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MimicJoint;
|
|
1536
|
+
|
|
1537
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MimicJoint;
|
|
1538
|
+
|
|
1539
|
+
static equals(a: MimicJoint | PlainMessage<MimicJoint> | undefined, b: MimicJoint | PlainMessage<MimicJoint> | undefined): boolean;
|
|
1540
|
+
}
|
|
1541
|
+
|
|
1542
|
+
/**
|
|
1543
|
+
* Properties of the component as a whole
|
|
1544
|
+
*
|
|
1545
|
+
* @generated from message viam.common.v1.KinematicProperties
|
|
1546
|
+
*/
|
|
1547
|
+
export declare class KinematicProperties extends Message<KinematicProperties> {
|
|
1548
|
+
/**
|
|
1549
|
+
* Rate the component expects to be driven at
|
|
1550
|
+
*
|
|
1551
|
+
* @generated from field: optional double operating_freq_hz = 1;
|
|
1552
|
+
*/
|
|
1553
|
+
operatingFreqHz?: number;
|
|
1554
|
+
|
|
1555
|
+
/**
|
|
1556
|
+
* Maximum linear speed of the tool center point
|
|
1557
|
+
*
|
|
1558
|
+
* @generated from field: optional double max_linear_tcp_speed_mm_per_sec = 2;
|
|
1559
|
+
*/
|
|
1560
|
+
maxLinearTcpSpeedMmPerSec?: number;
|
|
1561
|
+
|
|
1562
|
+
constructor(data?: PartialMessage<KinematicProperties>);
|
|
1563
|
+
|
|
1564
|
+
static readonly runtime: typeof proto3;
|
|
1565
|
+
static readonly typeName = "viam.common.v1.KinematicProperties";
|
|
1566
|
+
static readonly fields: FieldList;
|
|
1567
|
+
|
|
1568
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): KinematicProperties;
|
|
1569
|
+
|
|
1570
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): KinematicProperties;
|
|
1571
|
+
|
|
1572
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): KinematicProperties;
|
|
1573
|
+
|
|
1574
|
+
static equals(a: KinematicProperties | PlainMessage<KinematicProperties> | undefined, b: KinematicProperties | PlainMessage<KinematicProperties> | undefined): boolean;
|
|
1575
|
+
}
|
|
1576
|
+
|
|
995
1577
|
/**
|
|
996
1578
|
* @generated from message viam.common.v1.GetGeometriesRequest
|
|
997
1579
|
*/
|
|
@@ -136,7 +136,7 @@ export declare enum FieldBehavior {
|
|
|
136
136
|
* [(google.api.field_behavior) = OUTPUT_ONLY,
|
|
137
137
|
* (google.api.field_behavior) = IMMUTABLE];
|
|
138
138
|
*
|
|
139
|
-
* @generated from extension: repeated google.api.FieldBehavior field_behavior = 1052
|
|
139
|
+
* @generated from extension: repeated google.api.FieldBehavior field_behavior = 1052;
|
|
140
140
|
*/
|
|
141
141
|
export declare const field_behavior: Extension<FieldOptions, FieldBehavior[]>;
|
|
142
142
|
|
|
@@ -101,6 +101,15 @@ export declare class Request extends Message<Request> {
|
|
|
101
101
|
*/
|
|
102
102
|
value: boolean;
|
|
103
103
|
case: "rstStream";
|
|
104
|
+
} | {
|
|
105
|
+
/**
|
|
106
|
+
* api_token lets a client authenticate with the answerer over the PeerConnection when
|
|
107
|
+
* the signaling server could not authenticate it. In the form `<api-key-id>:<api-key>`.
|
|
108
|
+
*
|
|
109
|
+
* @generated from field: string api_token = 5;
|
|
110
|
+
*/
|
|
111
|
+
value: string;
|
|
112
|
+
case: "apiToken";
|
|
104
113
|
} | { case: undefined; value?: undefined };
|
|
105
114
|
|
|
106
115
|
constructor(data?: PartialMessage<Request>);
|