griip-core-dev 0.5.6.dev25546__py3-none-any.whl
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.
- griip_core/__init__.py +0 -0
- griip_core/generated/__init__.py +0 -0
- griip_core/generated/griip_pb2.py +147 -0
- griip_core/generated/griip_pb2.pyi +669 -0
- griip_core/generated/griip_pb2_grpc.py +721 -0
- griip_core/generated/griip_pb2_grpc.pyi +570 -0
- griip_core/hardware/__init__.py +0 -0
- griip_core/hardware/tests/__init__.py +0 -0
- griip_core/hardware/tests/test_vrmcs_registration.py +179 -0
- griip_core/hardware/vrmcs_client.py +1257 -0
- griip_core/hardware/vrmcs_client.pyi +147 -0
- griip_core/hardware/vrmcs_registration.py +129 -0
- griip_core/py.typed +0 -0
- griip_core/robot_drivers.py +6 -0
- griip_core/utils/__init__.py +0 -0
- griip_core/utils/joint_math.py +90 -0
- griip_core/utils/tests/__init__.py +0 -0
- griip_core/utils/tests/test_joint_math.py +116 -0
- griip_core/utils/transforms.py +42 -0
- griip_core_dev-0.5.6.dev25546.dist-info/METADATA +12 -0
- griip_core_dev-0.5.6.dev25546.dist-info/RECORD +22 -0
- griip_core_dev-0.5.6.dev25546.dist-info/WHEEL +4 -0
|
@@ -0,0 +1,570 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
import abc
|
|
7
|
+
import collections.abc
|
|
8
|
+
import griip_pb2
|
|
9
|
+
import grpc
|
|
10
|
+
import grpc.aio
|
|
11
|
+
import sys
|
|
12
|
+
import typing
|
|
13
|
+
|
|
14
|
+
if sys.version_info >= (3, 13):
|
|
15
|
+
import typing as typing_extensions
|
|
16
|
+
else:
|
|
17
|
+
import typing_extensions
|
|
18
|
+
|
|
19
|
+
_T = typing.TypeVar("_T")
|
|
20
|
+
|
|
21
|
+
class _MaybeAsyncIterator(collections.abc.AsyncIterator[_T], collections.abc.Iterator[_T], metaclass=abc.ABCMeta): ...
|
|
22
|
+
|
|
23
|
+
class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type: ignore[misc, type-arg]
|
|
24
|
+
...
|
|
25
|
+
|
|
26
|
+
GRPC_GENERATED_VERSION: str
|
|
27
|
+
GRPC_VERSION: str
|
|
28
|
+
_GriipApiAdminInitializeType = typing_extensions.TypeVar(
|
|
29
|
+
'_GriipApiAdminInitializeType',
|
|
30
|
+
grpc.UnaryUnaryMultiCallable[
|
|
31
|
+
griip_pb2.InitializeRequest,
|
|
32
|
+
griip_pb2.InitializeResponse,
|
|
33
|
+
],
|
|
34
|
+
grpc.aio.UnaryUnaryMultiCallable[
|
|
35
|
+
griip_pb2.InitializeRequest,
|
|
36
|
+
griip_pb2.InitializeResponse,
|
|
37
|
+
],
|
|
38
|
+
default=grpc.UnaryUnaryMultiCallable[
|
|
39
|
+
griip_pb2.InitializeRequest,
|
|
40
|
+
griip_pb2.InitializeResponse,
|
|
41
|
+
],
|
|
42
|
+
)
|
|
43
|
+
|
|
44
|
+
_GriipApiAdminStartPerceptionMcapRecordingType = typing_extensions.TypeVar(
|
|
45
|
+
'_GriipApiAdminStartPerceptionMcapRecordingType',
|
|
46
|
+
grpc.UnaryUnaryMultiCallable[
|
|
47
|
+
griip_pb2.StartPerceptionMcapRecordingRequest,
|
|
48
|
+
griip_pb2.StartPerceptionMcapRecordingResponse,
|
|
49
|
+
],
|
|
50
|
+
grpc.aio.UnaryUnaryMultiCallable[
|
|
51
|
+
griip_pb2.StartPerceptionMcapRecordingRequest,
|
|
52
|
+
griip_pb2.StartPerceptionMcapRecordingResponse,
|
|
53
|
+
],
|
|
54
|
+
default=grpc.UnaryUnaryMultiCallable[
|
|
55
|
+
griip_pb2.StartPerceptionMcapRecordingRequest,
|
|
56
|
+
griip_pb2.StartPerceptionMcapRecordingResponse,
|
|
57
|
+
],
|
|
58
|
+
)
|
|
59
|
+
|
|
60
|
+
_GriipApiAdminStopPerceptionMcapRecordingType = typing_extensions.TypeVar(
|
|
61
|
+
'_GriipApiAdminStopPerceptionMcapRecordingType',
|
|
62
|
+
grpc.UnaryUnaryMultiCallable[
|
|
63
|
+
griip_pb2.StopPerceptionMcapRecordingRequest,
|
|
64
|
+
griip_pb2.StopPerceptionMcapRecordingResponse,
|
|
65
|
+
],
|
|
66
|
+
grpc.aio.UnaryUnaryMultiCallable[
|
|
67
|
+
griip_pb2.StopPerceptionMcapRecordingRequest,
|
|
68
|
+
griip_pb2.StopPerceptionMcapRecordingResponse,
|
|
69
|
+
],
|
|
70
|
+
default=grpc.UnaryUnaryMultiCallable[
|
|
71
|
+
griip_pb2.StopPerceptionMcapRecordingRequest,
|
|
72
|
+
griip_pb2.StopPerceptionMcapRecordingResponse,
|
|
73
|
+
],
|
|
74
|
+
)
|
|
75
|
+
|
|
76
|
+
class GriipApiAdminStub(typing.Generic[_GriipApiAdminInitializeType, _GriipApiAdminStartPerceptionMcapRecordingType, _GriipApiAdminStopPerceptionMcapRecordingType]):
|
|
77
|
+
"""---------------------------------------------------------------------------
|
|
78
|
+
GriipApiAdmin
|
|
79
|
+
|
|
80
|
+
One-shot warm-up RPC. The API process starts idle (no yaml on disk, no env
|
|
81
|
+
var) and rejects Pick/Plan/Place RPCs with UNAVAILABLE until Initialize
|
|
82
|
+
returns OK. The SDK consumer calls Initialize from its app yaml's cell
|
|
83
|
+
+ active part. Calling Initialize a second time atomically swaps the
|
|
84
|
+
subsystems for the new config (e.g. switching parts).
|
|
85
|
+
---------------------------------------------------------------------------
|
|
86
|
+
"""
|
|
87
|
+
|
|
88
|
+
@typing.overload
|
|
89
|
+
def __init__(self: GriipApiAdminStub[
|
|
90
|
+
grpc.UnaryUnaryMultiCallable[
|
|
91
|
+
griip_pb2.InitializeRequest,
|
|
92
|
+
griip_pb2.InitializeResponse,
|
|
93
|
+
],
|
|
94
|
+
grpc.UnaryUnaryMultiCallable[
|
|
95
|
+
griip_pb2.StartPerceptionMcapRecordingRequest,
|
|
96
|
+
griip_pb2.StartPerceptionMcapRecordingResponse,
|
|
97
|
+
],
|
|
98
|
+
grpc.UnaryUnaryMultiCallable[
|
|
99
|
+
griip_pb2.StopPerceptionMcapRecordingRequest,
|
|
100
|
+
griip_pb2.StopPerceptionMcapRecordingResponse,
|
|
101
|
+
],
|
|
102
|
+
], channel: grpc.Channel) -> None: ...
|
|
103
|
+
|
|
104
|
+
@typing.overload
|
|
105
|
+
def __init__(self: GriipApiAdminStub[
|
|
106
|
+
grpc.aio.UnaryUnaryMultiCallable[
|
|
107
|
+
griip_pb2.InitializeRequest,
|
|
108
|
+
griip_pb2.InitializeResponse,
|
|
109
|
+
],
|
|
110
|
+
grpc.aio.UnaryUnaryMultiCallable[
|
|
111
|
+
griip_pb2.StartPerceptionMcapRecordingRequest,
|
|
112
|
+
griip_pb2.StartPerceptionMcapRecordingResponse,
|
|
113
|
+
],
|
|
114
|
+
grpc.aio.UnaryUnaryMultiCallable[
|
|
115
|
+
griip_pb2.StopPerceptionMcapRecordingRequest,
|
|
116
|
+
griip_pb2.StopPerceptionMcapRecordingResponse,
|
|
117
|
+
],
|
|
118
|
+
], channel: grpc.aio.Channel) -> None: ...
|
|
119
|
+
|
|
120
|
+
Initialize: _GriipApiAdminInitializeType
|
|
121
|
+
|
|
122
|
+
StartPerceptionMcapRecording: _GriipApiAdminStartPerceptionMcapRecordingType
|
|
123
|
+
|
|
124
|
+
StopPerceptionMcapRecording: _GriipApiAdminStopPerceptionMcapRecordingType
|
|
125
|
+
|
|
126
|
+
GriipApiAdminAsyncStub: typing_extensions.TypeAlias = GriipApiAdminStub[
|
|
127
|
+
grpc.aio.UnaryUnaryMultiCallable[
|
|
128
|
+
griip_pb2.InitializeRequest,
|
|
129
|
+
griip_pb2.InitializeResponse,
|
|
130
|
+
],
|
|
131
|
+
grpc.aio.UnaryUnaryMultiCallable[
|
|
132
|
+
griip_pb2.StartPerceptionMcapRecordingRequest,
|
|
133
|
+
griip_pb2.StartPerceptionMcapRecordingResponse,
|
|
134
|
+
],
|
|
135
|
+
grpc.aio.UnaryUnaryMultiCallable[
|
|
136
|
+
griip_pb2.StopPerceptionMcapRecordingRequest,
|
|
137
|
+
griip_pb2.StopPerceptionMcapRecordingResponse,
|
|
138
|
+
],
|
|
139
|
+
]
|
|
140
|
+
|
|
141
|
+
class GriipApiAdminServicer(metaclass=abc.ABCMeta):
|
|
142
|
+
"""---------------------------------------------------------------------------
|
|
143
|
+
GriipApiAdmin
|
|
144
|
+
|
|
145
|
+
One-shot warm-up RPC. The API process starts idle (no yaml on disk, no env
|
|
146
|
+
var) and rejects Pick/Plan/Place RPCs with UNAVAILABLE until Initialize
|
|
147
|
+
returns OK. The SDK consumer calls Initialize from its app yaml's cell
|
|
148
|
+
+ active part. Calling Initialize a second time atomically swaps the
|
|
149
|
+
subsystems for the new config (e.g. switching parts).
|
|
150
|
+
---------------------------------------------------------------------------
|
|
151
|
+
"""
|
|
152
|
+
|
|
153
|
+
@abc.abstractmethod
|
|
154
|
+
def Initialize(
|
|
155
|
+
self,
|
|
156
|
+
request: griip_pb2.InitializeRequest,
|
|
157
|
+
context: _ServicerContext,
|
|
158
|
+
) -> typing.Union[griip_pb2.InitializeResponse, collections.abc.Awaitable[griip_pb2.InitializeResponse]]: ...
|
|
159
|
+
|
|
160
|
+
@abc.abstractmethod
|
|
161
|
+
def StartPerceptionMcapRecording(
|
|
162
|
+
self,
|
|
163
|
+
request: griip_pb2.StartPerceptionMcapRecordingRequest,
|
|
164
|
+
context: _ServicerContext,
|
|
165
|
+
) -> typing.Union[griip_pb2.StartPerceptionMcapRecordingResponse, collections.abc.Awaitable[griip_pb2.StartPerceptionMcapRecordingResponse]]: ...
|
|
166
|
+
|
|
167
|
+
@abc.abstractmethod
|
|
168
|
+
def StopPerceptionMcapRecording(
|
|
169
|
+
self,
|
|
170
|
+
request: griip_pb2.StopPerceptionMcapRecordingRequest,
|
|
171
|
+
context: _ServicerContext,
|
|
172
|
+
) -> typing.Union[griip_pb2.StopPerceptionMcapRecordingResponse, collections.abc.Awaitable[griip_pb2.StopPerceptionMcapRecordingResponse]]: ...
|
|
173
|
+
|
|
174
|
+
def add_GriipApiAdminServicer_to_server(servicer: GriipApiAdminServicer, server: typing.Union[grpc.Server, grpc.aio.Server]) -> None: ...
|
|
175
|
+
|
|
176
|
+
_PlanningServiceConfigurePlannerType = typing_extensions.TypeVar(
|
|
177
|
+
'_PlanningServiceConfigurePlannerType',
|
|
178
|
+
grpc.UnaryUnaryMultiCallable[
|
|
179
|
+
griip_pb2.ConfigurePlannerRequest,
|
|
180
|
+
griip_pb2.ConfigurePlannerResponse,
|
|
181
|
+
],
|
|
182
|
+
grpc.aio.UnaryUnaryMultiCallable[
|
|
183
|
+
griip_pb2.ConfigurePlannerRequest,
|
|
184
|
+
griip_pb2.ConfigurePlannerResponse,
|
|
185
|
+
],
|
|
186
|
+
default=grpc.UnaryUnaryMultiCallable[
|
|
187
|
+
griip_pb2.ConfigurePlannerRequest,
|
|
188
|
+
griip_pb2.ConfigurePlannerResponse,
|
|
189
|
+
],
|
|
190
|
+
)
|
|
191
|
+
|
|
192
|
+
_PlanningServicePlanPathType = typing_extensions.TypeVar(
|
|
193
|
+
'_PlanningServicePlanPathType',
|
|
194
|
+
grpc.UnaryUnaryMultiCallable[
|
|
195
|
+
griip_pb2.PlanPathRequest,
|
|
196
|
+
griip_pb2.PlanPathResponse,
|
|
197
|
+
],
|
|
198
|
+
grpc.aio.UnaryUnaryMultiCallable[
|
|
199
|
+
griip_pb2.PlanPathRequest,
|
|
200
|
+
griip_pb2.PlanPathResponse,
|
|
201
|
+
],
|
|
202
|
+
default=grpc.UnaryUnaryMultiCallable[
|
|
203
|
+
griip_pb2.PlanPathRequest,
|
|
204
|
+
griip_pb2.PlanPathResponse,
|
|
205
|
+
],
|
|
206
|
+
)
|
|
207
|
+
|
|
208
|
+
class PlanningServiceStub(typing.Generic[_PlanningServiceConfigurePlannerType, _PlanningServicePlanPathType]):
|
|
209
|
+
"""---------------------------------------------------------------------------
|
|
210
|
+
PlanningService
|
|
211
|
+
---------------------------------------------------------------------------
|
|
212
|
+
"""
|
|
213
|
+
|
|
214
|
+
@typing.overload
|
|
215
|
+
def __init__(self: PlanningServiceStub[
|
|
216
|
+
grpc.UnaryUnaryMultiCallable[
|
|
217
|
+
griip_pb2.ConfigurePlannerRequest,
|
|
218
|
+
griip_pb2.ConfigurePlannerResponse,
|
|
219
|
+
],
|
|
220
|
+
grpc.UnaryUnaryMultiCallable[
|
|
221
|
+
griip_pb2.PlanPathRequest,
|
|
222
|
+
griip_pb2.PlanPathResponse,
|
|
223
|
+
],
|
|
224
|
+
], channel: grpc.Channel) -> None: ...
|
|
225
|
+
|
|
226
|
+
@typing.overload
|
|
227
|
+
def __init__(self: PlanningServiceStub[
|
|
228
|
+
grpc.aio.UnaryUnaryMultiCallable[
|
|
229
|
+
griip_pb2.ConfigurePlannerRequest,
|
|
230
|
+
griip_pb2.ConfigurePlannerResponse,
|
|
231
|
+
],
|
|
232
|
+
grpc.aio.UnaryUnaryMultiCallable[
|
|
233
|
+
griip_pb2.PlanPathRequest,
|
|
234
|
+
griip_pb2.PlanPathResponse,
|
|
235
|
+
],
|
|
236
|
+
], channel: grpc.aio.Channel) -> None: ...
|
|
237
|
+
|
|
238
|
+
ConfigurePlanner: _PlanningServiceConfigurePlannerType
|
|
239
|
+
|
|
240
|
+
PlanPath: _PlanningServicePlanPathType
|
|
241
|
+
|
|
242
|
+
PlanningServiceAsyncStub: typing_extensions.TypeAlias = PlanningServiceStub[
|
|
243
|
+
grpc.aio.UnaryUnaryMultiCallable[
|
|
244
|
+
griip_pb2.ConfigurePlannerRequest,
|
|
245
|
+
griip_pb2.ConfigurePlannerResponse,
|
|
246
|
+
],
|
|
247
|
+
grpc.aio.UnaryUnaryMultiCallable[
|
|
248
|
+
griip_pb2.PlanPathRequest,
|
|
249
|
+
griip_pb2.PlanPathResponse,
|
|
250
|
+
],
|
|
251
|
+
]
|
|
252
|
+
|
|
253
|
+
class PlanningServiceServicer(metaclass=abc.ABCMeta):
|
|
254
|
+
"""---------------------------------------------------------------------------
|
|
255
|
+
PlanningService
|
|
256
|
+
---------------------------------------------------------------------------
|
|
257
|
+
"""
|
|
258
|
+
|
|
259
|
+
@abc.abstractmethod
|
|
260
|
+
def ConfigurePlanner(
|
|
261
|
+
self,
|
|
262
|
+
request: griip_pb2.ConfigurePlannerRequest,
|
|
263
|
+
context: _ServicerContext,
|
|
264
|
+
) -> typing.Union[griip_pb2.ConfigurePlannerResponse, collections.abc.Awaitable[griip_pb2.ConfigurePlannerResponse]]: ...
|
|
265
|
+
|
|
266
|
+
@abc.abstractmethod
|
|
267
|
+
def PlanPath(
|
|
268
|
+
self,
|
|
269
|
+
request: griip_pb2.PlanPathRequest,
|
|
270
|
+
context: _ServicerContext,
|
|
271
|
+
) -> typing.Union[griip_pb2.PlanPathResponse, collections.abc.Awaitable[griip_pb2.PlanPathResponse]]: ...
|
|
272
|
+
|
|
273
|
+
def add_PlanningServiceServicer_to_server(servicer: PlanningServiceServicer, server: typing.Union[grpc.Server, grpc.aio.Server]) -> None: ...
|
|
274
|
+
|
|
275
|
+
_PerceptionServiceEstimateDepthType = typing_extensions.TypeVar(
|
|
276
|
+
'_PerceptionServiceEstimateDepthType',
|
|
277
|
+
grpc.UnaryUnaryMultiCallable[
|
|
278
|
+
griip_pb2.EstimateDepthRequest,
|
|
279
|
+
griip_pb2.EstimateDepthResponse,
|
|
280
|
+
],
|
|
281
|
+
grpc.aio.UnaryUnaryMultiCallable[
|
|
282
|
+
griip_pb2.EstimateDepthRequest,
|
|
283
|
+
griip_pb2.EstimateDepthResponse,
|
|
284
|
+
],
|
|
285
|
+
default=grpc.UnaryUnaryMultiCallable[
|
|
286
|
+
griip_pb2.EstimateDepthRequest,
|
|
287
|
+
griip_pb2.EstimateDepthResponse,
|
|
288
|
+
],
|
|
289
|
+
)
|
|
290
|
+
|
|
291
|
+
_PerceptionServiceDetectObjectsType = typing_extensions.TypeVar(
|
|
292
|
+
'_PerceptionServiceDetectObjectsType',
|
|
293
|
+
grpc.UnaryUnaryMultiCallable[
|
|
294
|
+
griip_pb2.DetectObjectsRequest,
|
|
295
|
+
griip_pb2.DetectObjectsResponse,
|
|
296
|
+
],
|
|
297
|
+
grpc.aio.UnaryUnaryMultiCallable[
|
|
298
|
+
griip_pb2.DetectObjectsRequest,
|
|
299
|
+
griip_pb2.DetectObjectsResponse,
|
|
300
|
+
],
|
|
301
|
+
default=grpc.UnaryUnaryMultiCallable[
|
|
302
|
+
griip_pb2.DetectObjectsRequest,
|
|
303
|
+
griip_pb2.DetectObjectsResponse,
|
|
304
|
+
],
|
|
305
|
+
)
|
|
306
|
+
|
|
307
|
+
_PerceptionServiceEstimatePoseType = typing_extensions.TypeVar(
|
|
308
|
+
'_PerceptionServiceEstimatePoseType',
|
|
309
|
+
grpc.UnaryUnaryMultiCallable[
|
|
310
|
+
griip_pb2.EstimatePoseRequest,
|
|
311
|
+
griip_pb2.EstimatePoseResponse,
|
|
312
|
+
],
|
|
313
|
+
grpc.aio.UnaryUnaryMultiCallable[
|
|
314
|
+
griip_pb2.EstimatePoseRequest,
|
|
315
|
+
griip_pb2.EstimatePoseResponse,
|
|
316
|
+
],
|
|
317
|
+
default=grpc.UnaryUnaryMultiCallable[
|
|
318
|
+
griip_pb2.EstimatePoseRequest,
|
|
319
|
+
griip_pb2.EstimatePoseResponse,
|
|
320
|
+
],
|
|
321
|
+
)
|
|
322
|
+
|
|
323
|
+
class PerceptionServiceStub(typing.Generic[_PerceptionServiceEstimateDepthType, _PerceptionServiceDetectObjectsType, _PerceptionServiceEstimatePoseType]):
|
|
324
|
+
"""---------------------------------------------------------------------------
|
|
325
|
+
PerceptionService
|
|
326
|
+
---------------------------------------------------------------------------
|
|
327
|
+
"""
|
|
328
|
+
|
|
329
|
+
@typing.overload
|
|
330
|
+
def __init__(self: PerceptionServiceStub[
|
|
331
|
+
grpc.UnaryUnaryMultiCallable[
|
|
332
|
+
griip_pb2.EstimateDepthRequest,
|
|
333
|
+
griip_pb2.EstimateDepthResponse,
|
|
334
|
+
],
|
|
335
|
+
grpc.UnaryUnaryMultiCallable[
|
|
336
|
+
griip_pb2.DetectObjectsRequest,
|
|
337
|
+
griip_pb2.DetectObjectsResponse,
|
|
338
|
+
],
|
|
339
|
+
grpc.UnaryUnaryMultiCallable[
|
|
340
|
+
griip_pb2.EstimatePoseRequest,
|
|
341
|
+
griip_pb2.EstimatePoseResponse,
|
|
342
|
+
],
|
|
343
|
+
], channel: grpc.Channel) -> None: ...
|
|
344
|
+
|
|
345
|
+
@typing.overload
|
|
346
|
+
def __init__(self: PerceptionServiceStub[
|
|
347
|
+
grpc.aio.UnaryUnaryMultiCallable[
|
|
348
|
+
griip_pb2.EstimateDepthRequest,
|
|
349
|
+
griip_pb2.EstimateDepthResponse,
|
|
350
|
+
],
|
|
351
|
+
grpc.aio.UnaryUnaryMultiCallable[
|
|
352
|
+
griip_pb2.DetectObjectsRequest,
|
|
353
|
+
griip_pb2.DetectObjectsResponse,
|
|
354
|
+
],
|
|
355
|
+
grpc.aio.UnaryUnaryMultiCallable[
|
|
356
|
+
griip_pb2.EstimatePoseRequest,
|
|
357
|
+
griip_pb2.EstimatePoseResponse,
|
|
358
|
+
],
|
|
359
|
+
], channel: grpc.aio.Channel) -> None: ...
|
|
360
|
+
|
|
361
|
+
EstimateDepth: _PerceptionServiceEstimateDepthType
|
|
362
|
+
|
|
363
|
+
DetectObjects: _PerceptionServiceDetectObjectsType
|
|
364
|
+
|
|
365
|
+
EstimatePose: _PerceptionServiceEstimatePoseType
|
|
366
|
+
|
|
367
|
+
PerceptionServiceAsyncStub: typing_extensions.TypeAlias = PerceptionServiceStub[
|
|
368
|
+
grpc.aio.UnaryUnaryMultiCallable[
|
|
369
|
+
griip_pb2.EstimateDepthRequest,
|
|
370
|
+
griip_pb2.EstimateDepthResponse,
|
|
371
|
+
],
|
|
372
|
+
grpc.aio.UnaryUnaryMultiCallable[
|
|
373
|
+
griip_pb2.DetectObjectsRequest,
|
|
374
|
+
griip_pb2.DetectObjectsResponse,
|
|
375
|
+
],
|
|
376
|
+
grpc.aio.UnaryUnaryMultiCallable[
|
|
377
|
+
griip_pb2.EstimatePoseRequest,
|
|
378
|
+
griip_pb2.EstimatePoseResponse,
|
|
379
|
+
],
|
|
380
|
+
]
|
|
381
|
+
|
|
382
|
+
class PerceptionServiceServicer(metaclass=abc.ABCMeta):
|
|
383
|
+
"""---------------------------------------------------------------------------
|
|
384
|
+
PerceptionService
|
|
385
|
+
---------------------------------------------------------------------------
|
|
386
|
+
"""
|
|
387
|
+
|
|
388
|
+
@abc.abstractmethod
|
|
389
|
+
def EstimateDepth(
|
|
390
|
+
self,
|
|
391
|
+
request: griip_pb2.EstimateDepthRequest,
|
|
392
|
+
context: _ServicerContext,
|
|
393
|
+
) -> typing.Union[griip_pb2.EstimateDepthResponse, collections.abc.Awaitable[griip_pb2.EstimateDepthResponse]]: ...
|
|
394
|
+
|
|
395
|
+
@abc.abstractmethod
|
|
396
|
+
def DetectObjects(
|
|
397
|
+
self,
|
|
398
|
+
request: griip_pb2.DetectObjectsRequest,
|
|
399
|
+
context: _ServicerContext,
|
|
400
|
+
) -> typing.Union[griip_pb2.DetectObjectsResponse, collections.abc.Awaitable[griip_pb2.DetectObjectsResponse]]: ...
|
|
401
|
+
|
|
402
|
+
@abc.abstractmethod
|
|
403
|
+
def EstimatePose(
|
|
404
|
+
self,
|
|
405
|
+
request: griip_pb2.EstimatePoseRequest,
|
|
406
|
+
context: _ServicerContext,
|
|
407
|
+
) -> typing.Union[griip_pb2.EstimatePoseResponse, collections.abc.Awaitable[griip_pb2.EstimatePoseResponse]]: ...
|
|
408
|
+
|
|
409
|
+
def add_PerceptionServiceServicer_to_server(servicer: PerceptionServiceServicer, server: typing.Union[grpc.Server, grpc.aio.Server]) -> None: ...
|
|
410
|
+
|
|
411
|
+
_PickingServiceGeneratePicksType = typing_extensions.TypeVar(
|
|
412
|
+
'_PickingServiceGeneratePicksType',
|
|
413
|
+
grpc.UnaryStreamMultiCallable[
|
|
414
|
+
griip_pb2.GeneratePicksRequest,
|
|
415
|
+
griip_pb2.GeneratePicksResponse,
|
|
416
|
+
],
|
|
417
|
+
grpc.aio.UnaryStreamMultiCallable[
|
|
418
|
+
griip_pb2.GeneratePicksRequest,
|
|
419
|
+
griip_pb2.GeneratePicksResponse,
|
|
420
|
+
],
|
|
421
|
+
default=grpc.UnaryStreamMultiCallable[
|
|
422
|
+
griip_pb2.GeneratePicksRequest,
|
|
423
|
+
griip_pb2.GeneratePicksResponse,
|
|
424
|
+
],
|
|
425
|
+
)
|
|
426
|
+
|
|
427
|
+
_PickingServiceReportSelectedPickType = typing_extensions.TypeVar(
|
|
428
|
+
'_PickingServiceReportSelectedPickType',
|
|
429
|
+
grpc.UnaryUnaryMultiCallable[
|
|
430
|
+
griip_pb2.ReportSelectedPickRequest,
|
|
431
|
+
griip_pb2.ReportSelectedPickResponse,
|
|
432
|
+
],
|
|
433
|
+
grpc.aio.UnaryUnaryMultiCallable[
|
|
434
|
+
griip_pb2.ReportSelectedPickRequest,
|
|
435
|
+
griip_pb2.ReportSelectedPickResponse,
|
|
436
|
+
],
|
|
437
|
+
default=grpc.UnaryUnaryMultiCallable[
|
|
438
|
+
griip_pb2.ReportSelectedPickRequest,
|
|
439
|
+
griip_pb2.ReportSelectedPickResponse,
|
|
440
|
+
],
|
|
441
|
+
)
|
|
442
|
+
|
|
443
|
+
class PickingServiceStub(typing.Generic[_PickingServiceGeneratePicksType, _PickingServiceReportSelectedPickType]):
|
|
444
|
+
"""---------------------------------------------------------------------------
|
|
445
|
+
PickingService
|
|
446
|
+
---------------------------------------------------------------------------
|
|
447
|
+
"""
|
|
448
|
+
|
|
449
|
+
@typing.overload
|
|
450
|
+
def __init__(self: PickingServiceStub[
|
|
451
|
+
grpc.UnaryStreamMultiCallable[
|
|
452
|
+
griip_pb2.GeneratePicksRequest,
|
|
453
|
+
griip_pb2.GeneratePicksResponse,
|
|
454
|
+
],
|
|
455
|
+
grpc.UnaryUnaryMultiCallable[
|
|
456
|
+
griip_pb2.ReportSelectedPickRequest,
|
|
457
|
+
griip_pb2.ReportSelectedPickResponse,
|
|
458
|
+
],
|
|
459
|
+
], channel: grpc.Channel) -> None: ...
|
|
460
|
+
|
|
461
|
+
@typing.overload
|
|
462
|
+
def __init__(self: PickingServiceStub[
|
|
463
|
+
grpc.aio.UnaryStreamMultiCallable[
|
|
464
|
+
griip_pb2.GeneratePicksRequest,
|
|
465
|
+
griip_pb2.GeneratePicksResponse,
|
|
466
|
+
],
|
|
467
|
+
grpc.aio.UnaryUnaryMultiCallable[
|
|
468
|
+
griip_pb2.ReportSelectedPickRequest,
|
|
469
|
+
griip_pb2.ReportSelectedPickResponse,
|
|
470
|
+
],
|
|
471
|
+
], channel: grpc.aio.Channel) -> None: ...
|
|
472
|
+
|
|
473
|
+
GeneratePicks: _PickingServiceGeneratePicksType
|
|
474
|
+
|
|
475
|
+
ReportSelectedPick: _PickingServiceReportSelectedPickType
|
|
476
|
+
|
|
477
|
+
PickingServiceAsyncStub: typing_extensions.TypeAlias = PickingServiceStub[
|
|
478
|
+
grpc.aio.UnaryStreamMultiCallable[
|
|
479
|
+
griip_pb2.GeneratePicksRequest,
|
|
480
|
+
griip_pb2.GeneratePicksResponse,
|
|
481
|
+
],
|
|
482
|
+
grpc.aio.UnaryUnaryMultiCallable[
|
|
483
|
+
griip_pb2.ReportSelectedPickRequest,
|
|
484
|
+
griip_pb2.ReportSelectedPickResponse,
|
|
485
|
+
],
|
|
486
|
+
]
|
|
487
|
+
|
|
488
|
+
class PickingServiceServicer(metaclass=abc.ABCMeta):
|
|
489
|
+
"""---------------------------------------------------------------------------
|
|
490
|
+
PickingService
|
|
491
|
+
---------------------------------------------------------------------------
|
|
492
|
+
"""
|
|
493
|
+
|
|
494
|
+
@abc.abstractmethod
|
|
495
|
+
def GeneratePicks(
|
|
496
|
+
self,
|
|
497
|
+
request: griip_pb2.GeneratePicksRequest,
|
|
498
|
+
context: _ServicerContext,
|
|
499
|
+
) -> typing.Union[collections.abc.Iterator[griip_pb2.GeneratePicksResponse], collections.abc.AsyncIterator[griip_pb2.GeneratePicksResponse]]: ...
|
|
500
|
+
|
|
501
|
+
@abc.abstractmethod
|
|
502
|
+
def ReportSelectedPick(
|
|
503
|
+
self,
|
|
504
|
+
request: griip_pb2.ReportSelectedPickRequest,
|
|
505
|
+
context: _ServicerContext,
|
|
506
|
+
) -> typing.Union[griip_pb2.ReportSelectedPickResponse, collections.abc.Awaitable[griip_pb2.ReportSelectedPickResponse]]: ...
|
|
507
|
+
|
|
508
|
+
def add_PickingServiceServicer_to_server(servicer: PickingServiceServicer, server: typing.Union[grpc.Server, grpc.aio.Server]) -> None: ...
|
|
509
|
+
|
|
510
|
+
_PlacingServiceGeneratePlacementType = typing_extensions.TypeVar(
|
|
511
|
+
'_PlacingServiceGeneratePlacementType',
|
|
512
|
+
grpc.UnaryUnaryMultiCallable[
|
|
513
|
+
griip_pb2.GeneratePlacementRequest,
|
|
514
|
+
griip_pb2.GeneratePlacementResponse,
|
|
515
|
+
],
|
|
516
|
+
grpc.aio.UnaryUnaryMultiCallable[
|
|
517
|
+
griip_pb2.GeneratePlacementRequest,
|
|
518
|
+
griip_pb2.GeneratePlacementResponse,
|
|
519
|
+
],
|
|
520
|
+
default=grpc.UnaryUnaryMultiCallable[
|
|
521
|
+
griip_pb2.GeneratePlacementRequest,
|
|
522
|
+
griip_pb2.GeneratePlacementResponse,
|
|
523
|
+
],
|
|
524
|
+
)
|
|
525
|
+
|
|
526
|
+
class PlacingServiceStub(typing.Generic[_PlacingServiceGeneratePlacementType]):
|
|
527
|
+
"""---------------------------------------------------------------------------
|
|
528
|
+
PlacingService
|
|
529
|
+
---------------------------------------------------------------------------
|
|
530
|
+
"""
|
|
531
|
+
|
|
532
|
+
@typing.overload
|
|
533
|
+
def __init__(self: PlacingServiceStub[
|
|
534
|
+
grpc.UnaryUnaryMultiCallable[
|
|
535
|
+
griip_pb2.GeneratePlacementRequest,
|
|
536
|
+
griip_pb2.GeneratePlacementResponse,
|
|
537
|
+
],
|
|
538
|
+
], channel: grpc.Channel) -> None: ...
|
|
539
|
+
|
|
540
|
+
@typing.overload
|
|
541
|
+
def __init__(self: PlacingServiceStub[
|
|
542
|
+
grpc.aio.UnaryUnaryMultiCallable[
|
|
543
|
+
griip_pb2.GeneratePlacementRequest,
|
|
544
|
+
griip_pb2.GeneratePlacementResponse,
|
|
545
|
+
],
|
|
546
|
+
], channel: grpc.aio.Channel) -> None: ...
|
|
547
|
+
|
|
548
|
+
GeneratePlacement: _PlacingServiceGeneratePlacementType
|
|
549
|
+
|
|
550
|
+
PlacingServiceAsyncStub: typing_extensions.TypeAlias = PlacingServiceStub[
|
|
551
|
+
grpc.aio.UnaryUnaryMultiCallable[
|
|
552
|
+
griip_pb2.GeneratePlacementRequest,
|
|
553
|
+
griip_pb2.GeneratePlacementResponse,
|
|
554
|
+
],
|
|
555
|
+
]
|
|
556
|
+
|
|
557
|
+
class PlacingServiceServicer(metaclass=abc.ABCMeta):
|
|
558
|
+
"""---------------------------------------------------------------------------
|
|
559
|
+
PlacingService
|
|
560
|
+
---------------------------------------------------------------------------
|
|
561
|
+
"""
|
|
562
|
+
|
|
563
|
+
@abc.abstractmethod
|
|
564
|
+
def GeneratePlacement(
|
|
565
|
+
self,
|
|
566
|
+
request: griip_pb2.GeneratePlacementRequest,
|
|
567
|
+
context: _ServicerContext,
|
|
568
|
+
) -> typing.Union[griip_pb2.GeneratePlacementResponse, collections.abc.Awaitable[griip_pb2.GeneratePlacementResponse]]: ...
|
|
569
|
+
|
|
570
|
+
def add_PlacingServiceServicer_to_server(servicer: PlacingServiceServicer, server: typing.Union[grpc.Server, grpc.aio.Server]) -> None: ...
|
|
File without changes
|
|
File without changes
|