bosdyn-api 3.3.2__py3-none-any.whl → 4.0.1__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.2.dist-info → bosdyn_api-4.0.1.dist-info}/METADATA +4 -4
- {bosdyn_api-3.3.2.dist-info → bosdyn_api-4.0.1.dist-info}/RECORD +75 -49
- {bosdyn_api-3.3.2.dist-info → bosdyn_api-4.0.1.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.2.dist-info → bosdyn_api-4.0.1.dist-info}/top_level.txt +0 -0
|
@@ -18,13 +18,14 @@ from bosdyn.api import image_pb2 as bosdyn_dot_api_dot_image__pb2
|
|
|
18
18
|
from bosdyn.api import data_acquisition_pb2 as bosdyn_dot_api_dot_data__acquisition__pb2
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'bosdyn/api/data_acquisition_store.proto\x12\nbosdyn.api\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17\x62osdyn/api/header.proto\x1a\x16\x62osdyn/api/image.proto\x1a!bosdyn/api/data_acquisition.proto\"@\n\rActionIdQuery\x12/\n\naction_ids\x18\x01 \x03(\x0b\x32\x1b.bosdyn.api.CaptureActionId\"v\n\x0eTimeRangeQuery\x12\x32\n\x0e\x66rom_timestamp\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x30\n\x0cto_timestamp\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"}\n\x0f\x44\x61taQueryParams\x12\x30\n\ntime_range\x18\x01 \x01(\x0b\x32\x1a.bosdyn.api.TimeRangeQueryH\x00\x12/\n\naction_ids\x18\x02 \x01(\x0b\x32\x19.bosdyn.api.ActionIdQueryH\x00\x42\x07\n\x05query\"\x94\x01\n\x11StoreImageRequest\x12)\n\x06header\x18\x01 \x01(\x0b\x32\x19.bosdyn.api.RequestHeader\x12\'\n\x05image\x18\x02 \x01(\x0b\x32\x18.bosdyn.api.ImageCapture\x12+\n\x07\x64\x61ta_id\x18\x03 \x01(\x0b\x32\x1a.bosdyn.api.DataIdentifier\"L\n\x12StoreImageResponse\x12*\n\x06header\x18\x01 \x01(\x0b\x32\x1a.bosdyn.api.ResponseHeader\x12\n\n\x02id\x18\x02 \x01(\x04\"\xa0\x01\n\x14StoreMetadataRequest\x12)\n\x06header\x18\x01 \x01(\x0b\x32\x19.bosdyn.api.RequestHeader\x12\x30\n\x08metadata\x18\x02 \x01(\x0b\x32\x1e.bosdyn.api.AssociatedMetadata\x12+\n\x07\x64\x61ta_id\x18\x03 \x01(\x0b\x32\x1a.bosdyn.api.DataIdentifier\"O\n\x15StoreMetadataResponse\x12*\n\x06header\x18\x01 \x01(\x0b\x32\x1a.bosdyn.api.ResponseHeader\x12\n\n\x02id\x18\x02 \x01(\x04\"\xa4\x01\n\x15StoreAlertDataRequest\x12)\n\x06header\x18\x01 \x01(\x0b\x32\x19.bosdyn.api.RequestHeader\x12\x33\n\nalert_data\x18\x02 \x01(\x0b\x32\x1f.bosdyn.api.AssociatedAlertData\x12+\n\x07\x64\x61ta_id\x18\x03 \x01(\x0b\x32\x1a.bosdyn.api.DataIdentifier\"P\n\x16StoreAlertDataResponse\x12*\n\x06header\x18\x01 \x01(\x0b\x32\x1a.bosdyn.api.ResponseHeader\x12\n\n\x02id\x18\x02 \x01(\x04\"\x90\x01\n\x10StoreDataRequest\x12)\n\x06header\x18\x01 \x01(\x0b\x32\x19.bosdyn.api.RequestHeader\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x12+\n\x07\x64\x61ta_id\x18\x03 \x01(\x0b\x32\x1a.bosdyn.api.DataIdentifier\x12\x16\n\x0e\x66ile_extension\x18\x04 \x01(\t\"K\n\x11StoreDataResponse\x12*\n\x06header\x18\x01 \x01(\x0b\x32\x1a.bosdyn.api.ResponseHeader\x12\n\n\x02id\x18\x02 \x01(\x04\"r\n\x19ListCaptureActionsRequest\x12)\n\x06header\x18\x01 \x01(\x0b\x32\x19.bosdyn.api.RequestHeader\x12*\n\x05query\x18\x02 \x01(\x0b\x32\x1b.bosdyn.api.DataQueryParams\"y\n\x1aListCaptureActionsResponse\x12*\n\x06header\x18\x01 \x01(\x0b\x32\x1a.bosdyn.api.ResponseHeader\x12/\n\naction_ids\x18\x02 \x03(\x0b\x32\x1b.bosdyn.api.CaptureActionId\"p\n\x17ListStoredImagesRequest\x12)\n\x06header\x18\x01 \x01(\x0b\x32\x19.bosdyn.api.RequestHeader\x12*\n\x05query\x18\x02 \x01(\x0b\x32\x1b.bosdyn.api.DataQueryParams\"t\n\x18ListStoredImagesResponse\x12*\n\x06header\x18\x01 \x01(\x0b\x32\x1a.bosdyn.api.ResponseHeader\x12,\n\x08\x64\x61ta_ids\x18\x02 \x03(\x0b\x32\x1a.bosdyn.api.DataIdentifier\"r\n\x19ListStoredMetadataRequest\x12)\n\x06header\x18\x01 \x01(\x0b\x32\x19.bosdyn.api.RequestHeader\x12*\n\x05query\x18\x02 \x01(\x0b\x32\x1b.bosdyn.api.DataQueryParams\"v\n\x1aListStoredMetadataResponse\x12*\n\x06header\x18\x01 \x01(\x0b\x32\x1a.bosdyn.api.ResponseHeader\x12,\n\x08\x64\x61ta_ids\x18\x02 \x03(\x0b\x32\x1a.bosdyn.api.DataIdentifier\"s\n\x1aListStoredAlertDataRequest\x12)\n\x06header\x18\x01 \x01(\x0b\x32\x19.bosdyn.api.RequestHeader\x12*\n\x05query\x18\x02 \x01(\x0b\x32\x1b.bosdyn.api.DataQueryParams\"w\n\x1bListStoredAlertDataResponse\x12*\n\x06header\x18\x01 \x01(\x0b\x32\x1a.bosdyn.api.ResponseHeader\x12,\n\x08\x64\x61ta_ids\x18\x02 \x03(\x0b\x32\x1a.bosdyn.api.DataIdentifier\"n\n\x15ListStoredDataRequest\x12)\n\x06header\x18\x01 \x01(\x0b\x32\x19.bosdyn.api.RequestHeader\x12*\n\x05query\x18\x02 \x01(\x0b\x32\x1b.bosdyn.api.DataQueryParams\"r\n\x16ListStoredDataResponse\x12*\n\x06header\x18\x01 \x01(\x0b\x32\x1a.bosdyn.api.ResponseHeader\x12,\n\x08\x64\x61ta_ids\x18\x02 \x03(\x0b\x32\x1a.bosdyn.api.
|
|
21
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'bosdyn/api/data_acquisition_store.proto\x12\nbosdyn.api\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17\x62osdyn/api/header.proto\x1a\x16\x62osdyn/api/image.proto\x1a!bosdyn/api/data_acquisition.proto\"@\n\rActionIdQuery\x12/\n\naction_ids\x18\x01 \x03(\x0b\x32\x1b.bosdyn.api.CaptureActionId\"v\n\x0eTimeRangeQuery\x12\x32\n\x0e\x66rom_timestamp\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x30\n\x0cto_timestamp\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"}\n\x0f\x44\x61taQueryParams\x12\x30\n\ntime_range\x18\x01 \x01(\x0b\x32\x1a.bosdyn.api.TimeRangeQueryH\x00\x12/\n\naction_ids\x18\x02 \x01(\x0b\x32\x19.bosdyn.api.ActionIdQueryH\x00\x42\x07\n\x05query\"\xa0\x02\n\x0fQueryParameters\x12.\n\ntime_range\x18\x01 \x01(\x0b\x32\x1a.bosdyn.api.TimeRangeQuery\x12/\n\naction_ids\x18\x02 \x03(\x0b\x32\x1b.bosdyn.api.CaptureActionId\x12\x10\n\x08\x63hannels\x18\x03 \x03(\t\x12\x18\n\x10\x63\x61ptures_from_id\x18\x04 \x01(\x04\x12 \n\x18only_include_identifiers\x18\x05 \x01(\x08\x12\x16\n\x0einclude_images\x18\x06 \x01(\x08\x12\x14\n\x0cinclude_data\x18\x07 \x01(\x08\x12\x18\n\x10include_metadata\x18\x08 \x01(\x08\x12\x16\n\x0einclude_alerts\x18\t \x01(\x08\"\x94\x01\n\x11StoreImageRequest\x12)\n\x06header\x18\x01 \x01(\x0b\x32\x19.bosdyn.api.RequestHeader\x12\'\n\x05image\x18\x02 \x01(\x0b\x32\x18.bosdyn.api.ImageCapture\x12+\n\x07\x64\x61ta_id\x18\x03 \x01(\x0b\x32\x1a.bosdyn.api.DataIdentifier\"L\n\x12StoreImageResponse\x12*\n\x06header\x18\x01 \x01(\x0b\x32\x1a.bosdyn.api.ResponseHeader\x12\n\n\x02id\x18\x02 \x01(\x04\"\xa0\x01\n\x14StoreMetadataRequest\x12)\n\x06header\x18\x01 \x01(\x0b\x32\x19.bosdyn.api.RequestHeader\x12\x30\n\x08metadata\x18\x02 \x01(\x0b\x32\x1e.bosdyn.api.AssociatedMetadata\x12+\n\x07\x64\x61ta_id\x18\x03 \x01(\x0b\x32\x1a.bosdyn.api.DataIdentifier\"O\n\x15StoreMetadataResponse\x12*\n\x06header\x18\x01 \x01(\x0b\x32\x1a.bosdyn.api.ResponseHeader\x12\n\n\x02id\x18\x02 \x01(\x04\"\xa4\x01\n\x15StoreAlertDataRequest\x12)\n\x06header\x18\x01 \x01(\x0b\x32\x19.bosdyn.api.RequestHeader\x12\x33\n\nalert_data\x18\x02 \x01(\x0b\x32\x1f.bosdyn.api.AssociatedAlertData\x12+\n\x07\x64\x61ta_id\x18\x03 \x01(\x0b\x32\x1a.bosdyn.api.DataIdentifier\"P\n\x16StoreAlertDataResponse\x12*\n\x06header\x18\x01 \x01(\x0b\x32\x1a.bosdyn.api.ResponseHeader\x12\n\n\x02id\x18\x02 \x01(\x04\"\x90\x01\n\x10StoreDataRequest\x12)\n\x06header\x18\x01 \x01(\x0b\x32\x19.bosdyn.api.RequestHeader\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x12+\n\x07\x64\x61ta_id\x18\x03 \x01(\x0b\x32\x1a.bosdyn.api.DataIdentifier\x12\x16\n\x0e\x66ile_extension\x18\x04 \x01(\t\"K\n\x11StoreDataResponse\x12*\n\x06header\x18\x01 \x01(\x0b\x32\x1a.bosdyn.api.ResponseHeader\x12\n\n\x02id\x18\x02 \x01(\x04\"r\n\x19ListCaptureActionsRequest\x12)\n\x06header\x18\x01 \x01(\x0b\x32\x19.bosdyn.api.RequestHeader\x12*\n\x05query\x18\x02 \x01(\x0b\x32\x1b.bosdyn.api.DataQueryParams\"y\n\x1aListCaptureActionsResponse\x12*\n\x06header\x18\x01 \x01(\x0b\x32\x1a.bosdyn.api.ResponseHeader\x12/\n\naction_ids\x18\x02 \x03(\x0b\x32\x1b.bosdyn.api.CaptureActionId\"p\n\x17ListStoredImagesRequest\x12)\n\x06header\x18\x01 \x01(\x0b\x32\x19.bosdyn.api.RequestHeader\x12*\n\x05query\x18\x02 \x01(\x0b\x32\x1b.bosdyn.api.DataQueryParams\"t\n\x18ListStoredImagesResponse\x12*\n\x06header\x18\x01 \x01(\x0b\x32\x1a.bosdyn.api.ResponseHeader\x12,\n\x08\x64\x61ta_ids\x18\x02 \x03(\x0b\x32\x1a.bosdyn.api.DataIdentifier\"r\n\x19ListStoredMetadataRequest\x12)\n\x06header\x18\x01 \x01(\x0b\x32\x19.bosdyn.api.RequestHeader\x12*\n\x05query\x18\x02 \x01(\x0b\x32\x1b.bosdyn.api.DataQueryParams\"v\n\x1aListStoredMetadataResponse\x12*\n\x06header\x18\x01 \x01(\x0b\x32\x1a.bosdyn.api.ResponseHeader\x12,\n\x08\x64\x61ta_ids\x18\x02 \x03(\x0b\x32\x1a.bosdyn.api.DataIdentifier\"s\n\x1aListStoredAlertDataRequest\x12)\n\x06header\x18\x01 \x01(\x0b\x32\x19.bosdyn.api.RequestHeader\x12*\n\x05query\x18\x02 \x01(\x0b\x32\x1b.bosdyn.api.DataQueryParams\"w\n\x1bListStoredAlertDataResponse\x12*\n\x06header\x18\x01 \x01(\x0b\x32\x1a.bosdyn.api.ResponseHeader\x12,\n\x08\x64\x61ta_ids\x18\x02 \x03(\x0b\x32\x1a.bosdyn.api.DataIdentifier\"n\n\x15ListStoredDataRequest\x12)\n\x06header\x18\x01 \x01(\x0b\x32\x19.bosdyn.api.RequestHeader\x12*\n\x05query\x18\x02 \x01(\x0b\x32\x1b.bosdyn.api.DataQueryParams\"r\n\x16ListStoredDataResponse\x12*\n\x06header\x18\x01 \x01(\x0b\x32\x1a.bosdyn.api.ResponseHeader\x12,\n\x08\x64\x61ta_ids\x18\x02 \x03(\x0b\x32\x1a.bosdyn.api.DataIdentifier\"s\n\x1aQueryStoredCapturesRequest\x12)\n\x06header\x18\x01 \x01(\x0b\x32\x19.bosdyn.api.RequestHeader\x12*\n\x05query\x18\x02 \x01(\x0b\x32\x1b.bosdyn.api.QueryParameters\":\n\x12StoredCapturedData\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\x12\x16\n\x0e\x66ile_extension\x18\x02 \x01(\t\"\x97\x02\n\x18QueryStoredCaptureResult\x12+\n\x07\x64\x61ta_id\x18\x01 \x01(\x0b\x32\x1a.bosdyn.api.DataIdentifier\x12)\n\x05image\x18\x03 \x01(\x0b\x32\x18.bosdyn.api.ImageCaptureH\x00\x12\x32\n\x08metadata\x18\x04 \x01(\x0b\x32\x1e.bosdyn.api.AssociatedMetadataH\x00\x12\x35\n\nalert_data\x18\x05 \x01(\x0b\x32\x1f.bosdyn.api.AssociatedAlertDataH\x00\x12.\n\x04\x64\x61ta\x18\x06 \x01(\x0b\x32\x1e.bosdyn.api.StoredCapturedDataH\x00\x42\x08\n\x06result\"\xc9\x01\n\x1bQueryStoredCapturesResponse\x12*\n\x06header\x18\x01 \x01(\x0b\x32\x1a.bosdyn.api.ResponseHeader\x12/\n\naction_ids\x18\x02 \x03(\x0b\x32\x1b.bosdyn.api.CaptureActionId\x12\x35\n\x07results\x18\x03 \x03(\x0b\x32$.bosdyn.api.QueryStoredCaptureResult\x12\x16\n\x0emax_capture_id\x18\x04 \x01(\x04\"q\n\x18QueryMaxCaptureIdRequest\x12)\n\x06header\x18\x01 \x01(\x0b\x32\x19.bosdyn.api.RequestHeader\x12*\n\x05query\x18\x02 \x01(\x0b\x32\x1b.bosdyn.api.QueryParameters\"_\n\x19QueryMaxCaptureIdResponse\x12*\n\x06header\x18\x01 \x01(\x0b\x32\x1a.bosdyn.api.ResponseHeader\x12\x16\n\x0emax_capture_id\x18\x02 \x01(\x04\x42\x1b\x42\x19\x44\x61taAcquisitionStoreProtob\x06proto3')
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
_ACTIONIDQUERY = DESCRIPTOR.message_types_by_name['ActionIdQuery']
|
|
26
26
|
_TIMERANGEQUERY = DESCRIPTOR.message_types_by_name['TimeRangeQuery']
|
|
27
27
|
_DATAQUERYPARAMS = DESCRIPTOR.message_types_by_name['DataQueryParams']
|
|
28
|
+
_QUERYPARAMETERS = DESCRIPTOR.message_types_by_name['QueryParameters']
|
|
28
29
|
_STOREIMAGEREQUEST = DESCRIPTOR.message_types_by_name['StoreImageRequest']
|
|
29
30
|
_STOREIMAGERESPONSE = DESCRIPTOR.message_types_by_name['StoreImageResponse']
|
|
30
31
|
_STOREMETADATAREQUEST = DESCRIPTOR.message_types_by_name['StoreMetadataRequest']
|
|
@@ -43,6 +44,12 @@ _LISTSTOREDALERTDATAREQUEST = DESCRIPTOR.message_types_by_name['ListStoredAlertD
|
|
|
43
44
|
_LISTSTOREDALERTDATARESPONSE = DESCRIPTOR.message_types_by_name['ListStoredAlertDataResponse']
|
|
44
45
|
_LISTSTOREDDATAREQUEST = DESCRIPTOR.message_types_by_name['ListStoredDataRequest']
|
|
45
46
|
_LISTSTOREDDATARESPONSE = DESCRIPTOR.message_types_by_name['ListStoredDataResponse']
|
|
47
|
+
_QUERYSTOREDCAPTURESREQUEST = DESCRIPTOR.message_types_by_name['QueryStoredCapturesRequest']
|
|
48
|
+
_STOREDCAPTUREDDATA = DESCRIPTOR.message_types_by_name['StoredCapturedData']
|
|
49
|
+
_QUERYSTOREDCAPTURERESULT = DESCRIPTOR.message_types_by_name['QueryStoredCaptureResult']
|
|
50
|
+
_QUERYSTOREDCAPTURESRESPONSE = DESCRIPTOR.message_types_by_name['QueryStoredCapturesResponse']
|
|
51
|
+
_QUERYMAXCAPTUREIDREQUEST = DESCRIPTOR.message_types_by_name['QueryMaxCaptureIdRequest']
|
|
52
|
+
_QUERYMAXCAPTUREIDRESPONSE = DESCRIPTOR.message_types_by_name['QueryMaxCaptureIdResponse']
|
|
46
53
|
ActionIdQuery = _reflection.GeneratedProtocolMessageType('ActionIdQuery', (_message.Message,), {
|
|
47
54
|
'DESCRIPTOR' : _ACTIONIDQUERY,
|
|
48
55
|
'__module__' : 'bosdyn.api.data_acquisition_store_pb2'
|
|
@@ -64,6 +71,13 @@ DataQueryParams = _reflection.GeneratedProtocolMessageType('DataQueryParams', (_
|
|
|
64
71
|
})
|
|
65
72
|
_sym_db.RegisterMessage(DataQueryParams)
|
|
66
73
|
|
|
74
|
+
QueryParameters = _reflection.GeneratedProtocolMessageType('QueryParameters', (_message.Message,), {
|
|
75
|
+
'DESCRIPTOR' : _QUERYPARAMETERS,
|
|
76
|
+
'__module__' : 'bosdyn.api.data_acquisition_store_pb2'
|
|
77
|
+
# @@protoc_insertion_point(class_scope:bosdyn.api.QueryParameters)
|
|
78
|
+
})
|
|
79
|
+
_sym_db.RegisterMessage(QueryParameters)
|
|
80
|
+
|
|
67
81
|
StoreImageRequest = _reflection.GeneratedProtocolMessageType('StoreImageRequest', (_message.Message,), {
|
|
68
82
|
'DESCRIPTOR' : _STOREIMAGEREQUEST,
|
|
69
83
|
'__module__' : 'bosdyn.api.data_acquisition_store_pb2'
|
|
@@ -190,6 +204,48 @@ ListStoredDataResponse = _reflection.GeneratedProtocolMessageType('ListStoredDat
|
|
|
190
204
|
})
|
|
191
205
|
_sym_db.RegisterMessage(ListStoredDataResponse)
|
|
192
206
|
|
|
207
|
+
QueryStoredCapturesRequest = _reflection.GeneratedProtocolMessageType('QueryStoredCapturesRequest', (_message.Message,), {
|
|
208
|
+
'DESCRIPTOR' : _QUERYSTOREDCAPTURESREQUEST,
|
|
209
|
+
'__module__' : 'bosdyn.api.data_acquisition_store_pb2'
|
|
210
|
+
# @@protoc_insertion_point(class_scope:bosdyn.api.QueryStoredCapturesRequest)
|
|
211
|
+
})
|
|
212
|
+
_sym_db.RegisterMessage(QueryStoredCapturesRequest)
|
|
213
|
+
|
|
214
|
+
StoredCapturedData = _reflection.GeneratedProtocolMessageType('StoredCapturedData', (_message.Message,), {
|
|
215
|
+
'DESCRIPTOR' : _STOREDCAPTUREDDATA,
|
|
216
|
+
'__module__' : 'bosdyn.api.data_acquisition_store_pb2'
|
|
217
|
+
# @@protoc_insertion_point(class_scope:bosdyn.api.StoredCapturedData)
|
|
218
|
+
})
|
|
219
|
+
_sym_db.RegisterMessage(StoredCapturedData)
|
|
220
|
+
|
|
221
|
+
QueryStoredCaptureResult = _reflection.GeneratedProtocolMessageType('QueryStoredCaptureResult', (_message.Message,), {
|
|
222
|
+
'DESCRIPTOR' : _QUERYSTOREDCAPTURERESULT,
|
|
223
|
+
'__module__' : 'bosdyn.api.data_acquisition_store_pb2'
|
|
224
|
+
# @@protoc_insertion_point(class_scope:bosdyn.api.QueryStoredCaptureResult)
|
|
225
|
+
})
|
|
226
|
+
_sym_db.RegisterMessage(QueryStoredCaptureResult)
|
|
227
|
+
|
|
228
|
+
QueryStoredCapturesResponse = _reflection.GeneratedProtocolMessageType('QueryStoredCapturesResponse', (_message.Message,), {
|
|
229
|
+
'DESCRIPTOR' : _QUERYSTOREDCAPTURESRESPONSE,
|
|
230
|
+
'__module__' : 'bosdyn.api.data_acquisition_store_pb2'
|
|
231
|
+
# @@protoc_insertion_point(class_scope:bosdyn.api.QueryStoredCapturesResponse)
|
|
232
|
+
})
|
|
233
|
+
_sym_db.RegisterMessage(QueryStoredCapturesResponse)
|
|
234
|
+
|
|
235
|
+
QueryMaxCaptureIdRequest = _reflection.GeneratedProtocolMessageType('QueryMaxCaptureIdRequest', (_message.Message,), {
|
|
236
|
+
'DESCRIPTOR' : _QUERYMAXCAPTUREIDREQUEST,
|
|
237
|
+
'__module__' : 'bosdyn.api.data_acquisition_store_pb2'
|
|
238
|
+
# @@protoc_insertion_point(class_scope:bosdyn.api.QueryMaxCaptureIdRequest)
|
|
239
|
+
})
|
|
240
|
+
_sym_db.RegisterMessage(QueryMaxCaptureIdRequest)
|
|
241
|
+
|
|
242
|
+
QueryMaxCaptureIdResponse = _reflection.GeneratedProtocolMessageType('QueryMaxCaptureIdResponse', (_message.Message,), {
|
|
243
|
+
'DESCRIPTOR' : _QUERYMAXCAPTUREIDRESPONSE,
|
|
244
|
+
'__module__' : 'bosdyn.api.data_acquisition_store_pb2'
|
|
245
|
+
# @@protoc_insertion_point(class_scope:bosdyn.api.QueryMaxCaptureIdResponse)
|
|
246
|
+
})
|
|
247
|
+
_sym_db.RegisterMessage(QueryMaxCaptureIdResponse)
|
|
248
|
+
|
|
193
249
|
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
194
250
|
|
|
195
251
|
DESCRIPTOR._options = None
|
|
@@ -200,40 +256,54 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
200
256
|
_TIMERANGEQUERY._serialized_end=356
|
|
201
257
|
_DATAQUERYPARAMS._serialized_start=358
|
|
202
258
|
_DATAQUERYPARAMS._serialized_end=483
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
259
|
+
_QUERYPARAMETERS._serialized_start=486
|
|
260
|
+
_QUERYPARAMETERS._serialized_end=774
|
|
261
|
+
_STOREIMAGEREQUEST._serialized_start=777
|
|
262
|
+
_STOREIMAGEREQUEST._serialized_end=925
|
|
263
|
+
_STOREIMAGERESPONSE._serialized_start=927
|
|
264
|
+
_STOREIMAGERESPONSE._serialized_end=1003
|
|
265
|
+
_STOREMETADATAREQUEST._serialized_start=1006
|
|
266
|
+
_STOREMETADATAREQUEST._serialized_end=1166
|
|
267
|
+
_STOREMETADATARESPONSE._serialized_start=1168
|
|
268
|
+
_STOREMETADATARESPONSE._serialized_end=1247
|
|
269
|
+
_STOREALERTDATAREQUEST._serialized_start=1250
|
|
270
|
+
_STOREALERTDATAREQUEST._serialized_end=1414
|
|
271
|
+
_STOREALERTDATARESPONSE._serialized_start=1416
|
|
272
|
+
_STOREALERTDATARESPONSE._serialized_end=1496
|
|
273
|
+
_STOREDATAREQUEST._serialized_start=1499
|
|
274
|
+
_STOREDATAREQUEST._serialized_end=1643
|
|
275
|
+
_STOREDATARESPONSE._serialized_start=1645
|
|
276
|
+
_STOREDATARESPONSE._serialized_end=1720
|
|
277
|
+
_LISTCAPTUREACTIONSREQUEST._serialized_start=1722
|
|
278
|
+
_LISTCAPTUREACTIONSREQUEST._serialized_end=1836
|
|
279
|
+
_LISTCAPTUREACTIONSRESPONSE._serialized_start=1838
|
|
280
|
+
_LISTCAPTUREACTIONSRESPONSE._serialized_end=1959
|
|
281
|
+
_LISTSTOREDIMAGESREQUEST._serialized_start=1961
|
|
282
|
+
_LISTSTOREDIMAGESREQUEST._serialized_end=2073
|
|
283
|
+
_LISTSTOREDIMAGESRESPONSE._serialized_start=2075
|
|
284
|
+
_LISTSTOREDIMAGESRESPONSE._serialized_end=2191
|
|
285
|
+
_LISTSTOREDMETADATAREQUEST._serialized_start=2193
|
|
286
|
+
_LISTSTOREDMETADATAREQUEST._serialized_end=2307
|
|
287
|
+
_LISTSTOREDMETADATARESPONSE._serialized_start=2309
|
|
288
|
+
_LISTSTOREDMETADATARESPONSE._serialized_end=2427
|
|
289
|
+
_LISTSTOREDALERTDATAREQUEST._serialized_start=2429
|
|
290
|
+
_LISTSTOREDALERTDATAREQUEST._serialized_end=2544
|
|
291
|
+
_LISTSTOREDALERTDATARESPONSE._serialized_start=2546
|
|
292
|
+
_LISTSTOREDALERTDATARESPONSE._serialized_end=2665
|
|
293
|
+
_LISTSTOREDDATAREQUEST._serialized_start=2667
|
|
294
|
+
_LISTSTOREDDATAREQUEST._serialized_end=2777
|
|
295
|
+
_LISTSTOREDDATARESPONSE._serialized_start=2779
|
|
296
|
+
_LISTSTOREDDATARESPONSE._serialized_end=2893
|
|
297
|
+
_QUERYSTOREDCAPTURESREQUEST._serialized_start=2895
|
|
298
|
+
_QUERYSTOREDCAPTURESREQUEST._serialized_end=3010
|
|
299
|
+
_STOREDCAPTUREDDATA._serialized_start=3012
|
|
300
|
+
_STOREDCAPTUREDDATA._serialized_end=3070
|
|
301
|
+
_QUERYSTOREDCAPTURERESULT._serialized_start=3073
|
|
302
|
+
_QUERYSTOREDCAPTURERESULT._serialized_end=3352
|
|
303
|
+
_QUERYSTOREDCAPTURESRESPONSE._serialized_start=3355
|
|
304
|
+
_QUERYSTOREDCAPTURESRESPONSE._serialized_end=3556
|
|
305
|
+
_QUERYMAXCAPTUREIDREQUEST._serialized_start=3558
|
|
306
|
+
_QUERYMAXCAPTUREIDREQUEST._serialized_end=3671
|
|
307
|
+
_QUERYMAXCAPTUREIDRESPONSE._serialized_start=3673
|
|
308
|
+
_QUERYMAXCAPTUREIDRESPONSE._serialized_end=3768
|
|
239
309
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -12,10 +12,11 @@ from google.protobuf import symbol_database as _symbol_database
|
|
|
12
12
|
_sym_db = _symbol_database.Default()
|
|
13
13
|
|
|
14
14
|
|
|
15
|
+
from bosdyn.api import data_chunk_pb2 as bosdyn_dot_api_dot_data__chunk__pb2
|
|
15
16
|
from bosdyn.api import data_acquisition_store_pb2 as bosdyn_dot_api_dot_data__acquisition__store__pb2
|
|
16
17
|
|
|
17
18
|
|
|
18
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n/bosdyn/api/data_acquisition_store_service.proto\x12\nbosdyn.api\x1a\'bosdyn/api/data_acquisition_store.proto2\
|
|
19
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n/bosdyn/api/data_acquisition_store_service.proto\x12\nbosdyn.api\x1a\x1b\x62osdyn/api/data_chunk.proto\x1a\'bosdyn/api/data_acquisition_store.proto2\x87\x08\n\x1b\x44\x61taAcquisitionStoreService\x12\x63\n\x12ListCaptureActions\x12%.bosdyn.api.ListCaptureActionsRequest\x1a&.bosdyn.api.ListCaptureActionsResponse\x12W\n\x0eListStoredData\x12!.bosdyn.api.ListStoredDataRequest\x1a\".bosdyn.api.ListStoredDataResponse\x12H\n\tStoreData\x12\x1c.bosdyn.api.StoreDataRequest\x1a\x1d.bosdyn.api.StoreDataResponse\x12]\n\x10ListStoredImages\x12#.bosdyn.api.ListStoredImagesRequest\x1a$.bosdyn.api.ListStoredImagesResponse\x12K\n\nStoreImage\x12\x1d.bosdyn.api.StoreImageRequest\x1a\x1e.bosdyn.api.StoreImageResponse\x12\x63\n\x12ListStoredMetadata\x12%.bosdyn.api.ListStoredMetadataRequest\x1a&.bosdyn.api.ListStoredMetadataResponse\x12T\n\rStoreMetadata\x12 .bosdyn.api.StoreMetadataRequest\x1a!.bosdyn.api.StoreMetadataResponse\x12\x66\n\x13ListStoredAlertData\x12&.bosdyn.api.ListStoredAlertDataRequest\x1a\'.bosdyn.api.ListStoredAlertDataResponse\x12W\n\x0eStoreAlertData\x12!.bosdyn.api.StoreAlertDataRequest\x1a\".bosdyn.api.StoreAlertDataResponse\x12V\n\x13QueryStoredCaptures\x12&.bosdyn.api.QueryStoredCapturesRequest\x1a\x15.bosdyn.api.DataChunk0\x01\x12`\n\x11QueryMaxCaptureId\x12$.bosdyn.api.QueryMaxCaptureIdRequest\x1a%.bosdyn.api.QueryMaxCaptureIdResponseB\"B DataAcquisitionStoreServiceProtob\x06proto3')
|
|
19
20
|
|
|
20
21
|
|
|
21
22
|
|
|
@@ -24,6 +25,6 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
24
25
|
|
|
25
26
|
DESCRIPTOR._options = None
|
|
26
27
|
DESCRIPTOR._serialized_options = b'B DataAcquisitionStoreServiceProto'
|
|
27
|
-
_DATAACQUISITIONSTORESERVICE._serialized_start=
|
|
28
|
-
_DATAACQUISITIONSTORESERVICE._serialized_end=
|
|
28
|
+
_DATAACQUISITIONSTORESERVICE._serialized_start=134
|
|
29
|
+
_DATAACQUISITIONSTORESERVICE._serialized_end=1165
|
|
29
30
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
import grpc
|
|
4
4
|
|
|
5
5
|
from bosdyn.api import data_acquisition_store_pb2 as bosdyn_dot_api_dot_data__acquisition__store__pb2
|
|
6
|
+
from bosdyn.api import data_chunk_pb2 as bosdyn_dot_api_dot_data__chunk__pb2
|
|
6
7
|
|
|
7
8
|
|
|
8
9
|
class DataAcquisitionStoreServiceStub(object):
|
|
@@ -63,6 +64,16 @@ class DataAcquisitionStoreServiceStub(object):
|
|
|
63
64
|
request_serializer=bosdyn_dot_api_dot_data__acquisition__store__pb2.StoreAlertDataRequest.SerializeToString,
|
|
64
65
|
response_deserializer=bosdyn_dot_api_dot_data__acquisition__store__pb2.StoreAlertDataResponse.FromString,
|
|
65
66
|
)
|
|
67
|
+
self.QueryStoredCaptures = channel.unary_stream(
|
|
68
|
+
'/bosdyn.api.DataAcquisitionStoreService/QueryStoredCaptures',
|
|
69
|
+
request_serializer=bosdyn_dot_api_dot_data__acquisition__store__pb2.QueryStoredCapturesRequest.SerializeToString,
|
|
70
|
+
response_deserializer=bosdyn_dot_api_dot_data__chunk__pb2.DataChunk.FromString,
|
|
71
|
+
)
|
|
72
|
+
self.QueryMaxCaptureId = channel.unary_unary(
|
|
73
|
+
'/bosdyn.api.DataAcquisitionStoreService/QueryMaxCaptureId',
|
|
74
|
+
request_serializer=bosdyn_dot_api_dot_data__acquisition__store__pb2.QueryMaxCaptureIdRequest.SerializeToString,
|
|
75
|
+
response_deserializer=bosdyn_dot_api_dot_data__acquisition__store__pb2.QueryMaxCaptureIdResponse.FromString,
|
|
76
|
+
)
|
|
66
77
|
|
|
67
78
|
|
|
68
79
|
class DataAcquisitionStoreServiceServicer(object):
|
|
@@ -141,6 +152,30 @@ class DataAcquisitionStoreServiceServicer(object):
|
|
|
141
152
|
context.set_details('Method not implemented!')
|
|
142
153
|
raise NotImplementedError('Method not implemented!')
|
|
143
154
|
|
|
155
|
+
def QueryStoredCaptures(self, request, context):
|
|
156
|
+
"""Query the Data Acquisition Store for captured data. This streaming RPC returns a single
|
|
157
|
+
QueryStoredCapturesResponse message, encoded as a list of DataChunk messages.
|
|
158
|
+
|
|
159
|
+
If the first capture matching the query is larger than an internal size limit set in the
|
|
160
|
+
service, the QueryStoredCapturesResponse message contains only that first capture matching
|
|
161
|
+
the query.
|
|
162
|
+
|
|
163
|
+
Otherwise, the QueryStoredCapturesResponse message contains as many matching captures as can
|
|
164
|
+
fit within the internal size limit, without breaking the results order.
|
|
165
|
+
|
|
166
|
+
To get all captures that match a query, you must make this RPC until it returns an empty
|
|
167
|
+
QueryStoredCapturesResponse with no elements in its "results" field.
|
|
168
|
+
"""
|
|
169
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
170
|
+
context.set_details('Method not implemented!')
|
|
171
|
+
raise NotImplementedError('Method not implemented!')
|
|
172
|
+
|
|
173
|
+
def QueryMaxCaptureId(self, request, context):
|
|
174
|
+
"""Missing associated documentation comment in .proto file."""
|
|
175
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
176
|
+
context.set_details('Method not implemented!')
|
|
177
|
+
raise NotImplementedError('Method not implemented!')
|
|
178
|
+
|
|
144
179
|
|
|
145
180
|
def add_DataAcquisitionStoreServiceServicer_to_server(servicer, server):
|
|
146
181
|
rpc_method_handlers = {
|
|
@@ -189,6 +224,16 @@ def add_DataAcquisitionStoreServiceServicer_to_server(servicer, server):
|
|
|
189
224
|
request_deserializer=bosdyn_dot_api_dot_data__acquisition__store__pb2.StoreAlertDataRequest.FromString,
|
|
190
225
|
response_serializer=bosdyn_dot_api_dot_data__acquisition__store__pb2.StoreAlertDataResponse.SerializeToString,
|
|
191
226
|
),
|
|
227
|
+
'QueryStoredCaptures': grpc.unary_stream_rpc_method_handler(
|
|
228
|
+
servicer.QueryStoredCaptures,
|
|
229
|
+
request_deserializer=bosdyn_dot_api_dot_data__acquisition__store__pb2.QueryStoredCapturesRequest.FromString,
|
|
230
|
+
response_serializer=bosdyn_dot_api_dot_data__chunk__pb2.DataChunk.SerializeToString,
|
|
231
|
+
),
|
|
232
|
+
'QueryMaxCaptureId': grpc.unary_unary_rpc_method_handler(
|
|
233
|
+
servicer.QueryMaxCaptureId,
|
|
234
|
+
request_deserializer=bosdyn_dot_api_dot_data__acquisition__store__pb2.QueryMaxCaptureIdRequest.FromString,
|
|
235
|
+
response_serializer=bosdyn_dot_api_dot_data__acquisition__store__pb2.QueryMaxCaptureIdResponse.SerializeToString,
|
|
236
|
+
),
|
|
192
237
|
}
|
|
193
238
|
generic_handler = grpc.method_handlers_generic_handler(
|
|
194
239
|
'bosdyn.api.DataAcquisitionStoreService', rpc_method_handlers)
|
|
@@ -355,3 +400,37 @@ class DataAcquisitionStoreService(object):
|
|
|
355
400
|
bosdyn_dot_api_dot_data__acquisition__store__pb2.StoreAlertDataResponse.FromString,
|
|
356
401
|
options, channel_credentials,
|
|
357
402
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
403
|
+
|
|
404
|
+
@staticmethod
|
|
405
|
+
def QueryStoredCaptures(request,
|
|
406
|
+
target,
|
|
407
|
+
options=(),
|
|
408
|
+
channel_credentials=None,
|
|
409
|
+
call_credentials=None,
|
|
410
|
+
insecure=False,
|
|
411
|
+
compression=None,
|
|
412
|
+
wait_for_ready=None,
|
|
413
|
+
timeout=None,
|
|
414
|
+
metadata=None):
|
|
415
|
+
return grpc.experimental.unary_stream(request, target, '/bosdyn.api.DataAcquisitionStoreService/QueryStoredCaptures',
|
|
416
|
+
bosdyn_dot_api_dot_data__acquisition__store__pb2.QueryStoredCapturesRequest.SerializeToString,
|
|
417
|
+
bosdyn_dot_api_dot_data__chunk__pb2.DataChunk.FromString,
|
|
418
|
+
options, channel_credentials,
|
|
419
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
420
|
+
|
|
421
|
+
@staticmethod
|
|
422
|
+
def QueryMaxCaptureId(request,
|
|
423
|
+
target,
|
|
424
|
+
options=(),
|
|
425
|
+
channel_credentials=None,
|
|
426
|
+
call_credentials=None,
|
|
427
|
+
insecure=False,
|
|
428
|
+
compression=None,
|
|
429
|
+
wait_for_ready=None,
|
|
430
|
+
timeout=None,
|
|
431
|
+
metadata=None):
|
|
432
|
+
return grpc.experimental.unary_unary(request, target, '/bosdyn.api.DataAcquisitionStoreService/QueryMaxCaptureId',
|
|
433
|
+
bosdyn_dot_api_dot_data__acquisition__store__pb2.QueryMaxCaptureIdRequest.SerializeToString,
|
|
434
|
+
bosdyn_dot_api_dot_data__acquisition__store__pb2.QueryMaxCaptureIdResponse.FromString,
|
|
435
|
+
options, channel_credentials,
|
|
436
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
@@ -17,7 +17,7 @@ from bosdyn.api import payload_estimation_pb2 as bosdyn_dot_api_dot_payload__est
|
|
|
17
17
|
from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"bosdyn/api/full_body_command.proto\x12\nbosdyn.api\x1a\x1e\x62osdyn/api/basic_command.proto\x1a#bosdyn/api/payload_estimation.proto\x1a\x19google/protobuf/any.proto\"\
|
|
20
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"bosdyn/api/full_body_command.proto\x12\nbosdyn.api\x1a\x1e\x62osdyn/api/basic_command.proto\x1a#bosdyn/api/payload_estimation.proto\x1a\x19google/protobuf/any.proto\"\xc6\n\n\x0f\x46ullBodyCommand\x1a\x82\x05\n\x07Request\x12\x37\n\x0cstop_request\x18\x01 \x01(\x0b\x32\x1f.bosdyn.api.StopCommand.RequestH\x00\x12;\n\x0e\x66reeze_request\x18\x02 \x01(\x0b\x32!.bosdyn.api.FreezeCommand.RequestH\x00\x12\x41\n\x11selfright_request\x18\x03 \x01(\x0b\x32$.bosdyn.api.SelfRightCommand.RequestH\x00\x12I\n\x16safe_power_off_request\x18\x04 \x01(\x0b\x32\'.bosdyn.api.SafePowerOffCommand.RequestH\x00\x12S\n\x1b\x62\x61ttery_change_pose_request\x18\x05 \x01(\x0b\x32,.bosdyn.api.BatteryChangePoseCommand.RequestH\x00\x12R\n\x1apayload_estimation_request\x18\x06 \x01(\x0b\x32,.bosdyn.api.PayloadEstimationCommand.RequestH\x00\x12^\n constrained_manipulation_request\x18\x07 \x01(\x0b\x32\x32.bosdyn.api.ConstrainedManipulationCommand.RequestH\x00\x12\x39\n\rjoint_request\x18\x08 \x01(\x0b\x32 .bosdyn.api.JointCommand.RequestH\x00\x12$\n\x06params\x18\x64 \x01(\x0b\x32\x14.google.protobuf.AnyB\t\n\x07\x63ommand\x1a\xad\x05\n\x08\x46\x65\x65\x64\x62\x61\x63k\x12\x39\n\rstop_feedback\x18\x01 \x01(\x0b\x32 .bosdyn.api.StopCommand.FeedbackH\x00\x12=\n\x0f\x66reeze_feedback\x18\x02 \x01(\x0b\x32\".bosdyn.api.FreezeCommand.FeedbackH\x00\x12\x43\n\x12selfright_feedback\x18\x03 \x01(\x0b\x32%.bosdyn.api.SelfRightCommand.FeedbackH\x00\x12K\n\x17safe_power_off_feedback\x18\x04 \x01(\x0b\x32(.bosdyn.api.SafePowerOffCommand.FeedbackH\x00\x12U\n\x1c\x62\x61ttery_change_pose_feedback\x18\x05 \x01(\x0b\x32-.bosdyn.api.BatteryChangePoseCommand.FeedbackH\x00\x12T\n\x1bpayload_estimation_feedback\x18\x06 \x01(\x0b\x32-.bosdyn.api.PayloadEstimationCommand.FeedbackH\x00\x12`\n!constrained_manipulation_feedback\x18\x07 \x01(\x0b\x32\x33.bosdyn.api.ConstrainedManipulationCommand.FeedbackH\x00\x12;\n\x0ejoint_feedback\x18\x08 \x01(\x0b\x32!.bosdyn.api.JointCommand.FeedbackH\x00\x12=\n\x06status\x18\x64 \x01(\x0e\x32-.bosdyn.api.RobotCommandFeedbackStatus.StatusB\n\n\x08\x66\x65\x65\x64\x62\x61\x63kB\x16\x42\x14\x46ullBodyCommandProtob\x06proto3')
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
|
|
@@ -52,9 +52,9 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
52
52
|
DESCRIPTOR._options = None
|
|
53
53
|
DESCRIPTOR._serialized_options = b'B\024FullBodyCommandProto'
|
|
54
54
|
_FULLBODYCOMMAND._serialized_start=147
|
|
55
|
-
_FULLBODYCOMMAND._serialized_end=
|
|
55
|
+
_FULLBODYCOMMAND._serialized_end=1497
|
|
56
56
|
_FULLBODYCOMMAND_REQUEST._serialized_start=167
|
|
57
|
-
_FULLBODYCOMMAND_REQUEST._serialized_end=
|
|
58
|
-
_FULLBODYCOMMAND_FEEDBACK._serialized_start=
|
|
59
|
-
_FULLBODYCOMMAND_FEEDBACK._serialized_end=
|
|
57
|
+
_FULLBODYCOMMAND_REQUEST._serialized_end=809
|
|
58
|
+
_FULLBODYCOMMAND_FEEDBACK._serialized_start=812
|
|
59
|
+
_FULLBODYCOMMAND_FEEDBACK._serialized_end=1497
|
|
60
60
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__path__ = __import__('pkgutil').extend_path(__path__, __name__)
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: bosdyn/api/gps/aggregator.proto
|
|
4
|
+
"""Generated protocol buffer code."""
|
|
5
|
+
from google.protobuf import descriptor as _descriptor
|
|
6
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
7
|
+
from google.protobuf import message as _message
|
|
8
|
+
from google.protobuf import reflection as _reflection
|
|
9
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
10
|
+
# @@protoc_insertion_point(imports)
|
|
11
|
+
|
|
12
|
+
_sym_db = _symbol_database.Default()
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
from bosdyn.api import header_pb2 as bosdyn_dot_api_dot_header__pb2
|
|
16
|
+
from bosdyn.api.gps import gps_pb2 as bosdyn_dot_api_dot_gps_dot_gps__pb2
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1f\x62osdyn/api/gps/aggregator.proto\x12\x0e\x62osdyn.api.gps\x1a\x17\x62osdyn/api/header.proto\x1a\x18\x62osdyn/api/gps/gps.proto\"\xa0\x01\n\x11NewGpsDataRequest\x12)\n\x06header\x18\x01 \x01(\x0b\x32\x19.bosdyn.api.RequestHeader\x12\x31\n\x0b\x64\x61ta_points\x18\x02 \x03(\x0b\x32\x1c.bosdyn.api.gps.GpsDataPoint\x12-\n\ngps_device\x18\x03 \x01(\x0b\x32\x19.bosdyn.api.gps.GpsDevice\"@\n\x12NewGpsDataResponse\x12*\n\x06header\x18\x01 \x01(\x0b\x32\x1a.bosdyn.api.ResponseHeaderB\x11\x42\x0f\x41ggregatorProtob\x06proto3')
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
_NEWGPSDATAREQUEST = DESCRIPTOR.message_types_by_name['NewGpsDataRequest']
|
|
24
|
+
_NEWGPSDATARESPONSE = DESCRIPTOR.message_types_by_name['NewGpsDataResponse']
|
|
25
|
+
NewGpsDataRequest = _reflection.GeneratedProtocolMessageType('NewGpsDataRequest', (_message.Message,), {
|
|
26
|
+
'DESCRIPTOR' : _NEWGPSDATAREQUEST,
|
|
27
|
+
'__module__' : 'bosdyn.api.gps.aggregator_pb2'
|
|
28
|
+
# @@protoc_insertion_point(class_scope:bosdyn.api.gps.NewGpsDataRequest)
|
|
29
|
+
})
|
|
30
|
+
_sym_db.RegisterMessage(NewGpsDataRequest)
|
|
31
|
+
|
|
32
|
+
NewGpsDataResponse = _reflection.GeneratedProtocolMessageType('NewGpsDataResponse', (_message.Message,), {
|
|
33
|
+
'DESCRIPTOR' : _NEWGPSDATARESPONSE,
|
|
34
|
+
'__module__' : 'bosdyn.api.gps.aggregator_pb2'
|
|
35
|
+
# @@protoc_insertion_point(class_scope:bosdyn.api.gps.NewGpsDataResponse)
|
|
36
|
+
})
|
|
37
|
+
_sym_db.RegisterMessage(NewGpsDataResponse)
|
|
38
|
+
|
|
39
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
40
|
+
|
|
41
|
+
DESCRIPTOR._options = None
|
|
42
|
+
DESCRIPTOR._serialized_options = b'B\017AggregatorProto'
|
|
43
|
+
_NEWGPSDATAREQUEST._serialized_start=103
|
|
44
|
+
_NEWGPSDATAREQUEST._serialized_end=263
|
|
45
|
+
_NEWGPSDATARESPONSE._serialized_start=265
|
|
46
|
+
_NEWGPSDATARESPONSE._serialized_end=329
|
|
47
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: bosdyn/api/gps/aggregator_service.proto
|
|
4
|
+
"""Generated protocol buffer code."""
|
|
5
|
+
from google.protobuf import descriptor as _descriptor
|
|
6
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
7
|
+
from google.protobuf import message as _message
|
|
8
|
+
from google.protobuf import reflection as _reflection
|
|
9
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
10
|
+
# @@protoc_insertion_point(imports)
|
|
11
|
+
|
|
12
|
+
_sym_db = _symbol_database.Default()
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
from bosdyn.api.gps import aggregator_pb2 as bosdyn_dot_api_dot_gps_dot_aggregator__pb2
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'bosdyn/api/gps/aggregator_service.proto\x12\x0e\x62osdyn.api.gps\x1a\x1f\x62osdyn/api/gps/aggregator.proto2j\n\x11\x41ggregatorService\x12U\n\nNewGpsData\x12!.bosdyn.api.gps.NewGpsDataRequest\x1a\".bosdyn.api.gps.NewGpsDataResponse\"\x00\x42\x18\x42\x16\x41ggregatorServiceProtob\x06proto3')
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
_AGGREGATORSERVICE = DESCRIPTOR.services_by_name['AggregatorService']
|
|
23
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
24
|
+
|
|
25
|
+
DESCRIPTOR._options = None
|
|
26
|
+
DESCRIPTOR._serialized_options = b'B\026AggregatorServiceProto'
|
|
27
|
+
_AGGREGATORSERVICE._serialized_start=92
|
|
28
|
+
_AGGREGATORSERVICE._serialized_end=198
|
|
29
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
|
|
2
|
+
"""Client and server classes corresponding to protobuf-defined services."""
|
|
3
|
+
import grpc
|
|
4
|
+
|
|
5
|
+
from bosdyn.api.gps import aggregator_pb2 as bosdyn_dot_api_dot_gps_dot_aggregator__pb2
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class AggregatorServiceStub(object):
|
|
9
|
+
"""
|
|
10
|
+
The AggregatorService is an endpoint that clients should send GPS data too.
|
|
11
|
+
Data dumped into the AggregatorService is used by the RegistrationService.
|
|
12
|
+
In practice:
|
|
13
|
+
- A GPS will be connected to a peripheral computer
|
|
14
|
+
- The peripheral computer should establish timesync with the robot
|
|
15
|
+
- The peripheral computer should read data from the GPS hardware
|
|
16
|
+
- The peripheral computer should send timestamped data to the AggregatorService
|
|
17
|
+
"""
|
|
18
|
+
|
|
19
|
+
def __init__(self, channel):
|
|
20
|
+
"""Constructor.
|
|
21
|
+
|
|
22
|
+
Args:
|
|
23
|
+
channel: A grpc.Channel.
|
|
24
|
+
"""
|
|
25
|
+
self.NewGpsData = channel.unary_unary(
|
|
26
|
+
'/bosdyn.api.gps.AggregatorService/NewGpsData',
|
|
27
|
+
request_serializer=bosdyn_dot_api_dot_gps_dot_aggregator__pb2.NewGpsDataRequest.SerializeToString,
|
|
28
|
+
response_deserializer=bosdyn_dot_api_dot_gps_dot_aggregator__pb2.NewGpsDataResponse.FromString,
|
|
29
|
+
)
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
class AggregatorServiceServicer(object):
|
|
33
|
+
"""
|
|
34
|
+
The AggregatorService is an endpoint that clients should send GPS data too.
|
|
35
|
+
Data dumped into the AggregatorService is used by the RegistrationService.
|
|
36
|
+
In practice:
|
|
37
|
+
- A GPS will be connected to a peripheral computer
|
|
38
|
+
- The peripheral computer should establish timesync with the robot
|
|
39
|
+
- The peripheral computer should read data from the GPS hardware
|
|
40
|
+
- The peripheral computer should send timestamped data to the AggregatorService
|
|
41
|
+
"""
|
|
42
|
+
|
|
43
|
+
def NewGpsData(self, request, context):
|
|
44
|
+
"""Missing associated documentation comment in .proto file."""
|
|
45
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
46
|
+
context.set_details('Method not implemented!')
|
|
47
|
+
raise NotImplementedError('Method not implemented!')
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
def add_AggregatorServiceServicer_to_server(servicer, server):
|
|
51
|
+
rpc_method_handlers = {
|
|
52
|
+
'NewGpsData': grpc.unary_unary_rpc_method_handler(
|
|
53
|
+
servicer.NewGpsData,
|
|
54
|
+
request_deserializer=bosdyn_dot_api_dot_gps_dot_aggregator__pb2.NewGpsDataRequest.FromString,
|
|
55
|
+
response_serializer=bosdyn_dot_api_dot_gps_dot_aggregator__pb2.NewGpsDataResponse.SerializeToString,
|
|
56
|
+
),
|
|
57
|
+
}
|
|
58
|
+
generic_handler = grpc.method_handlers_generic_handler(
|
|
59
|
+
'bosdyn.api.gps.AggregatorService', rpc_method_handlers)
|
|
60
|
+
server.add_generic_rpc_handlers((generic_handler,))
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
# This class is part of an EXPERIMENTAL API.
|
|
64
|
+
class AggregatorService(object):
|
|
65
|
+
"""
|
|
66
|
+
The AggregatorService is an endpoint that clients should send GPS data too.
|
|
67
|
+
Data dumped into the AggregatorService is used by the RegistrationService.
|
|
68
|
+
In practice:
|
|
69
|
+
- A GPS will be connected to a peripheral computer
|
|
70
|
+
- The peripheral computer should establish timesync with the robot
|
|
71
|
+
- The peripheral computer should read data from the GPS hardware
|
|
72
|
+
- The peripheral computer should send timestamped data to the AggregatorService
|
|
73
|
+
"""
|
|
74
|
+
|
|
75
|
+
@staticmethod
|
|
76
|
+
def NewGpsData(request,
|
|
77
|
+
target,
|
|
78
|
+
options=(),
|
|
79
|
+
channel_credentials=None,
|
|
80
|
+
call_credentials=None,
|
|
81
|
+
insecure=False,
|
|
82
|
+
compression=None,
|
|
83
|
+
wait_for_ready=None,
|
|
84
|
+
timeout=None,
|
|
85
|
+
metadata=None):
|
|
86
|
+
return grpc.experimental.unary_unary(request, target, '/bosdyn.api.gps.AggregatorService/NewGpsData',
|
|
87
|
+
bosdyn_dot_api_dot_gps_dot_aggregator__pb2.NewGpsDataRequest.SerializeToString,
|
|
88
|
+
bosdyn_dot_api_dot_gps_dot_aggregator__pb2.NewGpsDataResponse.FromString,
|
|
89
|
+
options, channel_credentials,
|
|
90
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|