bosdyn-api 3.3.1__py3-none-any.whl → 4.0.0__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.
- bosdyn/api/arm_command_pb2.py +45 -45
- bosdyn/api/auth_pb2.py +7 -9
- bosdyn/api/autowalk/autowalk_pb2.py +20 -18
- bosdyn/api/autowalk/walks_pb2.py +92 -67
- bosdyn/api/basic_command_pb2.py +180 -117
- bosdyn/api/data_acquisition_pb2.py +113 -65
- bosdyn/api/data_acquisition_plugin_service_pb2.py +2 -2
- bosdyn/api/data_acquisition_plugin_service_pb2_grpc.py +35 -0
- bosdyn/api/data_acquisition_service_pb2.py +2 -2
- bosdyn/api/data_acquisition_service_pb2_grpc.py +38 -3
- bosdyn/api/data_acquisition_store_pb2.py +107 -37
- bosdyn/api/data_acquisition_store_service_pb2.py +4 -3
- bosdyn/api/data_acquisition_store_service_pb2_grpc.py +79 -0
- bosdyn/api/full_body_command_pb2.py +5 -5
- bosdyn/api/gps/__init__.py +1 -0
- bosdyn/api/gps/aggregator_pb2.py +47 -0
- bosdyn/api/gps/aggregator_service_pb2.py +29 -0
- bosdyn/api/gps/aggregator_service_pb2_grpc.py +90 -0
- bosdyn/api/gps/gps_pb2.py +110 -0
- bosdyn/api/gps/gps_pb2_grpc.py +4 -0
- bosdyn/api/gps/registration_pb2.py +95 -0
- bosdyn/api/gps/registration_pb2_grpc.py +4 -0
- bosdyn/api/gps/registration_service_pb2.py +29 -0
- bosdyn/api/gps/registration_service_pb2_grpc.py +111 -0
- bosdyn/api/graph_nav/area_callback_data_pb2.py +13 -3
- bosdyn/api/graph_nav/area_callback_pb2.py +99 -53
- bosdyn/api/graph_nav/area_callback_service_pb2.py +2 -2
- bosdyn/api/graph_nav/area_callback_service_pb2_grpc.py +45 -10
- bosdyn/api/graph_nav/gps_pb2.py +40 -0
- bosdyn/api/graph_nav/gps_pb2_grpc.py +4 -0
- bosdyn/api/graph_nav/graph_nav_pb2.py +145 -129
- bosdyn/api/graph_nav/map_pb2.py +73 -65
- bosdyn/api/graph_nav/map_processing_pb2.py +28 -14
- bosdyn/api/graph_nav/nav_pb2.py +24 -3
- bosdyn/api/metrics_logging/__init__.py +1 -0
- bosdyn/api/metrics_logging/absolute_metrics_pb2.py +38 -0
- bosdyn/api/metrics_logging/absolute_metrics_pb2_grpc.py +4 -0
- bosdyn/api/metrics_logging/metrics_logging_robot_pb2.py +89 -0
- bosdyn/api/metrics_logging/metrics_logging_robot_pb2_grpc.py +4 -0
- bosdyn/api/metrics_logging/metrics_logging_robot_service_pb2.py +29 -0
- bosdyn/api/metrics_logging/metrics_logging_robot_service_pb2_grpc.py +132 -0
- bosdyn/api/metrics_logging/signed_proto_pb2.py +35 -0
- bosdyn/api/metrics_logging/signed_proto_pb2_grpc.py +4 -0
- bosdyn/api/mission/mission_pb2.py +72 -71
- bosdyn/api/mission/nodes_pb2.py +147 -101
- bosdyn/api/network_compute_bridge_pb2.py +19 -16
- bosdyn/api/power_pb2.py +29 -3
- bosdyn/api/power_service_pb2.py +2 -2
- bosdyn/api/power_service_pb2_grpc.py +34 -0
- bosdyn/api/robot_command_pb2.py +45 -35
- bosdyn/api/robot_command_service_pb2.py +4 -1
- bosdyn/api/robot_command_service_pb2_grpc.py +72 -1
- bosdyn/api/robot_state_pb2.py +174 -92
- bosdyn/api/robot_state_service_pb2.py +4 -1
- bosdyn/api/robot_state_service_pb2_grpc.py +71 -3
- bosdyn/api/signals_pb2.py +101 -0
- bosdyn/api/signals_pb2_grpc.py +4 -0
- bosdyn/api/sparse_features_pb2.py +10 -7
- bosdyn/api/spot/choreography_params_pb2.py +562 -0
- bosdyn/api/spot/choreography_params_pb2_grpc.py +4 -0
- bosdyn/api/spot/choreography_sequence_pb2.py +650 -0
- bosdyn/api/spot/choreography_sequence_pb2_grpc.py +4 -0
- bosdyn/api/spot/choreography_service_pb2.py +29 -0
- bosdyn/api/spot/choreography_service_pb2_grpc.py +579 -0
- bosdyn/api/spot/robot_command_pb2.py +4 -3
- bosdyn/api/spot/spot_check_pb2.py +100 -84
- bosdyn/api/spot/spot_check_service_pb2.py +2 -2
- bosdyn/api/spot/spot_check_service_pb2_grpc.py +68 -0
- bosdyn/api/stairs_pb2.py +22 -20
- bosdyn/api/world_object_pb2.py +66 -55
- {bosdyn_api-3.3.1.dist-info → bosdyn_api-4.0.0.dist-info}/METADATA +4 -4
- {bosdyn_api-3.3.1.dist-info → bosdyn_api-4.0.0.dist-info}/RECORD +75 -49
- {bosdyn_api-3.3.1.dist-info → bosdyn_api-4.0.0.dist-info}/WHEEL +1 -1
- bosdyn/api/log_annotation_pb2.py +0 -102
- bosdyn/api/log_annotation_service_pb2.py +0 -29
- bosdyn/api/log_annotation_service_pb2_grpc.py +0 -76
- /bosdyn/api/{log_annotation_pb2_grpc.py → gps/aggregator_pb2_grpc.py} +0 -0
- {bosdyn_api-3.3.1.dist-info → bosdyn_api-4.0.0.dist-info}/top_level.txt +0 -0
|
@@ -17,13 +17,14 @@ from bosdyn.api import header_pb2 as bosdyn_dot_api_dot_header__pb2
|
|
|
17
17
|
from bosdyn.api import image_pb2 as bosdyn_dot_api_dot_image__pb2
|
|
18
18
|
from bosdyn.api import network_compute_bridge_pb2 as bosdyn_dot_api_dot_network__compute__bridge__pb2
|
|
19
19
|
from bosdyn.api import service_customization_pb2 as bosdyn_dot_api_dot_service__customization__pb2
|
|
20
|
+
from bosdyn.api import signals_pb2 as bosdyn_dot_api_dot_signals__pb2
|
|
20
21
|
from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2
|
|
21
22
|
from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2
|
|
22
23
|
from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2
|
|
23
24
|
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
24
25
|
|
|
25
26
|
|
|
26
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!bosdyn/api/data_acquisition.proto\x12\nbosdyn.api\x1a\x17\x62osdyn/api/alerts.proto\x1a\x17\x62osdyn/api/header.proto\x1a\x16\x62osdyn/api/image.proto\x1a\'bosdyn/api/network_compute_bridge.proto\x1a&bosdyn/api/service_customization.proto\x1a\x19google/protobuf/any.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\
|
|
27
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!bosdyn/api/data_acquisition.proto\x12\nbosdyn.api\x1a\x17\x62osdyn/api/alerts.proto\x1a\x17\x62osdyn/api/header.proto\x1a\x16\x62osdyn/api/image.proto\x1a\'bosdyn/api/network_compute_bridge.proto\x1a&bosdyn/api/service_customization.proto\x1a\x18\x62osdyn/api/signals.proto\x1a\x19google/protobuf/any.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xb4\x01\n\x19\x44\x61taAcquisitionCapability\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x14\n\x0c\x63hannel_name\x18\x03 \x01(\t\x12\x14\n\x0cservice_name\x18\x04 \x01(\t\x12\x31\n\rcustom_params\x18\x05 \x01(\x0b\x32\x1a.bosdyn.api.DictParam.Spec\x12\x15\n\rhas_live_data\x18\x06 \x01(\x08\"\x82\x01\n\x1aImageAcquisitionCapability\x12\x14\n\x0cservice_name\x18\x01 \x01(\t\x12\x1e\n\x12image_source_names\x18\x02 \x03(\tB\x02\x18\x01\x12.\n\rimage_sources\x18\x03 \x03(\x0b\x32\x17.bosdyn.api.ImageSource\"\xd8\x01\n\x18NetworkComputeCapability\x12\x44\n\rserver_config\x18\x01 \x01(\x0b\x32-.bosdyn.api.NetworkComputeServerConfiguration\x12\x1c\n\x10\x61vailable_models\x18\x02 \x03(\tB\x02\x18\x01\x12+\n\x06labels\x18\x06 \x03(\x0b\x32\x17.bosdyn.api.ModelLabelsB\x02\x18\x01\x12+\n\x06models\x18\x03 \x01(\x0b\x32\x1b.bosdyn.api.AvailableModels\"\xde\x01\n\x19\x41\x63quisitionCapabilityList\x12;\n\x0c\x64\x61ta_sources\x18\x01 \x03(\x0b\x32%.bosdyn.api.DataAcquisitionCapability\x12=\n\rimage_sources\x18\x03 \x03(\x0b\x32&.bosdyn.api.ImageAcquisitionCapability\x12\x45\n\x17network_compute_sources\x18\x05 \x03(\x0b\x32$.bosdyn.api.NetworkComputeCapability\"o\n\x0f\x43\x61ptureActionId\x12\x13\n\x0b\x61\x63tion_name\x18\x01 \x01(\t\x12\x12\n\ngroup_name\x18\x02 \x01(\t\x12-\n\ttimestamp\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampJ\x04\x08\x04\x10\x05\"p\n\x0e\x44\x61taIdentifier\x12.\n\taction_id\x18\x01 \x01(\x0b\x32\x1b.bosdyn.api.CaptureActionId\x12\x0f\n\x07\x63hannel\x18\x02 \x01(\t\x12\x11\n\tdata_name\x18\x03 \x01(\t\x12\n\n\x02id\x18\x04 \x01(\x04\"1\n\x08Metadata\x12%\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x17.google.protobuf.Struct\"n\n\x12\x41ssociatedMetadata\x12\x30\n\x0creference_id\x18\x01 \x01(\x0b\x32\x1a.bosdyn.api.DataIdentifier\x12&\n\x08metadata\x18\x02 \x01(\x0b\x32\x14.bosdyn.api.Metadata\"r\n\x13\x41ssociatedAlertData\x12\x30\n\x0creference_id\x18\x01 \x01(\x0b\x32\x1a.bosdyn.api.DataIdentifier\x12)\n\nalert_data\x18\x02 \x01(\x0b\x32\x15.bosdyn.api.AlertData\"\xaf\x01\n\x12ImageSourceCapture\x12\x15\n\rimage_service\x18\x01 \x01(\t\x12/\n\rimage_request\x18\x04 \x01(\x0b\x32\x18.bosdyn.api.ImageRequest\x12\x18\n\x0cimage_source\x18\x02 \x01(\tB\x02\x18\x01\x12\x37\n\x0cpixel_format\x18\x03 \x01(\x0e\x32\x1d.bosdyn.api.Image.PixelFormatB\x02\x18\x01\"I\n\x0b\x44\x61taCapture\x12\x0c\n\x04name\x18\x01 \x01(\t\x12,\n\rcustom_params\x18\t \x01(\x0b\x32\x15.bosdyn.api.DictParam\"\xed\x01\n\x15NetworkComputeCapture\x12=\n\ninput_data\x18\x01 \x01(\x0b\x32#.bosdyn.api.NetworkComputeInputDataB\x02\x18\x01H\x00\x12\x46\n\x11input_data_bridge\x18\x03 \x01(\x0b\x32).bosdyn.api.NetworkComputeInputDataBridgeH\x00\x12\x44\n\rserver_config\x18\x02 \x01(\x0b\x32-.bosdyn.api.NetworkComputeServerConfigurationB\x07\n\x05input\"\xc5\x01\n\x16\x41\x63quisitionRequestList\x12\x36\n\x0eimage_captures\x18\x01 \x03(\x0b\x32\x1e.bosdyn.api.ImageSourceCapture\x12.\n\rdata_captures\x18\x02 \x03(\x0b\x32\x17.bosdyn.api.DataCapture\x12\x43\n\x18network_compute_captures\x18\x04 \x03(\x0b\x32!.bosdyn.api.NetworkComputeCapture\"y\n\tDataError\x12+\n\x07\x64\x61ta_id\x18\x01 \x01(\x0b\x32\x1a.bosdyn.api.DataIdentifier\x12\x15\n\rerror_message\x18\x02 \x01(\t\x12(\n\nerror_data\x18\x03 \x01(\x0b\x32\x14.google.protobuf.Any\"\xe6\x01\n\x12PluginServiceError\x12\x14\n\x0cservice_name\x18\x01 \x01(\t\x12\x37\n\x05\x65rror\x18\x02 \x01(\x0e\x32(.bosdyn.api.PluginServiceError.ErrorCode\x12\x0f\n\x07message\x18\x03 \x01(\t\"p\n\tErrorCode\x12\x12\n\x0eSTATUS_UNKNOWN\x10\x00\x12\x18\n\x14STATUS_REQUEST_ERROR\x10\x01\x12\x1a\n\x16STATUS_GETSTATUS_ERROR\x10\x02\x12\x19\n\x15STATUS_INTERNAL_ERROR\x10\x03\"\xa8\x02\n\x13NetworkComputeError\x12\x14\n\x0cservice_name\x18\x01 \x01(\t\x12\x38\n\x05\x65rror\x18\x02 \x01(\x0e\x32).bosdyn.api.NetworkComputeError.ErrorCode\x12@\n\x16network_compute_status\x18\x03 \x01(\x0e\x32 .bosdyn.api.NetworkComputeStatus\x12\x0f\n\x07message\x18\x04 \x01(\t\"n\n\tErrorCode\x12\x12\n\x0eSTATUS_UNKNOWN\x10\x00\x12\x18\n\x14STATUS_REQUEST_ERROR\x10\x01\x12\x18\n\x14STATUS_NETWORK_ERROR\x10\x02\x12\x19\n\x15STATUS_INTERNAL_ERROR\x10\x03\"\x89\x02\n\x12\x41\x63quireDataRequest\x12)\n\x06header\x18\x01 \x01(\x0b\x32\x19.bosdyn.api.RequestHeader\x12.\n\taction_id\x18\x02 \x01(\x0b\x32\x1b.bosdyn.api.CaptureActionId\x12&\n\x08metadata\x18\x03 \x01(\x0b\x32\x14.bosdyn.api.Metadata\x12@\n\x14\x61\x63quisition_requests\x18\x04 \x01(\x0b\x32\".bosdyn.api.AcquisitionRequestList\x12.\n\x0bmin_timeout\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\"\xdb\x01\n\x13\x41\x63quireDataResponse\x12*\n\x06header\x18\x01 \x01(\x0b\x32\x1a.bosdyn.api.ResponseHeader\x12\x36\n\x06status\x18\x02 \x01(\x0e\x32&.bosdyn.api.AcquireDataResponse.Status\x12\x12\n\nrequest_id\x18\x03 \x01(\r\"L\n\x06Status\x12\x12\n\x0eSTATUS_UNKNOWN\x10\x00\x12\r\n\tSTATUS_OK\x10\x01\x12\x1f\n\x1bSTATUS_UNKNOWN_CAPTURE_TYPE\x10\x02\"\x8c\x02\n\x18\x41\x63quirePluginDataRequest\x12)\n\x06header\x18\x01 \x01(\x0b\x32\x19.bosdyn.api.RequestHeader\x12+\n\x07\x64\x61ta_id\x18\x02 \x03(\x0b\x32\x1a.bosdyn.api.DataIdentifier\x12&\n\x08metadata\x18\x03 \x01(\x0b\x32\x14.bosdyn.api.Metadata\x12.\n\taction_id\x18\x04 \x01(\x0b\x32\x1b.bosdyn.api.CaptureActionId\x12@\n\x14\x61\x63quisition_requests\x18\x05 \x01(\x0b\x32\".bosdyn.api.AcquisitionRequestList\"\xf7\x02\n\x19\x41\x63quirePluginDataResponse\x12*\n\x06header\x18\x01 \x01(\x0b\x32\x1a.bosdyn.api.ResponseHeader\x12<\n\x06status\x18\x02 \x01(\x0e\x32,.bosdyn.api.AcquirePluginDataResponse.Status\x12\x12\n\nrequest_id\x18\x03 \x01(\r\x12\x34\n\x10timeout_deadline\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x38\n\x12\x63ustom_param_error\x18\x06 \x01(\x0b\x32\x1c.bosdyn.api.CustomParamError\"l\n\x06Status\x12\x12\n\x0eSTATUS_UNKNOWN\x10\x00\x12\r\n\tSTATUS_OK\x10\x01\x12\x1f\n\x1bSTATUS_UNKNOWN_CAPTURE_TYPE\x10\x02\x12\x1e\n\x1aSTATUS_CUSTOM_PARAMS_ERROR\x10\x03\"Q\n\x10GetStatusRequest\x12)\n\x06header\x18\x01 \x01(\x0b\x32\x19.bosdyn.api.RequestHeader\x12\x12\n\nrequest_id\x18\x02 \x01(\r\"\xfb\x04\n\x11GetStatusResponse\x12*\n\x06header\x18\x01 \x01(\x0b\x32\x1a.bosdyn.api.ResponseHeader\x12\x34\n\x06status\x18\x02 \x01(\x0e\x32$.bosdyn.api.GetStatusResponse.Status\x12.\n\ndata_saved\x18\x03 \x03(\x0b\x32\x1a.bosdyn.api.DataIdentifier\x12*\n\x0b\x64\x61ta_errors\x18\t \x03(\x0b\x32\x15.bosdyn.api.DataError\x12\x36\n\x0eservice_errors\x18\n \x03(\x0b\x32\x1e.bosdyn.api.PluginServiceError\x12?\n\x16network_compute_errors\x18\x0b \x03(\x0b\x32\x1f.bosdyn.api.NetworkComputeError\"\xae\x02\n\x06Status\x12\x12\n\x0eSTATUS_UNKNOWN\x10\x00\x12\x14\n\x10STATUS_ACQUIRING\x10\x01\x12\x11\n\rSTATUS_SAVING\x10\x02\x12\x13\n\x0fSTATUS_COMPLETE\x10\x03\x12\x1d\n\x19STATUS_CANCEL_IN_PROGRESS\x10\x04\x12 \n\x1cSTATUS_ACQUISITION_CANCELLED\x10\x05\x12\x15\n\x11STATUS_DATA_ERROR\x10\n\x12\x13\n\x0fSTATUS_TIMEDOUT\x10\x0b\x12\x19\n\x15STATUS_INTERNAL_ERROR\x10\x0c\x12$\n STATUS_CANCEL_ACQUISITION_FAILED\x10\x1e\x12$\n STATUS_REQUEST_ID_DOES_NOT_EXIST\x10\x14\"B\n\x15GetServiceInfoRequest\x12)\n\x06header\x18\x01 \x01(\x0b\x32\x19.bosdyn.api.RequestHeader\"\x81\x01\n\x16GetServiceInfoResponse\x12*\n\x06header\x18\x01 \x01(\x0b\x32\x1a.bosdyn.api.ResponseHeader\x12;\n\x0c\x63\x61pabilities\x18\x02 \x01(\x0b\x32%.bosdyn.api.AcquisitionCapabilityList\"Y\n\x18\x43\x61ncelAcquisitionRequest\x12)\n\x06header\x18\x01 \x01(\x0b\x32\x19.bosdyn.api.RequestHeader\x12\x12\n\nrequest_id\x18\x02 \x01(\r\"\xf5\x01\n\x19\x43\x61ncelAcquisitionResponse\x12*\n\x06header\x18\x01 \x01(\x0b\x32\x1a.bosdyn.api.ResponseHeader\x12<\n\x06status\x18\x02 \x01(\x0e\x32,.bosdyn.api.CancelAcquisitionResponse.Status\"n\n\x06Status\x12\x12\n\x0eSTATUS_UNKNOWN\x10\x00\x12\r\n\tSTATUS_OK\x10\x01\x12\x1b\n\x17STATUS_FAILED_TO_CANCEL\x10\x02\x12$\n STATUS_REQUEST_ID_DOES_NOT_EXIST\x10\x03\"r\n\x0fLiveDataRequest\x12)\n\x06header\x18\x01 \x01(\x0b\x32\x19.bosdyn.api.RequestHeader\x12.\n\rdata_captures\x18\x03 \x03(\x0b\x32\x17.bosdyn.api.DataCaptureJ\x04\x08\x02\x10\x03\"\xcc\x04\n\x10LiveDataResponse\x12*\n\x06header\x18\x01 \x01(\x0b\x32\x1a.bosdyn.api.ResponseHeader\x12\x42\n\tlive_data\x18\x03 \x03(\x0b\x32/.bosdyn.api.LiveDataResponse.CapabilityLiveData\x1a\xc1\x03\n\x12\x43\x61pabilityLiveData\x12M\n\x07signals\x18\x01 \x03(\x0b\x32<.bosdyn.api.LiveDataResponse.CapabilityLiveData.SignalsEntry\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x46\n\x06status\x18\x03 \x01(\x0e\x32\x36.bosdyn.api.LiveDataResponse.CapabilityLiveData.Status\x12\x38\n\x12\x63ustom_param_error\x18\x04 \x01(\x0b\x32\x1c.bosdyn.api.CustomParamError\x1a\x42\n\x0cSignalsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12!\n\x05value\x18\x02 \x01(\x0b\x32\x12.bosdyn.api.Signal:\x02\x38\x01\"\x87\x01\n\x06Status\x12\x12\n\x0eSTATUS_UNKNOWN\x10\x00\x12\r\n\tSTATUS_OK\x10\x01\x12\x1f\n\x1bSTATUS_UNKNOWN_CAPTURE_TYPE\x10\x02\x12\x1e\n\x1aSTATUS_CUSTOM_PARAMS_ERROR\x10\x03\x12\x19\n\x15STATUS_INTERNAL_ERROR\x10\x04J\x04\x08\x02\x10\x03\x42\x16\x42\x14\x44\x61taAcquisitionProtob\x06proto3')
|
|
27
28
|
|
|
28
29
|
|
|
29
30
|
|
|
@@ -53,12 +54,17 @@ _GETSERVICEINFOREQUEST = DESCRIPTOR.message_types_by_name['GetServiceInfoRequest
|
|
|
53
54
|
_GETSERVICEINFORESPONSE = DESCRIPTOR.message_types_by_name['GetServiceInfoResponse']
|
|
54
55
|
_CANCELACQUISITIONREQUEST = DESCRIPTOR.message_types_by_name['CancelAcquisitionRequest']
|
|
55
56
|
_CANCELACQUISITIONRESPONSE = DESCRIPTOR.message_types_by_name['CancelAcquisitionResponse']
|
|
57
|
+
_LIVEDATAREQUEST = DESCRIPTOR.message_types_by_name['LiveDataRequest']
|
|
58
|
+
_LIVEDATARESPONSE = DESCRIPTOR.message_types_by_name['LiveDataResponse']
|
|
59
|
+
_LIVEDATARESPONSE_CAPABILITYLIVEDATA = _LIVEDATARESPONSE.nested_types_by_name['CapabilityLiveData']
|
|
60
|
+
_LIVEDATARESPONSE_CAPABILITYLIVEDATA_SIGNALSENTRY = _LIVEDATARESPONSE_CAPABILITYLIVEDATA.nested_types_by_name['SignalsEntry']
|
|
56
61
|
_PLUGINSERVICEERROR_ERRORCODE = _PLUGINSERVICEERROR.enum_types_by_name['ErrorCode']
|
|
57
62
|
_NETWORKCOMPUTEERROR_ERRORCODE = _NETWORKCOMPUTEERROR.enum_types_by_name['ErrorCode']
|
|
58
63
|
_ACQUIREDATARESPONSE_STATUS = _ACQUIREDATARESPONSE.enum_types_by_name['Status']
|
|
59
64
|
_ACQUIREPLUGINDATARESPONSE_STATUS = _ACQUIREPLUGINDATARESPONSE.enum_types_by_name['Status']
|
|
60
65
|
_GETSTATUSRESPONSE_STATUS = _GETSTATUSRESPONSE.enum_types_by_name['Status']
|
|
61
66
|
_CANCELACQUISITIONRESPONSE_STATUS = _CANCELACQUISITIONRESPONSE.enum_types_by_name['Status']
|
|
67
|
+
_LIVEDATARESPONSE_CAPABILITYLIVEDATA_STATUS = _LIVEDATARESPONSE_CAPABILITYLIVEDATA.enum_types_by_name['Status']
|
|
62
68
|
DataAcquisitionCapability = _reflection.GeneratedProtocolMessageType('DataAcquisitionCapability', (_message.Message,), {
|
|
63
69
|
'DESCRIPTOR' : _DATAACQUISITIONCAPABILITY,
|
|
64
70
|
'__module__' : 'bosdyn.api.data_acquisition_pb2'
|
|
@@ -241,6 +247,36 @@ CancelAcquisitionResponse = _reflection.GeneratedProtocolMessageType('CancelAcqu
|
|
|
241
247
|
})
|
|
242
248
|
_sym_db.RegisterMessage(CancelAcquisitionResponse)
|
|
243
249
|
|
|
250
|
+
LiveDataRequest = _reflection.GeneratedProtocolMessageType('LiveDataRequest', (_message.Message,), {
|
|
251
|
+
'DESCRIPTOR' : _LIVEDATAREQUEST,
|
|
252
|
+
'__module__' : 'bosdyn.api.data_acquisition_pb2'
|
|
253
|
+
# @@protoc_insertion_point(class_scope:bosdyn.api.LiveDataRequest)
|
|
254
|
+
})
|
|
255
|
+
_sym_db.RegisterMessage(LiveDataRequest)
|
|
256
|
+
|
|
257
|
+
LiveDataResponse = _reflection.GeneratedProtocolMessageType('LiveDataResponse', (_message.Message,), {
|
|
258
|
+
|
|
259
|
+
'CapabilityLiveData' : _reflection.GeneratedProtocolMessageType('CapabilityLiveData', (_message.Message,), {
|
|
260
|
+
|
|
261
|
+
'SignalsEntry' : _reflection.GeneratedProtocolMessageType('SignalsEntry', (_message.Message,), {
|
|
262
|
+
'DESCRIPTOR' : _LIVEDATARESPONSE_CAPABILITYLIVEDATA_SIGNALSENTRY,
|
|
263
|
+
'__module__' : 'bosdyn.api.data_acquisition_pb2'
|
|
264
|
+
# @@protoc_insertion_point(class_scope:bosdyn.api.LiveDataResponse.CapabilityLiveData.SignalsEntry)
|
|
265
|
+
})
|
|
266
|
+
,
|
|
267
|
+
'DESCRIPTOR' : _LIVEDATARESPONSE_CAPABILITYLIVEDATA,
|
|
268
|
+
'__module__' : 'bosdyn.api.data_acquisition_pb2'
|
|
269
|
+
# @@protoc_insertion_point(class_scope:bosdyn.api.LiveDataResponse.CapabilityLiveData)
|
|
270
|
+
})
|
|
271
|
+
,
|
|
272
|
+
'DESCRIPTOR' : _LIVEDATARESPONSE,
|
|
273
|
+
'__module__' : 'bosdyn.api.data_acquisition_pb2'
|
|
274
|
+
# @@protoc_insertion_point(class_scope:bosdyn.api.LiveDataResponse)
|
|
275
|
+
})
|
|
276
|
+
_sym_db.RegisterMessage(LiveDataResponse)
|
|
277
|
+
_sym_db.RegisterMessage(LiveDataResponse.CapabilityLiveData)
|
|
278
|
+
_sym_db.RegisterMessage(LiveDataResponse.CapabilityLiveData.SignalsEntry)
|
|
279
|
+
|
|
244
280
|
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
245
281
|
|
|
246
282
|
DESCRIPTOR._options = None
|
|
@@ -257,68 +293,80 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
257
293
|
_IMAGESOURCECAPTURE.fields_by_name['pixel_format']._serialized_options = b'\030\001'
|
|
258
294
|
_NETWORKCOMPUTECAPTURE.fields_by_name['input_data']._options = None
|
|
259
295
|
_NETWORKCOMPUTECAPTURE.fields_by_name['input_data']._serialized_options = b'\030\001'
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
296
|
+
_LIVEDATARESPONSE_CAPABILITYLIVEDATA_SIGNALSENTRY._options = None
|
|
297
|
+
_LIVEDATARESPONSE_CAPABILITYLIVEDATA_SIGNALSENTRY._serialized_options = b'8\001'
|
|
298
|
+
_DATAACQUISITIONCAPABILITY._serialized_start=353
|
|
299
|
+
_DATAACQUISITIONCAPABILITY._serialized_end=533
|
|
300
|
+
_IMAGEACQUISITIONCAPABILITY._serialized_start=536
|
|
301
|
+
_IMAGEACQUISITIONCAPABILITY._serialized_end=666
|
|
302
|
+
_NETWORKCOMPUTECAPABILITY._serialized_start=669
|
|
303
|
+
_NETWORKCOMPUTECAPABILITY._serialized_end=885
|
|
304
|
+
_ACQUISITIONCAPABILITYLIST._serialized_start=888
|
|
305
|
+
_ACQUISITIONCAPABILITYLIST._serialized_end=1110
|
|
306
|
+
_CAPTUREACTIONID._serialized_start=1112
|
|
307
|
+
_CAPTUREACTIONID._serialized_end=1223
|
|
308
|
+
_DATAIDENTIFIER._serialized_start=1225
|
|
309
|
+
_DATAIDENTIFIER._serialized_end=1337
|
|
310
|
+
_METADATA._serialized_start=1339
|
|
311
|
+
_METADATA._serialized_end=1388
|
|
312
|
+
_ASSOCIATEDMETADATA._serialized_start=1390
|
|
313
|
+
_ASSOCIATEDMETADATA._serialized_end=1500
|
|
314
|
+
_ASSOCIATEDALERTDATA._serialized_start=1502
|
|
315
|
+
_ASSOCIATEDALERTDATA._serialized_end=1616
|
|
316
|
+
_IMAGESOURCECAPTURE._serialized_start=1619
|
|
317
|
+
_IMAGESOURCECAPTURE._serialized_end=1794
|
|
318
|
+
_DATACAPTURE._serialized_start=1796
|
|
319
|
+
_DATACAPTURE._serialized_end=1869
|
|
320
|
+
_NETWORKCOMPUTECAPTURE._serialized_start=1872
|
|
321
|
+
_NETWORKCOMPUTECAPTURE._serialized_end=2109
|
|
322
|
+
_ACQUISITIONREQUESTLIST._serialized_start=2112
|
|
323
|
+
_ACQUISITIONREQUESTLIST._serialized_end=2309
|
|
324
|
+
_DATAERROR._serialized_start=2311
|
|
325
|
+
_DATAERROR._serialized_end=2432
|
|
326
|
+
_PLUGINSERVICEERROR._serialized_start=2435
|
|
327
|
+
_PLUGINSERVICEERROR._serialized_end=2665
|
|
328
|
+
_PLUGINSERVICEERROR_ERRORCODE._serialized_start=2553
|
|
329
|
+
_PLUGINSERVICEERROR_ERRORCODE._serialized_end=2665
|
|
330
|
+
_NETWORKCOMPUTEERROR._serialized_start=2668
|
|
331
|
+
_NETWORKCOMPUTEERROR._serialized_end=2964
|
|
332
|
+
_NETWORKCOMPUTEERROR_ERRORCODE._serialized_start=2854
|
|
333
|
+
_NETWORKCOMPUTEERROR_ERRORCODE._serialized_end=2964
|
|
334
|
+
_ACQUIREDATAREQUEST._serialized_start=2967
|
|
335
|
+
_ACQUIREDATAREQUEST._serialized_end=3232
|
|
336
|
+
_ACQUIREDATARESPONSE._serialized_start=3235
|
|
337
|
+
_ACQUIREDATARESPONSE._serialized_end=3454
|
|
338
|
+
_ACQUIREDATARESPONSE_STATUS._serialized_start=3378
|
|
339
|
+
_ACQUIREDATARESPONSE_STATUS._serialized_end=3454
|
|
340
|
+
_ACQUIREPLUGINDATAREQUEST._serialized_start=3457
|
|
341
|
+
_ACQUIREPLUGINDATAREQUEST._serialized_end=3725
|
|
342
|
+
_ACQUIREPLUGINDATARESPONSE._serialized_start=3728
|
|
343
|
+
_ACQUIREPLUGINDATARESPONSE._serialized_end=4103
|
|
344
|
+
_ACQUIREPLUGINDATARESPONSE_STATUS._serialized_start=3995
|
|
345
|
+
_ACQUIREPLUGINDATARESPONSE_STATUS._serialized_end=4103
|
|
346
|
+
_GETSTATUSREQUEST._serialized_start=4105
|
|
347
|
+
_GETSTATUSREQUEST._serialized_end=4186
|
|
348
|
+
_GETSTATUSRESPONSE._serialized_start=4189
|
|
349
|
+
_GETSTATUSRESPONSE._serialized_end=4824
|
|
350
|
+
_GETSTATUSRESPONSE_STATUS._serialized_start=4522
|
|
351
|
+
_GETSTATUSRESPONSE_STATUS._serialized_end=4824
|
|
352
|
+
_GETSERVICEINFOREQUEST._serialized_start=4826
|
|
353
|
+
_GETSERVICEINFOREQUEST._serialized_end=4892
|
|
354
|
+
_GETSERVICEINFORESPONSE._serialized_start=4895
|
|
355
|
+
_GETSERVICEINFORESPONSE._serialized_end=5024
|
|
356
|
+
_CANCELACQUISITIONREQUEST._serialized_start=5026
|
|
357
|
+
_CANCELACQUISITIONREQUEST._serialized_end=5115
|
|
358
|
+
_CANCELACQUISITIONRESPONSE._serialized_start=5118
|
|
359
|
+
_CANCELACQUISITIONRESPONSE._serialized_end=5363
|
|
360
|
+
_CANCELACQUISITIONRESPONSE_STATUS._serialized_start=5253
|
|
361
|
+
_CANCELACQUISITIONRESPONSE_STATUS._serialized_end=5363
|
|
362
|
+
_LIVEDATAREQUEST._serialized_start=5365
|
|
363
|
+
_LIVEDATAREQUEST._serialized_end=5479
|
|
364
|
+
_LIVEDATARESPONSE._serialized_start=5482
|
|
365
|
+
_LIVEDATARESPONSE._serialized_end=6070
|
|
366
|
+
_LIVEDATARESPONSE_CAPABILITYLIVEDATA._serialized_start=5615
|
|
367
|
+
_LIVEDATARESPONSE_CAPABILITYLIVEDATA._serialized_end=6064
|
|
368
|
+
_LIVEDATARESPONSE_CAPABILITYLIVEDATA_SIGNALSENTRY._serialized_start=5860
|
|
369
|
+
_LIVEDATARESPONSE_CAPABILITYLIVEDATA_SIGNALSENTRY._serialized_end=5926
|
|
370
|
+
_LIVEDATARESPONSE_CAPABILITYLIVEDATA_STATUS._serialized_start=5929
|
|
371
|
+
_LIVEDATARESPONSE_CAPABILITYLIVEDATA_STATUS._serialized_end=6064
|
|
324
372
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -15,7 +15,7 @@ _sym_db = _symbol_database.Default()
|
|
|
15
15
|
from bosdyn.api import data_acquisition_pb2 as bosdyn_dot_api_dot_data__acquisition__pb2
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n0bosdyn/api/data_acquisition_plugin_service.proto\x12\nbosdyn.api\x1a!bosdyn/api/data_acquisition.proto2\
|
|
18
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n0bosdyn/api/data_acquisition_plugin_service.proto\x12\nbosdyn.api\x1a!bosdyn/api/data_acquisition.proto2\xcf\x03\n\x1c\x44\x61taAcquisitionPluginService\x12`\n\x11\x41\x63quirePluginData\x12$.bosdyn.api.AcquirePluginDataRequest\x1a%.bosdyn.api.AcquirePluginDataResponse\x12H\n\tGetStatus\x12\x1c.bosdyn.api.GetStatusRequest\x1a\x1d.bosdyn.api.GetStatusResponse\x12W\n\x0eGetServiceInfo\x12!.bosdyn.api.GetServiceInfoRequest\x1a\".bosdyn.api.GetServiceInfoResponse\x12`\n\x11\x43\x61ncelAcquisition\x12$.bosdyn.api.CancelAcquisitionRequest\x1a%.bosdyn.api.CancelAcquisitionResponse\x12H\n\x0bGetLiveData\x12\x1b.bosdyn.api.LiveDataRequest\x1a\x1c.bosdyn.api.LiveDataResponseB#B!DataAcquisitionPluginServiceProtob\x06proto3')
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
@@ -25,5 +25,5 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
25
25
|
DESCRIPTOR._options = None
|
|
26
26
|
DESCRIPTOR._serialized_options = b'B!DataAcquisitionPluginServiceProto'
|
|
27
27
|
_DATAACQUISITIONPLUGINSERVICE._serialized_start=100
|
|
28
|
-
_DATAACQUISITIONPLUGINSERVICE._serialized_end=
|
|
28
|
+
_DATAACQUISITIONPLUGINSERVICE._serialized_end=563
|
|
29
29
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -37,6 +37,11 @@ class DataAcquisitionPluginServiceStub(object):
|
|
|
37
37
|
request_serializer=bosdyn_dot_api_dot_data__acquisition__pb2.CancelAcquisitionRequest.SerializeToString,
|
|
38
38
|
response_deserializer=bosdyn_dot_api_dot_data__acquisition__pb2.CancelAcquisitionResponse.FromString,
|
|
39
39
|
)
|
|
40
|
+
self.GetLiveData = channel.unary_unary(
|
|
41
|
+
'/bosdyn.api.DataAcquisitionPluginService/GetLiveData',
|
|
42
|
+
request_serializer=bosdyn_dot_api_dot_data__acquisition__pb2.LiveDataRequest.SerializeToString,
|
|
43
|
+
response_deserializer=bosdyn_dot_api_dot_data__acquisition__pb2.LiveDataResponse.FromString,
|
|
44
|
+
)
|
|
40
45
|
|
|
41
46
|
|
|
42
47
|
class DataAcquisitionPluginServiceServicer(object):
|
|
@@ -75,6 +80,14 @@ class DataAcquisitionPluginServiceServicer(object):
|
|
|
75
80
|
context.set_details('Method not implemented!')
|
|
76
81
|
raise NotImplementedError('Method not implemented!')
|
|
77
82
|
|
|
83
|
+
def GetLiveData(self, request, context):
|
|
84
|
+
"""Request live data available from this plugin during teleoperation.
|
|
85
|
+
Please use the other RPCs for typical data acquisition.
|
|
86
|
+
"""
|
|
87
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
88
|
+
context.set_details('Method not implemented!')
|
|
89
|
+
raise NotImplementedError('Method not implemented!')
|
|
90
|
+
|
|
78
91
|
|
|
79
92
|
def add_DataAcquisitionPluginServiceServicer_to_server(servicer, server):
|
|
80
93
|
rpc_method_handlers = {
|
|
@@ -98,6 +111,11 @@ def add_DataAcquisitionPluginServiceServicer_to_server(servicer, server):
|
|
|
98
111
|
request_deserializer=bosdyn_dot_api_dot_data__acquisition__pb2.CancelAcquisitionRequest.FromString,
|
|
99
112
|
response_serializer=bosdyn_dot_api_dot_data__acquisition__pb2.CancelAcquisitionResponse.SerializeToString,
|
|
100
113
|
),
|
|
114
|
+
'GetLiveData': grpc.unary_unary_rpc_method_handler(
|
|
115
|
+
servicer.GetLiveData,
|
|
116
|
+
request_deserializer=bosdyn_dot_api_dot_data__acquisition__pb2.LiveDataRequest.FromString,
|
|
117
|
+
response_serializer=bosdyn_dot_api_dot_data__acquisition__pb2.LiveDataResponse.SerializeToString,
|
|
118
|
+
),
|
|
101
119
|
}
|
|
102
120
|
generic_handler = grpc.method_handlers_generic_handler(
|
|
103
121
|
'bosdyn.api.DataAcquisitionPluginService', rpc_method_handlers)
|
|
@@ -178,3 +196,20 @@ class DataAcquisitionPluginService(object):
|
|
|
178
196
|
bosdyn_dot_api_dot_data__acquisition__pb2.CancelAcquisitionResponse.FromString,
|
|
179
197
|
options, channel_credentials,
|
|
180
198
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
199
|
+
|
|
200
|
+
@staticmethod
|
|
201
|
+
def GetLiveData(request,
|
|
202
|
+
target,
|
|
203
|
+
options=(),
|
|
204
|
+
channel_credentials=None,
|
|
205
|
+
call_credentials=None,
|
|
206
|
+
insecure=False,
|
|
207
|
+
compression=None,
|
|
208
|
+
wait_for_ready=None,
|
|
209
|
+
timeout=None,
|
|
210
|
+
metadata=None):
|
|
211
|
+
return grpc.experimental.unary_unary(request, target, '/bosdyn.api.DataAcquisitionPluginService/GetLiveData',
|
|
212
|
+
bosdyn_dot_api_dot_data__acquisition__pb2.LiveDataRequest.SerializeToString,
|
|
213
|
+
bosdyn_dot_api_dot_data__acquisition__pb2.LiveDataResponse.FromString,
|
|
214
|
+
options, channel_credentials,
|
|
215
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
@@ -15,7 +15,7 @@ _sym_db = _symbol_database.Default()
|
|
|
15
15
|
from bosdyn.api import data_acquisition_pb2 as bosdyn_dot_api_dot_data__acquisition__pb2
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)bosdyn/api/data_acquisition_service.proto\x12\nbosdyn.api\x1a!bosdyn/api/data_acquisition.proto2\
|
|
18
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)bosdyn/api/data_acquisition_service.proto\x12\nbosdyn.api\x1a!bosdyn/api/data_acquisition.proto2\xb7\x03\n\x16\x44\x61taAcquisitionService\x12N\n\x0b\x41\x63quireData\x12\x1e.bosdyn.api.AcquireDataRequest\x1a\x1f.bosdyn.api.AcquireDataResponse\x12H\n\tGetStatus\x12\x1c.bosdyn.api.GetStatusRequest\x1a\x1d.bosdyn.api.GetStatusResponse\x12W\n\x0eGetServiceInfo\x12!.bosdyn.api.GetServiceInfoRequest\x1a\".bosdyn.api.GetServiceInfoResponse\x12`\n\x11\x43\x61ncelAcquisition\x12$.bosdyn.api.CancelAcquisitionRequest\x1a%.bosdyn.api.CancelAcquisitionResponse\x12H\n\x0bGetLiveData\x12\x1b.bosdyn.api.LiveDataRequest\x1a\x1c.bosdyn.api.LiveDataResponseB\x1d\x42\x1b\x44\x61taAcquisitionServiceProtob\x06proto3')
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
@@ -25,5 +25,5 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
25
25
|
DESCRIPTOR._options = None
|
|
26
26
|
DESCRIPTOR._serialized_options = b'B\033DataAcquisitionServiceProto'
|
|
27
27
|
_DATAACQUISITIONSERVICE._serialized_start=93
|
|
28
|
-
_DATAACQUISITIONSERVICE._serialized_end=
|
|
28
|
+
_DATAACQUISITIONSERVICE._serialized_end=532
|
|
29
29
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -6,7 +6,7 @@ from bosdyn.api import data_acquisition_pb2 as bosdyn_dot_api_dot_data__acquisit
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
class DataAcquisitionServiceStub(object):
|
|
9
|
-
"""The DataAcquisitionService is the main data acquisition service run on robot, which
|
|
9
|
+
"""The DataAcquisitionService is the main data acquisition service run on robot, which receives
|
|
10
10
|
incoming requests and sends queries to all directory-registered DataAcquisitionPluginServices.
|
|
11
11
|
"""
|
|
12
12
|
|
|
@@ -36,10 +36,15 @@ class DataAcquisitionServiceStub(object):
|
|
|
36
36
|
request_serializer=bosdyn_dot_api_dot_data__acquisition__pb2.CancelAcquisitionRequest.SerializeToString,
|
|
37
37
|
response_deserializer=bosdyn_dot_api_dot_data__acquisition__pb2.CancelAcquisitionResponse.FromString,
|
|
38
38
|
)
|
|
39
|
+
self.GetLiveData = channel.unary_unary(
|
|
40
|
+
'/bosdyn.api.DataAcquisitionService/GetLiveData',
|
|
41
|
+
request_serializer=bosdyn_dot_api_dot_data__acquisition__pb2.LiveDataRequest.SerializeToString,
|
|
42
|
+
response_deserializer=bosdyn_dot_api_dot_data__acquisition__pb2.LiveDataResponse.FromString,
|
|
43
|
+
)
|
|
39
44
|
|
|
40
45
|
|
|
41
46
|
class DataAcquisitionServiceServicer(object):
|
|
42
|
-
"""The DataAcquisitionService is the main data acquisition service run on robot, which
|
|
47
|
+
"""The DataAcquisitionService is the main data acquisition service run on robot, which receives
|
|
43
48
|
incoming requests and sends queries to all directory-registered DataAcquisitionPluginServices.
|
|
44
49
|
"""
|
|
45
50
|
|
|
@@ -72,6 +77,14 @@ class DataAcquisitionServiceServicer(object):
|
|
|
72
77
|
context.set_details('Method not implemented!')
|
|
73
78
|
raise NotImplementedError('Method not implemented!')
|
|
74
79
|
|
|
80
|
+
def GetLiveData(self, request, context):
|
|
81
|
+
"""Request live data available from DAQ plugins during teleoperation.
|
|
82
|
+
Please use the other RPCs for typical data acquisition.
|
|
83
|
+
"""
|
|
84
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
85
|
+
context.set_details('Method not implemented!')
|
|
86
|
+
raise NotImplementedError('Method not implemented!')
|
|
87
|
+
|
|
75
88
|
|
|
76
89
|
def add_DataAcquisitionServiceServicer_to_server(servicer, server):
|
|
77
90
|
rpc_method_handlers = {
|
|
@@ -95,6 +108,11 @@ def add_DataAcquisitionServiceServicer_to_server(servicer, server):
|
|
|
95
108
|
request_deserializer=bosdyn_dot_api_dot_data__acquisition__pb2.CancelAcquisitionRequest.FromString,
|
|
96
109
|
response_serializer=bosdyn_dot_api_dot_data__acquisition__pb2.CancelAcquisitionResponse.SerializeToString,
|
|
97
110
|
),
|
|
111
|
+
'GetLiveData': grpc.unary_unary_rpc_method_handler(
|
|
112
|
+
servicer.GetLiveData,
|
|
113
|
+
request_deserializer=bosdyn_dot_api_dot_data__acquisition__pb2.LiveDataRequest.FromString,
|
|
114
|
+
response_serializer=bosdyn_dot_api_dot_data__acquisition__pb2.LiveDataResponse.SerializeToString,
|
|
115
|
+
),
|
|
98
116
|
}
|
|
99
117
|
generic_handler = grpc.method_handlers_generic_handler(
|
|
100
118
|
'bosdyn.api.DataAcquisitionService', rpc_method_handlers)
|
|
@@ -103,7 +121,7 @@ def add_DataAcquisitionServiceServicer_to_server(servicer, server):
|
|
|
103
121
|
|
|
104
122
|
# This class is part of an EXPERIMENTAL API.
|
|
105
123
|
class DataAcquisitionService(object):
|
|
106
|
-
"""The DataAcquisitionService is the main data acquisition service run on robot, which
|
|
124
|
+
"""The DataAcquisitionService is the main data acquisition service run on robot, which receives
|
|
107
125
|
incoming requests and sends queries to all directory-registered DataAcquisitionPluginServices.
|
|
108
126
|
"""
|
|
109
127
|
|
|
@@ -174,3 +192,20 @@ class DataAcquisitionService(object):
|
|
|
174
192
|
bosdyn_dot_api_dot_data__acquisition__pb2.CancelAcquisitionResponse.FromString,
|
|
175
193
|
options, channel_credentials,
|
|
176
194
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
195
|
+
|
|
196
|
+
@staticmethod
|
|
197
|
+
def GetLiveData(request,
|
|
198
|
+
target,
|
|
199
|
+
options=(),
|
|
200
|
+
channel_credentials=None,
|
|
201
|
+
call_credentials=None,
|
|
202
|
+
insecure=False,
|
|
203
|
+
compression=None,
|
|
204
|
+
wait_for_ready=None,
|
|
205
|
+
timeout=None,
|
|
206
|
+
metadata=None):
|
|
207
|
+
return grpc.experimental.unary_unary(request, target, '/bosdyn.api.DataAcquisitionService/GetLiveData',
|
|
208
|
+
bosdyn_dot_api_dot_data__acquisition__pb2.LiveDataRequest.SerializeToString,
|
|
209
|
+
bosdyn_dot_api_dot_data__acquisition__pb2.LiveDataResponse.FromString,
|
|
210
|
+
options, channel_credentials,
|
|
211
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|