@viamrobotics/sdk 0.0.55 → 0.1.0-pre.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.
@@ -425,6 +425,34 @@ export namespace GeoPoint {
425
425
  }
426
426
  }
427
427
 
428
+ export class GeoObstacle extends jspb.Message {
429
+ hasLocation(): boolean;
430
+ clearLocation(): void;
431
+ getLocation(): GeoPoint | undefined;
432
+ setLocation(value?: GeoPoint): void;
433
+
434
+ clearGeometriesList(): void;
435
+ getGeometriesList(): Array<Geometry>;
436
+ setGeometriesList(value: Array<Geometry>): void;
437
+ addGeometries(value?: Geometry, index?: number): Geometry;
438
+
439
+ serializeBinary(): Uint8Array;
440
+ toObject(includeInstance?: boolean): GeoObstacle.AsObject;
441
+ static toObject(includeInstance: boolean, msg: GeoObstacle): GeoObstacle.AsObject;
442
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
443
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
444
+ static serializeBinaryToWriter(message: GeoObstacle, writer: jspb.BinaryWriter): void;
445
+ static deserializeBinary(bytes: Uint8Array): GeoObstacle;
446
+ static deserializeBinaryFromReader(message: GeoObstacle, reader: jspb.BinaryReader): GeoObstacle;
447
+ }
448
+
449
+ export namespace GeoObstacle {
450
+ export type AsObject = {
451
+ location?: GeoPoint.AsObject,
452
+ geometriesList: Array<Geometry.AsObject>,
453
+ }
454
+ }
455
+
428
456
  export class Transform extends jspb.Message {
429
457
  getReferenceFrame(): string;
430
458
  setReferenceFrame(value: string): void;
@@ -140,6 +140,94 @@ export namespace MoveOnMapResponse {
140
140
  }
141
141
  }
142
142
 
143
+ export class MoveOnGlobeRequest extends jspb.Message {
144
+ getName(): string;
145
+ setName(value: string): void;
146
+
147
+ hasDestination(): boolean;
148
+ clearDestination(): void;
149
+ getDestination(): common_v1_common_pb.GeoPoint | undefined;
150
+ setDestination(value?: common_v1_common_pb.GeoPoint): void;
151
+
152
+ hasHeading(): boolean;
153
+ clearHeading(): void;
154
+ getHeading(): number;
155
+ setHeading(value: number): void;
156
+
157
+ hasComponentName(): boolean;
158
+ clearComponentName(): void;
159
+ getComponentName(): common_v1_common_pb.ResourceName | undefined;
160
+ setComponentName(value?: common_v1_common_pb.ResourceName): void;
161
+
162
+ hasMovementSensorName(): boolean;
163
+ clearMovementSensorName(): void;
164
+ getMovementSensorName(): common_v1_common_pb.ResourceName | undefined;
165
+ setMovementSensorName(value?: common_v1_common_pb.ResourceName): void;
166
+
167
+ clearObstaclesList(): void;
168
+ getObstaclesList(): Array<common_v1_common_pb.GeoObstacle>;
169
+ setObstaclesList(value: Array<common_v1_common_pb.GeoObstacle>): void;
170
+ addObstacles(value?: common_v1_common_pb.GeoObstacle, index?: number): common_v1_common_pb.GeoObstacle;
171
+
172
+ hasLinearMetersPerSec(): boolean;
173
+ clearLinearMetersPerSec(): void;
174
+ getLinearMetersPerSec(): number;
175
+ setLinearMetersPerSec(value: number): void;
176
+
177
+ hasAngularDegPerSec(): boolean;
178
+ clearAngularDegPerSec(): void;
179
+ getAngularDegPerSec(): number;
180
+ setAngularDegPerSec(value: number): void;
181
+
182
+ hasExtra(): boolean;
183
+ clearExtra(): void;
184
+ getExtra(): google_protobuf_struct_pb.Struct | undefined;
185
+ setExtra(value?: google_protobuf_struct_pb.Struct): void;
186
+
187
+ serializeBinary(): Uint8Array;
188
+ toObject(includeInstance?: boolean): MoveOnGlobeRequest.AsObject;
189
+ static toObject(includeInstance: boolean, msg: MoveOnGlobeRequest): MoveOnGlobeRequest.AsObject;
190
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
191
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
192
+ static serializeBinaryToWriter(message: MoveOnGlobeRequest, writer: jspb.BinaryWriter): void;
193
+ static deserializeBinary(bytes: Uint8Array): MoveOnGlobeRequest;
194
+ static deserializeBinaryFromReader(message: MoveOnGlobeRequest, reader: jspb.BinaryReader): MoveOnGlobeRequest;
195
+ }
196
+
197
+ export namespace MoveOnGlobeRequest {
198
+ export type AsObject = {
199
+ name: string,
200
+ destination?: common_v1_common_pb.GeoPoint.AsObject,
201
+ heading: number,
202
+ componentName?: common_v1_common_pb.ResourceName.AsObject,
203
+ movementSensorName?: common_v1_common_pb.ResourceName.AsObject,
204
+ obstaclesList: Array<common_v1_common_pb.GeoObstacle.AsObject>,
205
+ linearMetersPerSec: number,
206
+ angularDegPerSec: number,
207
+ extra?: google_protobuf_struct_pb.Struct.AsObject,
208
+ }
209
+ }
210
+
211
+ export class MoveOnGlobeResponse extends jspb.Message {
212
+ getSuccess(): boolean;
213
+ setSuccess(value: boolean): void;
214
+
215
+ serializeBinary(): Uint8Array;
216
+ toObject(includeInstance?: boolean): MoveOnGlobeResponse.AsObject;
217
+ static toObject(includeInstance: boolean, msg: MoveOnGlobeResponse): MoveOnGlobeResponse.AsObject;
218
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
219
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
220
+ static serializeBinaryToWriter(message: MoveOnGlobeResponse, writer: jspb.BinaryWriter): void;
221
+ static deserializeBinary(bytes: Uint8Array): MoveOnGlobeResponse;
222
+ static deserializeBinaryFromReader(message: MoveOnGlobeResponse, reader: jspb.BinaryReader): MoveOnGlobeResponse;
223
+ }
224
+
225
+ export namespace MoveOnGlobeResponse {
226
+ export type AsObject = {
227
+ success: boolean,
228
+ }
229
+ }
230
+
143
231
  export class MoveSingleComponentRequest extends jspb.Message {
144
232
  getName(): string;
145
233
  setName(value: string): void;
@@ -23,6 +23,15 @@ type MotionServiceMoveOnMap = {
23
23
  readonly responseType: typeof service_motion_v1_motion_pb.MoveOnMapResponse;
24
24
  };
25
25
 
26
+ type MotionServiceMoveOnGlobe = {
27
+ readonly methodName: string;
28
+ readonly service: typeof MotionService;
29
+ readonly requestStream: false;
30
+ readonly responseStream: false;
31
+ readonly requestType: typeof service_motion_v1_motion_pb.MoveOnGlobeRequest;
32
+ readonly responseType: typeof service_motion_v1_motion_pb.MoveOnGlobeResponse;
33
+ };
34
+
26
35
  type MotionServiceMoveSingleComponent = {
27
36
  readonly methodName: string;
28
37
  readonly service: typeof MotionService;
@@ -54,6 +63,7 @@ export class MotionService {
54
63
  static readonly serviceName: string;
55
64
  static readonly Move: MotionServiceMove;
56
65
  static readonly MoveOnMap: MotionServiceMoveOnMap;
66
+ static readonly MoveOnGlobe: MotionServiceMoveOnGlobe;
57
67
  static readonly MoveSingleComponent: MotionServiceMoveSingleComponent;
58
68
  static readonly GetPose: MotionServiceGetPose;
59
69
  static readonly DoCommand: MotionServiceDoCommand;
@@ -109,6 +119,15 @@ export class MotionServiceClient {
109
119
  requestMessage: service_motion_v1_motion_pb.MoveOnMapRequest,
110
120
  callback: (error: ServiceError|null, responseMessage: service_motion_v1_motion_pb.MoveOnMapResponse|null) => void
111
121
  ): UnaryResponse;
122
+ moveOnGlobe(
123
+ requestMessage: service_motion_v1_motion_pb.MoveOnGlobeRequest,
124
+ metadata: grpc.Metadata,
125
+ callback: (error: ServiceError|null, responseMessage: service_motion_v1_motion_pb.MoveOnGlobeResponse|null) => void
126
+ ): UnaryResponse;
127
+ moveOnGlobe(
128
+ requestMessage: service_motion_v1_motion_pb.MoveOnGlobeRequest,
129
+ callback: (error: ServiceError|null, responseMessage: service_motion_v1_motion_pb.MoveOnGlobeResponse|null) => void
130
+ ): UnaryResponse;
112
131
  moveSingleComponent(
113
132
  requestMessage: service_motion_v1_motion_pb.MoveSingleComponentRequest,
114
133
  metadata: grpc.Metadata,