@viamrobotics/sdk 0.0.30 → 0.0.31

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.
@@ -14,29 +14,11 @@ type SLAMServiceGetPosition = {
14
14
  readonly responseType: typeof service_slam_v1_slam_pb.GetPositionResponse;
15
15
  };
16
16
 
17
- type SLAMServiceGetMap = {
18
- readonly methodName: string;
19
- readonly service: typeof SLAMService;
20
- readonly requestStream: false;
21
- readonly responseStream: false;
22
- readonly requestType: typeof service_slam_v1_slam_pb.GetMapRequest;
23
- readonly responseType: typeof service_slam_v1_slam_pb.GetMapResponse;
24
- };
25
-
26
- type SLAMServiceGetPositionNew = {
27
- readonly methodName: string;
28
- readonly service: typeof SLAMService;
29
- readonly requestStream: false;
30
- readonly responseStream: false;
31
- readonly requestType: typeof service_slam_v1_slam_pb.GetPositionNewRequest;
32
- readonly responseType: typeof service_slam_v1_slam_pb.GetPositionNewResponse;
33
- };
34
-
35
17
  type SLAMServiceGetPointCloudMap = {
36
18
  readonly methodName: string;
37
19
  readonly service: typeof SLAMService;
38
20
  readonly requestStream: false;
39
- readonly responseStream: false;
21
+ readonly responseStream: true;
40
22
  readonly requestType: typeof service_slam_v1_slam_pb.GetPointCloudMapRequest;
41
23
  readonly responseType: typeof service_slam_v1_slam_pb.GetPointCloudMapResponse;
42
24
  };
@@ -45,11 +27,20 @@ type SLAMServiceGetInternalState = {
45
27
  readonly methodName: string;
46
28
  readonly service: typeof SLAMService;
47
29
  readonly requestStream: false;
48
- readonly responseStream: false;
30
+ readonly responseStream: true;
49
31
  readonly requestType: typeof service_slam_v1_slam_pb.GetInternalStateRequest;
50
32
  readonly responseType: typeof service_slam_v1_slam_pb.GetInternalStateResponse;
51
33
  };
52
34
 
35
+ type SLAMServiceGetPositionNew = {
36
+ readonly methodName: string;
37
+ readonly service: typeof SLAMService;
38
+ readonly requestStream: false;
39
+ readonly responseStream: false;
40
+ readonly requestType: typeof service_slam_v1_slam_pb.GetPositionNewRequest;
41
+ readonly responseType: typeof service_slam_v1_slam_pb.GetPositionNewResponse;
42
+ };
43
+
53
44
  type SLAMServiceGetPointCloudMapStream = {
54
45
  readonly methodName: string;
55
46
  readonly service: typeof SLAMService;
@@ -80,10 +71,9 @@ type SLAMServiceDoCommand = {
80
71
  export class SLAMService {
81
72
  static readonly serviceName: string;
82
73
  static readonly GetPosition: SLAMServiceGetPosition;
83
- static readonly GetMap: SLAMServiceGetMap;
84
- static readonly GetPositionNew: SLAMServiceGetPositionNew;
85
74
  static readonly GetPointCloudMap: SLAMServiceGetPointCloudMap;
86
75
  static readonly GetInternalState: SLAMServiceGetInternalState;
76
+ static readonly GetPositionNew: SLAMServiceGetPositionNew;
87
77
  static readonly GetPointCloudMapStream: SLAMServiceGetPointCloudMapStream;
88
78
  static readonly GetInternalStateStream: SLAMServiceGetInternalStateStream;
89
79
  static readonly DoCommand: SLAMServiceDoCommand;
@@ -130,15 +120,8 @@ export class SLAMServiceClient {
130
120
  requestMessage: service_slam_v1_slam_pb.GetPositionRequest,
131
121
  callback: (error: ServiceError|null, responseMessage: service_slam_v1_slam_pb.GetPositionResponse|null) => void
132
122
  ): UnaryResponse;
133
- getMap(
134
- requestMessage: service_slam_v1_slam_pb.GetMapRequest,
135
- metadata: grpc.Metadata,
136
- callback: (error: ServiceError|null, responseMessage: service_slam_v1_slam_pb.GetMapResponse|null) => void
137
- ): UnaryResponse;
138
- getMap(
139
- requestMessage: service_slam_v1_slam_pb.GetMapRequest,
140
- callback: (error: ServiceError|null, responseMessage: service_slam_v1_slam_pb.GetMapResponse|null) => void
141
- ): UnaryResponse;
123
+ getPointCloudMap(requestMessage: service_slam_v1_slam_pb.GetPointCloudMapRequest, metadata?: grpc.Metadata): ResponseStream<service_slam_v1_slam_pb.GetPointCloudMapResponse>;
124
+ getInternalState(requestMessage: service_slam_v1_slam_pb.GetInternalStateRequest, metadata?: grpc.Metadata): ResponseStream<service_slam_v1_slam_pb.GetInternalStateResponse>;
142
125
  getPositionNew(
143
126
  requestMessage: service_slam_v1_slam_pb.GetPositionNewRequest,
144
127
  metadata: grpc.Metadata,
@@ -148,24 +131,6 @@ export class SLAMServiceClient {
148
131
  requestMessage: service_slam_v1_slam_pb.GetPositionNewRequest,
149
132
  callback: (error: ServiceError|null, responseMessage: service_slam_v1_slam_pb.GetPositionNewResponse|null) => void
150
133
  ): UnaryResponse;
151
- getPointCloudMap(
152
- requestMessage: service_slam_v1_slam_pb.GetPointCloudMapRequest,
153
- metadata: grpc.Metadata,
154
- callback: (error: ServiceError|null, responseMessage: service_slam_v1_slam_pb.GetPointCloudMapResponse|null) => void
155
- ): UnaryResponse;
156
- getPointCloudMap(
157
- requestMessage: service_slam_v1_slam_pb.GetPointCloudMapRequest,
158
- callback: (error: ServiceError|null, responseMessage: service_slam_v1_slam_pb.GetPointCloudMapResponse|null) => void
159
- ): UnaryResponse;
160
- getInternalState(
161
- requestMessage: service_slam_v1_slam_pb.GetInternalStateRequest,
162
- metadata: grpc.Metadata,
163
- callback: (error: ServiceError|null, responseMessage: service_slam_v1_slam_pb.GetInternalStateResponse|null) => void
164
- ): UnaryResponse;
165
- getInternalState(
166
- requestMessage: service_slam_v1_slam_pb.GetInternalStateRequest,
167
- callback: (error: ServiceError|null, responseMessage: service_slam_v1_slam_pb.GetInternalStateResponse|null) => void
168
- ): UnaryResponse;
169
134
  getPointCloudMapStream(requestMessage: service_slam_v1_slam_pb.GetPointCloudMapStreamRequest, metadata?: grpc.Metadata): ResponseStream<service_slam_v1_slam_pb.GetPointCloudMapStreamResponse>;
170
135
  getInternalStateStream(requestMessage: service_slam_v1_slam_pb.GetInternalStateStreamRequest, metadata?: grpc.Metadata): ResponseStream<service_slam_v1_slam_pb.GetInternalStateStreamResponse>;
171
136
  doCommand(
@@ -14,29 +14,11 @@ type SLAMServiceGetPosition = {
14
14
  readonly responseType: typeof service_slam_v1_slam_pb.GetPositionResponse;
15
15
  };
16
16
 
17
- type SLAMServiceGetMap = {
18
- readonly methodName: string;
19
- readonly service: typeof SLAMService;
20
- readonly requestStream: false;
21
- readonly responseStream: false;
22
- readonly requestType: typeof service_slam_v1_slam_pb.GetMapRequest;
23
- readonly responseType: typeof service_slam_v1_slam_pb.GetMapResponse;
24
- };
25
-
26
- type SLAMServiceGetPositionNew = {
27
- readonly methodName: string;
28
- readonly service: typeof SLAMService;
29
- readonly requestStream: false;
30
- readonly responseStream: false;
31
- readonly requestType: typeof service_slam_v1_slam_pb.GetPositionNewRequest;
32
- readonly responseType: typeof service_slam_v1_slam_pb.GetPositionNewResponse;
33
- };
34
-
35
17
  type SLAMServiceGetPointCloudMap = {
36
18
  readonly methodName: string;
37
19
  readonly service: typeof SLAMService;
38
20
  readonly requestStream: false;
39
- readonly responseStream: false;
21
+ readonly responseStream: true;
40
22
  readonly requestType: typeof service_slam_v1_slam_pb.GetPointCloudMapRequest;
41
23
  readonly responseType: typeof service_slam_v1_slam_pb.GetPointCloudMapResponse;
42
24
  };
@@ -45,11 +27,20 @@ type SLAMServiceGetInternalState = {
45
27
  readonly methodName: string;
46
28
  readonly service: typeof SLAMService;
47
29
  readonly requestStream: false;
48
- readonly responseStream: false;
30
+ readonly responseStream: true;
49
31
  readonly requestType: typeof service_slam_v1_slam_pb.GetInternalStateRequest;
50
32
  readonly responseType: typeof service_slam_v1_slam_pb.GetInternalStateResponse;
51
33
  };
52
34
 
35
+ type SLAMServiceGetPositionNew = {
36
+ readonly methodName: string;
37
+ readonly service: typeof SLAMService;
38
+ readonly requestStream: false;
39
+ readonly responseStream: false;
40
+ readonly requestType: typeof service_slam_v1_slam_pb.GetPositionNewRequest;
41
+ readonly responseType: typeof service_slam_v1_slam_pb.GetPositionNewResponse;
42
+ };
43
+
53
44
  type SLAMServiceGetPointCloudMapStream = {
54
45
  readonly methodName: string;
55
46
  readonly service: typeof SLAMService;
@@ -80,10 +71,9 @@ type SLAMServiceDoCommand = {
80
71
  export class SLAMService {
81
72
  static readonly serviceName: string;
82
73
  static readonly GetPosition: SLAMServiceGetPosition;
83
- static readonly GetMap: SLAMServiceGetMap;
84
- static readonly GetPositionNew: SLAMServiceGetPositionNew;
85
74
  static readonly GetPointCloudMap: SLAMServiceGetPointCloudMap;
86
75
  static readonly GetInternalState: SLAMServiceGetInternalState;
76
+ static readonly GetPositionNew: SLAMServiceGetPositionNew;
87
77
  static readonly GetPointCloudMapStream: SLAMServiceGetPointCloudMapStream;
88
78
  static readonly GetInternalStateStream: SLAMServiceGetInternalStateStream;
89
79
  static readonly DoCommand: SLAMServiceDoCommand;
@@ -130,15 +120,8 @@ export class SLAMServiceClient {
130
120
  requestMessage: service_slam_v1_slam_pb.GetPositionRequest,
131
121
  callback: (error: ServiceError|null, responseMessage: service_slam_v1_slam_pb.GetPositionResponse|null) => void
132
122
  ): UnaryResponse;
133
- getMap(
134
- requestMessage: service_slam_v1_slam_pb.GetMapRequest,
135
- metadata: grpc.Metadata,
136
- callback: (error: ServiceError|null, responseMessage: service_slam_v1_slam_pb.GetMapResponse|null) => void
137
- ): UnaryResponse;
138
- getMap(
139
- requestMessage: service_slam_v1_slam_pb.GetMapRequest,
140
- callback: (error: ServiceError|null, responseMessage: service_slam_v1_slam_pb.GetMapResponse|null) => void
141
- ): UnaryResponse;
123
+ getPointCloudMap(requestMessage: service_slam_v1_slam_pb.GetPointCloudMapRequest, metadata?: grpc.Metadata): ResponseStream<service_slam_v1_slam_pb.GetPointCloudMapResponse>;
124
+ getInternalState(requestMessage: service_slam_v1_slam_pb.GetInternalStateRequest, metadata?: grpc.Metadata): ResponseStream<service_slam_v1_slam_pb.GetInternalStateResponse>;
142
125
  getPositionNew(
143
126
  requestMessage: service_slam_v1_slam_pb.GetPositionNewRequest,
144
127
  metadata: grpc.Metadata,
@@ -148,24 +131,6 @@ export class SLAMServiceClient {
148
131
  requestMessage: service_slam_v1_slam_pb.GetPositionNewRequest,
149
132
  callback: (error: ServiceError|null, responseMessage: service_slam_v1_slam_pb.GetPositionNewResponse|null) => void
150
133
  ): UnaryResponse;
151
- getPointCloudMap(
152
- requestMessage: service_slam_v1_slam_pb.GetPointCloudMapRequest,
153
- metadata: grpc.Metadata,
154
- callback: (error: ServiceError|null, responseMessage: service_slam_v1_slam_pb.GetPointCloudMapResponse|null) => void
155
- ): UnaryResponse;
156
- getPointCloudMap(
157
- requestMessage: service_slam_v1_slam_pb.GetPointCloudMapRequest,
158
- callback: (error: ServiceError|null, responseMessage: service_slam_v1_slam_pb.GetPointCloudMapResponse|null) => void
159
- ): UnaryResponse;
160
- getInternalState(
161
- requestMessage: service_slam_v1_slam_pb.GetInternalStateRequest,
162
- metadata: grpc.Metadata,
163
- callback: (error: ServiceError|null, responseMessage: service_slam_v1_slam_pb.GetInternalStateResponse|null) => void
164
- ): UnaryResponse;
165
- getInternalState(
166
- requestMessage: service_slam_v1_slam_pb.GetInternalStateRequest,
167
- callback: (error: ServiceError|null, responseMessage: service_slam_v1_slam_pb.GetInternalStateResponse|null) => void
168
- ): UnaryResponse;
169
134
  getPointCloudMapStream(requestMessage: service_slam_v1_slam_pb.GetPointCloudMapStreamRequest, metadata?: grpc.Metadata): ResponseStream<service_slam_v1_slam_pb.GetPointCloudMapStreamResponse>;
170
135
  getInternalStateStream(requestMessage: service_slam_v1_slam_pb.GetInternalStateStreamRequest, metadata?: grpc.Metadata): ResponseStream<service_slam_v1_slam_pb.GetInternalStateStreamResponse>;
171
136
  doCommand(