2025-11-13 03:01:00 +08:00
|
|
|
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
|
|
|
|
|
"""Client and server classes corresponding to protobuf-defined services."""
|
|
|
|
|
import grpc
|
2026-03-16 09:23:56 +08:00
|
|
|
import warnings
|
2025-11-13 03:01:00 +08:00
|
|
|
|
|
|
|
|
from cmvr.api import dexhand_command_pb2 as cmvr_dot_api_dot_dexhand__command__pb2
|
|
|
|
|
|
2026-03-16 09:23:56 +08:00
|
|
|
GRPC_GENERATED_VERSION = '1.76.0'
|
|
|
|
|
GRPC_VERSION = grpc.__version__
|
|
|
|
|
_version_not_supported = False
|
|
|
|
|
|
|
|
|
|
try:
|
|
|
|
|
from grpc._utilities import first_version_is_lower
|
|
|
|
|
_version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
|
|
|
|
|
except ImportError:
|
|
|
|
|
_version_not_supported = True
|
|
|
|
|
|
|
|
|
|
if _version_not_supported:
|
|
|
|
|
raise RuntimeError(
|
|
|
|
|
f'The grpc package installed is at version {GRPC_VERSION},'
|
|
|
|
|
+ ' but the generated code in cmvr/api/dexhand_service_pb2_grpc.py depends on'
|
|
|
|
|
+ f' grpcio>={GRPC_GENERATED_VERSION}.'
|
|
|
|
|
+ f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
|
|
|
|
|
+ f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
|
|
|
|
|
)
|
|
|
|
|
|
2025-11-13 03:01:00 +08:00
|
|
|
|
|
|
|
|
class DexHandServiceStub(object):
|
|
|
|
|
"""Missing associated documentation comment in .proto file."""
|
|
|
|
|
|
|
|
|
|
def __init__(self, channel):
|
|
|
|
|
"""Constructor.
|
|
|
|
|
|
|
|
|
|
Args:
|
|
|
|
|
channel: A grpc.Channel.
|
|
|
|
|
"""
|
|
|
|
|
self.GetStatus = channel.unary_unary(
|
|
|
|
|
'/cmvr.api.DexHandService/GetStatus',
|
|
|
|
|
request_serializer=cmvr_dot_api_dot_dexhand__command__pb2.GetDexHandStateCommand.Request.SerializeToString,
|
|
|
|
|
response_deserializer=cmvr_dot_api_dot_dexhand__command__pb2.GetDexHandStateCommand.Feedback.FromString,
|
2026-03-16 09:23:56 +08:00
|
|
|
_registered_method=True)
|
2025-11-13 03:01:00 +08:00
|
|
|
self.SetDexHandPos = channel.unary_unary(
|
|
|
|
|
'/cmvr.api.DexHandService/SetDexHandPos',
|
|
|
|
|
request_serializer=cmvr_dot_api_dot_dexhand__command__pb2.SetDexHandPositionsCommand.Request.SerializeToString,
|
|
|
|
|
response_deserializer=cmvr_dot_api_dot_dexhand__command__pb2.SetDexHandPositionsCommand.Feedback.FromString,
|
2026-03-16 09:23:56 +08:00
|
|
|
_registered_method=True)
|
2025-11-13 03:01:00 +08:00
|
|
|
self.SetDexHandAngle = channel.unary_unary(
|
|
|
|
|
'/cmvr.api.DexHandService/SetDexHandAngle',
|
|
|
|
|
request_serializer=cmvr_dot_api_dot_dexhand__command__pb2.SetDexHandAnglesCommand.Request.SerializeToString,
|
|
|
|
|
response_deserializer=cmvr_dot_api_dot_dexhand__command__pb2.SetDexHandAnglesCommand.Feedback.FromString,
|
2026-03-16 09:23:56 +08:00
|
|
|
_registered_method=True)
|
2025-11-13 03:01:00 +08:00
|
|
|
self.SetDexHandForce = channel.unary_unary(
|
|
|
|
|
'/cmvr.api.DexHandService/SetDexHandForce',
|
|
|
|
|
request_serializer=cmvr_dot_api_dot_dexhand__command__pb2.SetDexHandForceCommand.Request.SerializeToString,
|
|
|
|
|
response_deserializer=cmvr_dot_api_dot_dexhand__command__pb2.SetDexHandForceCommand.Feedback.FromString,
|
2026-03-16 09:23:56 +08:00
|
|
|
_registered_method=True)
|
2025-11-13 03:01:00 +08:00
|
|
|
self.SetDexHandSpeed = channel.unary_unary(
|
|
|
|
|
'/cmvr.api.DexHandService/SetDexHandSpeed',
|
|
|
|
|
request_serializer=cmvr_dot_api_dot_dexhand__command__pb2.SetDexHandSpeedCommand.Request.SerializeToString,
|
|
|
|
|
response_deserializer=cmvr_dot_api_dot_dexhand__command__pb2.SetDexHandSpeedCommand.Feedback.FromString,
|
2026-03-16 09:23:56 +08:00
|
|
|
_registered_method=True)
|
2025-11-13 03:01:00 +08:00
|
|
|
self.SetDexHandPresetAct = channel.unary_unary(
|
|
|
|
|
'/cmvr.api.DexHandService/SetDexHandPresetAct',
|
|
|
|
|
request_serializer=cmvr_dot_api_dot_dexhand__command__pb2.SetDexHandPresetActCommand.Request.SerializeToString,
|
|
|
|
|
response_deserializer=cmvr_dot_api_dot_dexhand__command__pb2.SetDexHandPresetActCommand.Feedback.FromString,
|
2026-03-16 09:23:56 +08:00
|
|
|
_registered_method=True)
|
2025-11-13 03:01:00 +08:00
|
|
|
self.GetSensorData = channel.unary_unary(
|
|
|
|
|
'/cmvr.api.DexHandService/GetSensorData',
|
|
|
|
|
request_serializer=cmvr_dot_api_dot_dexhand__command__pb2.GetSensorDataCommand.Request.SerializeToString,
|
|
|
|
|
response_deserializer=cmvr_dot_api_dot_dexhand__command__pb2.GetSensorDataCommand.Feedback.FromString,
|
2026-03-16 09:23:56 +08:00
|
|
|
_registered_method=True)
|
2025-11-13 03:01:00 +08:00
|
|
|
self.GetSensorDataStream = channel.stream_stream(
|
|
|
|
|
'/cmvr.api.DexHandService/GetSensorDataStream',
|
|
|
|
|
request_serializer=cmvr_dot_api_dot_dexhand__command__pb2.GetSensorDataStreamCommand.Request.SerializeToString,
|
|
|
|
|
response_deserializer=cmvr_dot_api_dot_dexhand__command__pb2.GetSensorDataStreamCommand.Feedback.FromString,
|
2026-03-16 09:23:56 +08:00
|
|
|
_registered_method=True)
|
2025-11-13 03:01:00 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
class DexHandServiceServicer(object):
|
|
|
|
|
"""Missing associated documentation comment in .proto file."""
|
|
|
|
|
|
|
|
|
|
def GetStatus(self, request, context):
|
|
|
|
|
"""基本控制
|
|
|
|
|
"""
|
|
|
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
|
|
|
context.set_details('Method not implemented!')
|
|
|
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
|
|
|
|
|
|
def SetDexHandPos(self, request, context):
|
|
|
|
|
"""Missing associated documentation comment in .proto file."""
|
|
|
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
|
|
|
context.set_details('Method not implemented!')
|
|
|
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
|
|
|
|
|
|
def SetDexHandAngle(self, request, context):
|
|
|
|
|
"""Missing associated documentation comment in .proto file."""
|
|
|
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
|
|
|
context.set_details('Method not implemented!')
|
|
|
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
|
|
|
|
|
|
def SetDexHandForce(self, request, context):
|
|
|
|
|
"""Missing associated documentation comment in .proto file."""
|
|
|
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
|
|
|
context.set_details('Method not implemented!')
|
|
|
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
|
|
|
|
|
|
def SetDexHandSpeed(self, request, context):
|
|
|
|
|
"""Missing associated documentation comment in .proto file."""
|
|
|
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
|
|
|
context.set_details('Method not implemented!')
|
|
|
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
|
|
|
|
|
|
def SetDexHandPresetAct(self, request, context):
|
|
|
|
|
"""Missing associated documentation comment in .proto file."""
|
|
|
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
|
|
|
context.set_details('Method not implemented!')
|
|
|
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
|
|
|
|
|
|
def GetSensorData(self, request, context):
|
|
|
|
|
"""Missing associated documentation comment in .proto file."""
|
|
|
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
|
|
|
context.set_details('Method not implemented!')
|
|
|
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
|
|
|
|
|
|
def GetSensorDataStream(self, request_iterator, context):
|
|
|
|
|
"""Missing associated documentation comment in .proto file."""
|
|
|
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
|
|
|
context.set_details('Method not implemented!')
|
|
|
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def add_DexHandServiceServicer_to_server(servicer, server):
|
|
|
|
|
rpc_method_handlers = {
|
|
|
|
|
'GetStatus': grpc.unary_unary_rpc_method_handler(
|
|
|
|
|
servicer.GetStatus,
|
|
|
|
|
request_deserializer=cmvr_dot_api_dot_dexhand__command__pb2.GetDexHandStateCommand.Request.FromString,
|
|
|
|
|
response_serializer=cmvr_dot_api_dot_dexhand__command__pb2.GetDexHandStateCommand.Feedback.SerializeToString,
|
|
|
|
|
),
|
|
|
|
|
'SetDexHandPos': grpc.unary_unary_rpc_method_handler(
|
|
|
|
|
servicer.SetDexHandPos,
|
|
|
|
|
request_deserializer=cmvr_dot_api_dot_dexhand__command__pb2.SetDexHandPositionsCommand.Request.FromString,
|
|
|
|
|
response_serializer=cmvr_dot_api_dot_dexhand__command__pb2.SetDexHandPositionsCommand.Feedback.SerializeToString,
|
|
|
|
|
),
|
|
|
|
|
'SetDexHandAngle': grpc.unary_unary_rpc_method_handler(
|
|
|
|
|
servicer.SetDexHandAngle,
|
|
|
|
|
request_deserializer=cmvr_dot_api_dot_dexhand__command__pb2.SetDexHandAnglesCommand.Request.FromString,
|
|
|
|
|
response_serializer=cmvr_dot_api_dot_dexhand__command__pb2.SetDexHandAnglesCommand.Feedback.SerializeToString,
|
|
|
|
|
),
|
|
|
|
|
'SetDexHandForce': grpc.unary_unary_rpc_method_handler(
|
|
|
|
|
servicer.SetDexHandForce,
|
|
|
|
|
request_deserializer=cmvr_dot_api_dot_dexhand__command__pb2.SetDexHandForceCommand.Request.FromString,
|
|
|
|
|
response_serializer=cmvr_dot_api_dot_dexhand__command__pb2.SetDexHandForceCommand.Feedback.SerializeToString,
|
|
|
|
|
),
|
|
|
|
|
'SetDexHandSpeed': grpc.unary_unary_rpc_method_handler(
|
|
|
|
|
servicer.SetDexHandSpeed,
|
|
|
|
|
request_deserializer=cmvr_dot_api_dot_dexhand__command__pb2.SetDexHandSpeedCommand.Request.FromString,
|
|
|
|
|
response_serializer=cmvr_dot_api_dot_dexhand__command__pb2.SetDexHandSpeedCommand.Feedback.SerializeToString,
|
|
|
|
|
),
|
|
|
|
|
'SetDexHandPresetAct': grpc.unary_unary_rpc_method_handler(
|
|
|
|
|
servicer.SetDexHandPresetAct,
|
|
|
|
|
request_deserializer=cmvr_dot_api_dot_dexhand__command__pb2.SetDexHandPresetActCommand.Request.FromString,
|
|
|
|
|
response_serializer=cmvr_dot_api_dot_dexhand__command__pb2.SetDexHandPresetActCommand.Feedback.SerializeToString,
|
|
|
|
|
),
|
|
|
|
|
'GetSensorData': grpc.unary_unary_rpc_method_handler(
|
|
|
|
|
servicer.GetSensorData,
|
|
|
|
|
request_deserializer=cmvr_dot_api_dot_dexhand__command__pb2.GetSensorDataCommand.Request.FromString,
|
|
|
|
|
response_serializer=cmvr_dot_api_dot_dexhand__command__pb2.GetSensorDataCommand.Feedback.SerializeToString,
|
|
|
|
|
),
|
|
|
|
|
'GetSensorDataStream': grpc.stream_stream_rpc_method_handler(
|
|
|
|
|
servicer.GetSensorDataStream,
|
|
|
|
|
request_deserializer=cmvr_dot_api_dot_dexhand__command__pb2.GetSensorDataStreamCommand.Request.FromString,
|
|
|
|
|
response_serializer=cmvr_dot_api_dot_dexhand__command__pb2.GetSensorDataStreamCommand.Feedback.SerializeToString,
|
|
|
|
|
),
|
|
|
|
|
}
|
|
|
|
|
generic_handler = grpc.method_handlers_generic_handler(
|
|
|
|
|
'cmvr.api.DexHandService', rpc_method_handlers)
|
|
|
|
|
server.add_generic_rpc_handlers((generic_handler,))
|
2026-03-16 09:23:56 +08:00
|
|
|
server.add_registered_method_handlers('cmvr.api.DexHandService', rpc_method_handlers)
|
2025-11-13 03:01:00 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
# This class is part of an EXPERIMENTAL API.
|
|
|
|
|
class DexHandService(object):
|
|
|
|
|
"""Missing associated documentation comment in .proto file."""
|
|
|
|
|
|
|
|
|
|
@staticmethod
|
|
|
|
|
def GetStatus(request,
|
|
|
|
|
target,
|
|
|
|
|
options=(),
|
|
|
|
|
channel_credentials=None,
|
|
|
|
|
call_credentials=None,
|
|
|
|
|
insecure=False,
|
|
|
|
|
compression=None,
|
|
|
|
|
wait_for_ready=None,
|
|
|
|
|
timeout=None,
|
|
|
|
|
metadata=None):
|
2026-03-16 09:23:56 +08:00
|
|
|
return grpc.experimental.unary_unary(
|
|
|
|
|
request,
|
|
|
|
|
target,
|
|
|
|
|
'/cmvr.api.DexHandService/GetStatus',
|
2025-11-13 03:01:00 +08:00
|
|
|
cmvr_dot_api_dot_dexhand__command__pb2.GetDexHandStateCommand.Request.SerializeToString,
|
|
|
|
|
cmvr_dot_api_dot_dexhand__command__pb2.GetDexHandStateCommand.Feedback.FromString,
|
2026-03-16 09:23:56 +08:00
|
|
|
options,
|
|
|
|
|
channel_credentials,
|
|
|
|
|
insecure,
|
|
|
|
|
call_credentials,
|
|
|
|
|
compression,
|
|
|
|
|
wait_for_ready,
|
|
|
|
|
timeout,
|
|
|
|
|
metadata,
|
|
|
|
|
_registered_method=True)
|
2025-11-13 03:01:00 +08:00
|
|
|
|
|
|
|
|
@staticmethod
|
|
|
|
|
def SetDexHandPos(request,
|
|
|
|
|
target,
|
|
|
|
|
options=(),
|
|
|
|
|
channel_credentials=None,
|
|
|
|
|
call_credentials=None,
|
|
|
|
|
insecure=False,
|
|
|
|
|
compression=None,
|
|
|
|
|
wait_for_ready=None,
|
|
|
|
|
timeout=None,
|
|
|
|
|
metadata=None):
|
2026-03-16 09:23:56 +08:00
|
|
|
return grpc.experimental.unary_unary(
|
|
|
|
|
request,
|
|
|
|
|
target,
|
|
|
|
|
'/cmvr.api.DexHandService/SetDexHandPos',
|
2025-11-13 03:01:00 +08:00
|
|
|
cmvr_dot_api_dot_dexhand__command__pb2.SetDexHandPositionsCommand.Request.SerializeToString,
|
|
|
|
|
cmvr_dot_api_dot_dexhand__command__pb2.SetDexHandPositionsCommand.Feedback.FromString,
|
2026-03-16 09:23:56 +08:00
|
|
|
options,
|
|
|
|
|
channel_credentials,
|
|
|
|
|
insecure,
|
|
|
|
|
call_credentials,
|
|
|
|
|
compression,
|
|
|
|
|
wait_for_ready,
|
|
|
|
|
timeout,
|
|
|
|
|
metadata,
|
|
|
|
|
_registered_method=True)
|
2025-11-13 03:01:00 +08:00
|
|
|
|
|
|
|
|
@staticmethod
|
|
|
|
|
def SetDexHandAngle(request,
|
|
|
|
|
target,
|
|
|
|
|
options=(),
|
|
|
|
|
channel_credentials=None,
|
|
|
|
|
call_credentials=None,
|
|
|
|
|
insecure=False,
|
|
|
|
|
compression=None,
|
|
|
|
|
wait_for_ready=None,
|
|
|
|
|
timeout=None,
|
|
|
|
|
metadata=None):
|
2026-03-16 09:23:56 +08:00
|
|
|
return grpc.experimental.unary_unary(
|
|
|
|
|
request,
|
|
|
|
|
target,
|
|
|
|
|
'/cmvr.api.DexHandService/SetDexHandAngle',
|
2025-11-13 03:01:00 +08:00
|
|
|
cmvr_dot_api_dot_dexhand__command__pb2.SetDexHandAnglesCommand.Request.SerializeToString,
|
|
|
|
|
cmvr_dot_api_dot_dexhand__command__pb2.SetDexHandAnglesCommand.Feedback.FromString,
|
2026-03-16 09:23:56 +08:00
|
|
|
options,
|
|
|
|
|
channel_credentials,
|
|
|
|
|
insecure,
|
|
|
|
|
call_credentials,
|
|
|
|
|
compression,
|
|
|
|
|
wait_for_ready,
|
|
|
|
|
timeout,
|
|
|
|
|
metadata,
|
|
|
|
|
_registered_method=True)
|
2025-11-13 03:01:00 +08:00
|
|
|
|
|
|
|
|
@staticmethod
|
|
|
|
|
def SetDexHandForce(request,
|
|
|
|
|
target,
|
|
|
|
|
options=(),
|
|
|
|
|
channel_credentials=None,
|
|
|
|
|
call_credentials=None,
|
|
|
|
|
insecure=False,
|
|
|
|
|
compression=None,
|
|
|
|
|
wait_for_ready=None,
|
|
|
|
|
timeout=None,
|
|
|
|
|
metadata=None):
|
2026-03-16 09:23:56 +08:00
|
|
|
return grpc.experimental.unary_unary(
|
|
|
|
|
request,
|
|
|
|
|
target,
|
|
|
|
|
'/cmvr.api.DexHandService/SetDexHandForce',
|
2025-11-13 03:01:00 +08:00
|
|
|
cmvr_dot_api_dot_dexhand__command__pb2.SetDexHandForceCommand.Request.SerializeToString,
|
|
|
|
|
cmvr_dot_api_dot_dexhand__command__pb2.SetDexHandForceCommand.Feedback.FromString,
|
2026-03-16 09:23:56 +08:00
|
|
|
options,
|
|
|
|
|
channel_credentials,
|
|
|
|
|
insecure,
|
|
|
|
|
call_credentials,
|
|
|
|
|
compression,
|
|
|
|
|
wait_for_ready,
|
|
|
|
|
timeout,
|
|
|
|
|
metadata,
|
|
|
|
|
_registered_method=True)
|
2025-11-13 03:01:00 +08:00
|
|
|
|
|
|
|
|
@staticmethod
|
|
|
|
|
def SetDexHandSpeed(request,
|
|
|
|
|
target,
|
|
|
|
|
options=(),
|
|
|
|
|
channel_credentials=None,
|
|
|
|
|
call_credentials=None,
|
|
|
|
|
insecure=False,
|
|
|
|
|
compression=None,
|
|
|
|
|
wait_for_ready=None,
|
|
|
|
|
timeout=None,
|
|
|
|
|
metadata=None):
|
2026-03-16 09:23:56 +08:00
|
|
|
return grpc.experimental.unary_unary(
|
|
|
|
|
request,
|
|
|
|
|
target,
|
|
|
|
|
'/cmvr.api.DexHandService/SetDexHandSpeed',
|
2025-11-13 03:01:00 +08:00
|
|
|
cmvr_dot_api_dot_dexhand__command__pb2.SetDexHandSpeedCommand.Request.SerializeToString,
|
|
|
|
|
cmvr_dot_api_dot_dexhand__command__pb2.SetDexHandSpeedCommand.Feedback.FromString,
|
2026-03-16 09:23:56 +08:00
|
|
|
options,
|
|
|
|
|
channel_credentials,
|
|
|
|
|
insecure,
|
|
|
|
|
call_credentials,
|
|
|
|
|
compression,
|
|
|
|
|
wait_for_ready,
|
|
|
|
|
timeout,
|
|
|
|
|
metadata,
|
|
|
|
|
_registered_method=True)
|
2025-11-13 03:01:00 +08:00
|
|
|
|
|
|
|
|
@staticmethod
|
|
|
|
|
def SetDexHandPresetAct(request,
|
|
|
|
|
target,
|
|
|
|
|
options=(),
|
|
|
|
|
channel_credentials=None,
|
|
|
|
|
call_credentials=None,
|
|
|
|
|
insecure=False,
|
|
|
|
|
compression=None,
|
|
|
|
|
wait_for_ready=None,
|
|
|
|
|
timeout=None,
|
|
|
|
|
metadata=None):
|
2026-03-16 09:23:56 +08:00
|
|
|
return grpc.experimental.unary_unary(
|
|
|
|
|
request,
|
|
|
|
|
target,
|
|
|
|
|
'/cmvr.api.DexHandService/SetDexHandPresetAct',
|
2025-11-13 03:01:00 +08:00
|
|
|
cmvr_dot_api_dot_dexhand__command__pb2.SetDexHandPresetActCommand.Request.SerializeToString,
|
|
|
|
|
cmvr_dot_api_dot_dexhand__command__pb2.SetDexHandPresetActCommand.Feedback.FromString,
|
2026-03-16 09:23:56 +08:00
|
|
|
options,
|
|
|
|
|
channel_credentials,
|
|
|
|
|
insecure,
|
|
|
|
|
call_credentials,
|
|
|
|
|
compression,
|
|
|
|
|
wait_for_ready,
|
|
|
|
|
timeout,
|
|
|
|
|
metadata,
|
|
|
|
|
_registered_method=True)
|
2025-11-13 03:01:00 +08:00
|
|
|
|
|
|
|
|
@staticmethod
|
|
|
|
|
def GetSensorData(request,
|
|
|
|
|
target,
|
|
|
|
|
options=(),
|
|
|
|
|
channel_credentials=None,
|
|
|
|
|
call_credentials=None,
|
|
|
|
|
insecure=False,
|
|
|
|
|
compression=None,
|
|
|
|
|
wait_for_ready=None,
|
|
|
|
|
timeout=None,
|
|
|
|
|
metadata=None):
|
2026-03-16 09:23:56 +08:00
|
|
|
return grpc.experimental.unary_unary(
|
|
|
|
|
request,
|
|
|
|
|
target,
|
|
|
|
|
'/cmvr.api.DexHandService/GetSensorData',
|
2025-11-13 03:01:00 +08:00
|
|
|
cmvr_dot_api_dot_dexhand__command__pb2.GetSensorDataCommand.Request.SerializeToString,
|
|
|
|
|
cmvr_dot_api_dot_dexhand__command__pb2.GetSensorDataCommand.Feedback.FromString,
|
2026-03-16 09:23:56 +08:00
|
|
|
options,
|
|
|
|
|
channel_credentials,
|
|
|
|
|
insecure,
|
|
|
|
|
call_credentials,
|
|
|
|
|
compression,
|
|
|
|
|
wait_for_ready,
|
|
|
|
|
timeout,
|
|
|
|
|
metadata,
|
|
|
|
|
_registered_method=True)
|
2025-11-13 03:01:00 +08:00
|
|
|
|
|
|
|
|
@staticmethod
|
|
|
|
|
def GetSensorDataStream(request_iterator,
|
|
|
|
|
target,
|
|
|
|
|
options=(),
|
|
|
|
|
channel_credentials=None,
|
|
|
|
|
call_credentials=None,
|
|
|
|
|
insecure=False,
|
|
|
|
|
compression=None,
|
|
|
|
|
wait_for_ready=None,
|
|
|
|
|
timeout=None,
|
|
|
|
|
metadata=None):
|
2026-03-16 09:23:56 +08:00
|
|
|
return grpc.experimental.stream_stream(
|
|
|
|
|
request_iterator,
|
|
|
|
|
target,
|
|
|
|
|
'/cmvr.api.DexHandService/GetSensorDataStream',
|
2025-11-13 03:01:00 +08:00
|
|
|
cmvr_dot_api_dot_dexhand__command__pb2.GetSensorDataStreamCommand.Request.SerializeToString,
|
|
|
|
|
cmvr_dot_api_dot_dexhand__command__pb2.GetSensorDataStreamCommand.Feedback.FromString,
|
2026-03-16 09:23:56 +08:00
|
|
|
options,
|
|
|
|
|
channel_credentials,
|
|
|
|
|
insecure,
|
|
|
|
|
call_credentials,
|
|
|
|
|
compression,
|
|
|
|
|
wait_for_ready,
|
|
|
|
|
timeout,
|
|
|
|
|
metadata,
|
|
|
|
|
_registered_method=True)
|