bosdyn-api 3.3.2__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.2.dist-info → bosdyn_api-4.0.0.dist-info}/METADATA +4 -4
- {bosdyn_api-3.3.2.dist-info → bosdyn_api-4.0.0.dist-info}/RECORD +75 -49
- {bosdyn_api-3.3.2.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.2.dist-info → bosdyn_api-4.0.0.dist-info}/top_level.txt +0 -0
|
@@ -35,6 +35,11 @@ class PowerServiceStub(object):
|
|
|
35
35
|
request_serializer=bosdyn_dot_api_dot_power__pb2.FanPowerCommandFeedbackRequest.SerializeToString,
|
|
36
36
|
response_deserializer=bosdyn_dot_api_dot_power__pb2.FanPowerCommandFeedbackResponse.FromString,
|
|
37
37
|
)
|
|
38
|
+
self.ResetSafetyStop = channel.unary_unary(
|
|
39
|
+
'/bosdyn.api.PowerService/ResetSafetyStop',
|
|
40
|
+
request_serializer=bosdyn_dot_api_dot_power__pb2.ResetSafetyStopRequest.SerializeToString,
|
|
41
|
+
response_deserializer=bosdyn_dot_api_dot_power__pb2.ResetSafetyStopResponse.FromString,
|
|
42
|
+
)
|
|
38
43
|
|
|
39
44
|
|
|
40
45
|
class PowerServiceServicer(object):
|
|
@@ -71,6 +76,13 @@ class PowerServiceServicer(object):
|
|
|
71
76
|
context.set_details('Method not implemented!')
|
|
72
77
|
raise NotImplementedError('Method not implemented!')
|
|
73
78
|
|
|
79
|
+
def ResetSafetyStop(self, request, context):
|
|
80
|
+
"""Reset the safety stop bit on SRSF-configured robots.
|
|
81
|
+
"""
|
|
82
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
83
|
+
context.set_details('Method not implemented!')
|
|
84
|
+
raise NotImplementedError('Method not implemented!')
|
|
85
|
+
|
|
74
86
|
|
|
75
87
|
def add_PowerServiceServicer_to_server(servicer, server):
|
|
76
88
|
rpc_method_handlers = {
|
|
@@ -94,6 +106,11 @@ def add_PowerServiceServicer_to_server(servicer, server):
|
|
|
94
106
|
request_deserializer=bosdyn_dot_api_dot_power__pb2.FanPowerCommandFeedbackRequest.FromString,
|
|
95
107
|
response_serializer=bosdyn_dot_api_dot_power__pb2.FanPowerCommandFeedbackResponse.SerializeToString,
|
|
96
108
|
),
|
|
109
|
+
'ResetSafetyStop': grpc.unary_unary_rpc_method_handler(
|
|
110
|
+
servicer.ResetSafetyStop,
|
|
111
|
+
request_deserializer=bosdyn_dot_api_dot_power__pb2.ResetSafetyStopRequest.FromString,
|
|
112
|
+
response_serializer=bosdyn_dot_api_dot_power__pb2.ResetSafetyStopResponse.SerializeToString,
|
|
113
|
+
),
|
|
97
114
|
}
|
|
98
115
|
generic_handler = grpc.method_handlers_generic_handler(
|
|
99
116
|
'bosdyn.api.PowerService', rpc_method_handlers)
|
|
@@ -172,3 +189,20 @@ class PowerService(object):
|
|
|
172
189
|
bosdyn_dot_api_dot_power__pb2.FanPowerCommandFeedbackResponse.FromString,
|
|
173
190
|
options, channel_credentials,
|
|
174
191
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
192
|
+
|
|
193
|
+
@staticmethod
|
|
194
|
+
def ResetSafetyStop(request,
|
|
195
|
+
target,
|
|
196
|
+
options=(),
|
|
197
|
+
channel_credentials=None,
|
|
198
|
+
call_credentials=None,
|
|
199
|
+
insecure=False,
|
|
200
|
+
compression=None,
|
|
201
|
+
wait_for_ready=None,
|
|
202
|
+
timeout=None,
|
|
203
|
+
metadata=None):
|
|
204
|
+
return grpc.experimental.unary_unary(request, target, '/bosdyn.api.PowerService/ResetSafetyStop',
|
|
205
|
+
bosdyn_dot_api_dot_power__pb2.ResetSafetyStopRequest.SerializeToString,
|
|
206
|
+
bosdyn_dot_api_dot_power__pb2.ResetSafetyStopResponse.FromString,
|
|
207
|
+
options, channel_credentials,
|
|
208
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
bosdyn/api/robot_command_pb2.py
CHANGED
|
@@ -12,15 +12,15 @@ 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 basic_command_pb2 as bosdyn_dot_api_dot_basic__command__pb2
|
|
15
16
|
from bosdyn.api import full_body_command_pb2 as bosdyn_dot_api_dot_full__body__command__pb2
|
|
16
17
|
from bosdyn.api import header_pb2 as bosdyn_dot_api_dot_header__pb2
|
|
17
18
|
from bosdyn.api import lease_pb2 as bosdyn_dot_api_dot_lease__pb2
|
|
18
|
-
from bosdyn.api import mobility_command_pb2 as bosdyn_dot_api_dot_mobility__command__pb2
|
|
19
19
|
from bosdyn.api import robot_state_pb2 as bosdyn_dot_api_dot_robot__state__pb2
|
|
20
20
|
from bosdyn.api import synchronized_command_pb2 as bosdyn_dot_api_dot_synchronized__command__pb2
|
|
21
21
|
|
|
22
22
|
|
|
23
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1e\x62osdyn/api/robot_command.proto\x12\nbosdyn.api\x1a\"bosdyn/api/full_body_command.proto\x1a\x17\x62osdyn/api/header.proto\x1a\x16\x62osdyn/api/lease.proto\x1a
|
|
23
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1e\x62osdyn/api/robot_command.proto\x12\nbosdyn.api\x1a\x1e\x62osdyn/api/basic_command.proto\x1a\"bosdyn/api/full_body_command.proto\x1a\x17\x62osdyn/api/header.proto\x1a\x16\x62osdyn/api/lease.proto\x1a\x1c\x62osdyn/api/robot_state.proto\x1a%bosdyn/api/synchronized_command.proto\"\xaa\x01\n\x0cRobotCommand\x12@\n\x11\x66ull_body_command\x18\x01 \x01(\x0b\x32#.bosdyn.api.FullBodyCommand.RequestH\x00\x12G\n\x14synchronized_command\x18\x03 \x01(\x0b\x32\'.bosdyn.api.SynchronizedCommand.RequestH\x00\x42\t\n\x07\x63ommandJ\x04\x08\x02\x10\x03\"\xb6\x01\n\x14RobotCommandFeedback\x12\x42\n\x12\x66ull_body_feedback\x18\x02 \x01(\x0b\x32$.bosdyn.api.FullBodyCommand.FeedbackH\x00\x12I\n\x15synchronized_feedback\x18\x03 \x01(\x0b\x32(.bosdyn.api.SynchronizedCommand.FeedbackH\x00\x42\t\n\x07\x63ommandJ\x04\x08\x01\x10\x02\"\xa7\x01\n\x13RobotCommandRequest\x12)\n\x06header\x18\x01 \x01(\x0b\x32\x19.bosdyn.api.RequestHeader\x12 \n\x05lease\x18\x02 \x01(\x0b\x32\x11.bosdyn.api.Lease\x12)\n\x07\x63ommand\x18\x03 \x01(\x0b\x32\x18.bosdyn.api.RobotCommand\x12\x18\n\x10\x63lock_identifier\x18\x04 \x01(\t\"\xe5\x03\n\x14RobotCommandResponse\x12*\n\x06header\x18\x01 \x01(\x0b\x32\x1a.bosdyn.api.ResponseHeader\x12\x34\n\x10lease_use_result\x18\x02 \x01(\x0b\x32\x1a.bosdyn.api.LeaseUseResult\x12\x37\n\x06status\x18\x03 \x01(\x0e\x32\'.bosdyn.api.RobotCommandResponse.Status\x12\x0f\n\x07message\x18\x04 \x01(\t\x12\x18\n\x10robot_command_id\x18\x05 \x01(\r\"\x86\x02\n\x06Status\x12\x12\n\x0eSTATUS_UNKNOWN\x10\x00\x12\r\n\tSTATUS_OK\x10\x01\x12\x1a\n\x16STATUS_INVALID_REQUEST\x10\x02\x12\x16\n\x12STATUS_UNSUPPORTED\x10\x03\x12\x16\n\x12STATUS_NO_TIMESYNC\x10\x04\x12\x12\n\x0eSTATUS_EXPIRED\x10\x05\x12\x16\n\x12STATUS_TOO_DISTANT\x10\x06\x12\x19\n\x15STATUS_NOT_POWERED_ON\x10\x07\x12\x19\n\x15STATUS_BEHAVIOR_FAULT\x10\t\x12\x11\n\rSTATUS_DOCKED\x10\n\x12\x18\n\x14STATUS_UNKNOWN_FRAME\x10\x08\"b\n\x1bRobotCommandFeedbackRequest\x12)\n\x06header\x18\x01 \x01(\x0b\x32\x19.bosdyn.api.RequestHeader\x12\x18\n\x10robot_command_id\x18\x02 \x01(\r\"\xc0\x01\n\x1cRobotCommandFeedbackResponse\x12*\n\x06header\x18\x01 \x01(\x0b\x32\x1a.bosdyn.api.ResponseHeader\x12\x34\n\x10lease_use_result\x18\x05 \x01(\x0b\x32\x1a.bosdyn.api.LeaseUseResult\x12\x32\n\x08\x66\x65\x65\x64\x62\x61\x63k\x18\x04 \x01(\x0b\x32 .bosdyn.api.RobotCommandFeedbackJ\x04\x08\x02\x10\x03J\x04\x08\x03\x10\x04\"\x83\x01\n\x19\x43learBehaviorFaultRequest\x12)\n\x06header\x18\x01 \x01(\x0b\x32\x19.bosdyn.api.RequestHeader\x12 \n\x05lease\x18\x02 \x01(\x0b\x32\x11.bosdyn.api.Lease\x12\x19\n\x11\x62\x65havior_fault_id\x18\x03 \x01(\r\"\xf3\x02\n\x1a\x43learBehaviorFaultResponse\x12*\n\x06header\x18\x01 \x01(\x0b\x32\x1a.bosdyn.api.ResponseHeader\x12\x34\n\x10lease_use_result\x18\x02 \x01(\x0b\x32\x1a.bosdyn.api.LeaseUseResult\x12=\n\x06status\x18\x03 \x01(\x0e\x32-.bosdyn.api.ClearBehaviorFaultResponse.Status\x12\x31\n\x0e\x62\x65havior_fault\x18\x04 \x01(\x0b\x32\x19.bosdyn.api.BehaviorFault\x12\x37\n\x16\x62locking_system_faults\x18\x05 \x03(\x0b\x32\x17.bosdyn.api.SystemFault\"H\n\x06Status\x12\x12\n\x0eSTATUS_UNKNOWN\x10\x00\x12\x12\n\x0eSTATUS_CLEARED\x10\x01\x12\x16\n\x12STATUS_NOT_CLEARED\x10\x02\"\x85\x01\n\x19JointControlStreamRequest\x12)\n\x06header\x18\x01 \x01(\x0b\x32\x19.bosdyn.api.RequestHeader\x12=\n\rjoint_command\x18\x02 \x01(\x0b\x32&.bosdyn.api.JointCommand.UpdateRequest\"\xa3\x02\n\x1aJointControlStreamResponse\x12*\n\x06header\x18\x01 \x01(\x0b\x32\x1a.bosdyn.api.ResponseHeader\x12=\n\x06status\x18\x02 \x01(\x0e\x32-.bosdyn.api.JointControlStreamResponse.Status\x12\x0f\n\x07message\x18\x03 \x01(\t\"\x88\x01\n\x06Status\x12\x12\n\x0eSTATUS_UNKNOWN\x10\x00\x12\r\n\tSTATUS_OK\x10\x01\x12\x1a\n\x16STATUS_INVALID_REQUEST\x10\x02\x12\x13\n\x0fSTATUS_INACTIVE\x10\x03\x12\x12\n\x0eSTATUS_EXPIRED\x10\x04\x12\x16\n\x12STATUS_TOO_DISTANT\x10\x05\x42\x13\x42\x11RobotCommandProtob\x06proto3')
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
|
|
@@ -32,9 +32,11 @@ _ROBOTCOMMANDFEEDBACKREQUEST = DESCRIPTOR.message_types_by_name['RobotCommandFee
|
|
|
32
32
|
_ROBOTCOMMANDFEEDBACKRESPONSE = DESCRIPTOR.message_types_by_name['RobotCommandFeedbackResponse']
|
|
33
33
|
_CLEARBEHAVIORFAULTREQUEST = DESCRIPTOR.message_types_by_name['ClearBehaviorFaultRequest']
|
|
34
34
|
_CLEARBEHAVIORFAULTRESPONSE = DESCRIPTOR.message_types_by_name['ClearBehaviorFaultResponse']
|
|
35
|
+
_JOINTCONTROLSTREAMREQUEST = DESCRIPTOR.message_types_by_name['JointControlStreamRequest']
|
|
36
|
+
_JOINTCONTROLSTREAMRESPONSE = DESCRIPTOR.message_types_by_name['JointControlStreamResponse']
|
|
35
37
|
_ROBOTCOMMANDRESPONSE_STATUS = _ROBOTCOMMANDRESPONSE.enum_types_by_name['Status']
|
|
36
|
-
_ROBOTCOMMANDFEEDBACKRESPONSE_STATUS = _ROBOTCOMMANDFEEDBACKRESPONSE.enum_types_by_name['Status']
|
|
37
38
|
_CLEARBEHAVIORFAULTRESPONSE_STATUS = _CLEARBEHAVIORFAULTRESPONSE.enum_types_by_name['Status']
|
|
39
|
+
_JOINTCONTROLSTREAMRESPONSE_STATUS = _JOINTCONTROLSTREAMRESPONSE.enum_types_by_name['Status']
|
|
38
40
|
RobotCommand = _reflection.GeneratedProtocolMessageType('RobotCommand', (_message.Message,), {
|
|
39
41
|
'DESCRIPTOR' : _ROBOTCOMMAND,
|
|
40
42
|
'__module__' : 'bosdyn.api.robot_command_pb2'
|
|
@@ -91,40 +93,48 @@ ClearBehaviorFaultResponse = _reflection.GeneratedProtocolMessageType('ClearBeha
|
|
|
91
93
|
})
|
|
92
94
|
_sym_db.RegisterMessage(ClearBehaviorFaultResponse)
|
|
93
95
|
|
|
96
|
+
JointControlStreamRequest = _reflection.GeneratedProtocolMessageType('JointControlStreamRequest', (_message.Message,), {
|
|
97
|
+
'DESCRIPTOR' : _JOINTCONTROLSTREAMREQUEST,
|
|
98
|
+
'__module__' : 'bosdyn.api.robot_command_pb2'
|
|
99
|
+
# @@protoc_insertion_point(class_scope:bosdyn.api.JointControlStreamRequest)
|
|
100
|
+
})
|
|
101
|
+
_sym_db.RegisterMessage(JointControlStreamRequest)
|
|
102
|
+
|
|
103
|
+
JointControlStreamResponse = _reflection.GeneratedProtocolMessageType('JointControlStreamResponse', (_message.Message,), {
|
|
104
|
+
'DESCRIPTOR' : _JOINTCONTROLSTREAMRESPONSE,
|
|
105
|
+
'__module__' : 'bosdyn.api.robot_command_pb2'
|
|
106
|
+
# @@protoc_insertion_point(class_scope:bosdyn.api.JointControlStreamResponse)
|
|
107
|
+
})
|
|
108
|
+
_sym_db.RegisterMessage(JointControlStreamResponse)
|
|
109
|
+
|
|
94
110
|
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
95
111
|
|
|
96
112
|
DESCRIPTOR._options = None
|
|
97
113
|
DESCRIPTOR._serialized_options = b'B\021RobotCommandProto'
|
|
98
|
-
_ROBOTCOMMAND.
|
|
99
|
-
_ROBOTCOMMAND.
|
|
100
|
-
_ROBOTCOMMANDFEEDBACK.
|
|
101
|
-
_ROBOTCOMMANDFEEDBACK.
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
_CLEARBEHAVIORFAULTREQUEST._serialized_start=1897
|
|
125
|
-
_CLEARBEHAVIORFAULTREQUEST._serialized_end=2028
|
|
126
|
-
_CLEARBEHAVIORFAULTRESPONSE._serialized_start=2031
|
|
127
|
-
_CLEARBEHAVIORFAULTRESPONSE._serialized_end=2402
|
|
128
|
-
_CLEARBEHAVIORFAULTRESPONSE_STATUS._serialized_start=2330
|
|
129
|
-
_CLEARBEHAVIORFAULTRESPONSE_STATUS._serialized_end=2402
|
|
114
|
+
_ROBOTCOMMAND._serialized_start=233
|
|
115
|
+
_ROBOTCOMMAND._serialized_end=403
|
|
116
|
+
_ROBOTCOMMANDFEEDBACK._serialized_start=406
|
|
117
|
+
_ROBOTCOMMANDFEEDBACK._serialized_end=588
|
|
118
|
+
_ROBOTCOMMANDREQUEST._serialized_start=591
|
|
119
|
+
_ROBOTCOMMANDREQUEST._serialized_end=758
|
|
120
|
+
_ROBOTCOMMANDRESPONSE._serialized_start=761
|
|
121
|
+
_ROBOTCOMMANDRESPONSE._serialized_end=1246
|
|
122
|
+
_ROBOTCOMMANDRESPONSE_STATUS._serialized_start=984
|
|
123
|
+
_ROBOTCOMMANDRESPONSE_STATUS._serialized_end=1246
|
|
124
|
+
_ROBOTCOMMANDFEEDBACKREQUEST._serialized_start=1248
|
|
125
|
+
_ROBOTCOMMANDFEEDBACKREQUEST._serialized_end=1346
|
|
126
|
+
_ROBOTCOMMANDFEEDBACKRESPONSE._serialized_start=1349
|
|
127
|
+
_ROBOTCOMMANDFEEDBACKRESPONSE._serialized_end=1541
|
|
128
|
+
_CLEARBEHAVIORFAULTREQUEST._serialized_start=1544
|
|
129
|
+
_CLEARBEHAVIORFAULTREQUEST._serialized_end=1675
|
|
130
|
+
_CLEARBEHAVIORFAULTRESPONSE._serialized_start=1678
|
|
131
|
+
_CLEARBEHAVIORFAULTRESPONSE._serialized_end=2049
|
|
132
|
+
_CLEARBEHAVIORFAULTRESPONSE_STATUS._serialized_start=1977
|
|
133
|
+
_CLEARBEHAVIORFAULTRESPONSE_STATUS._serialized_end=2049
|
|
134
|
+
_JOINTCONTROLSTREAMREQUEST._serialized_start=2052
|
|
135
|
+
_JOINTCONTROLSTREAMREQUEST._serialized_end=2185
|
|
136
|
+
_JOINTCONTROLSTREAMRESPONSE._serialized_start=2188
|
|
137
|
+
_JOINTCONTROLSTREAMRESPONSE._serialized_end=2479
|
|
138
|
+
_JOINTCONTROLSTREAMRESPONSE_STATUS._serialized_start=2343
|
|
139
|
+
_JOINTCONTROLSTREAMRESPONSE_STATUS._serialized_end=2479
|
|
130
140
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -15,15 +15,18 @@ _sym_db = _symbol_database.Default()
|
|
|
15
15
|
from bosdyn.api import robot_command_pb2 as bosdyn_dot_api_dot_robot__command__pb2
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&bosdyn/api/robot_command_service.proto\x12\nbosdyn.api\x1a\x1e\x62osdyn/api/robot_command.proto2\xbe\x02\n\x13RobotCommandService\x12S\n\x0cRobotCommand\x12\x1f.bosdyn.api.RobotCommandRequest\x1a .bosdyn.api.RobotCommandResponse\"\x00\x12k\n\x14RobotCommandFeedback\x12\'.bosdyn.api.RobotCommandFeedbackRequest\x1a(.bosdyn.api.RobotCommandFeedbackResponse\"\x00\x12\x65\n\x12\x43learBehaviorFault\x12%.bosdyn.api.ClearBehaviorFaultRequest\x1a&.bosdyn.api.ClearBehaviorFaultResponse\"\x00\x42\x1a\x42\x18RobotCommandServiceProtob\x06proto3')
|
|
18
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&bosdyn/api/robot_command_service.proto\x12\nbosdyn.api\x1a\x1e\x62osdyn/api/robot_command.proto2\xbe\x02\n\x13RobotCommandService\x12S\n\x0cRobotCommand\x12\x1f.bosdyn.api.RobotCommandRequest\x1a .bosdyn.api.RobotCommandResponse\"\x00\x12k\n\x14RobotCommandFeedback\x12\'.bosdyn.api.RobotCommandFeedbackRequest\x1a(.bosdyn.api.RobotCommandFeedbackResponse\"\x00\x12\x65\n\x12\x43learBehaviorFault\x12%.bosdyn.api.ClearBehaviorFaultRequest\x1a&.bosdyn.api.ClearBehaviorFaultResponse\"\x00\x32\x87\x01\n\x1cRobotCommandStreamingService\x12g\n\x12JointControlStream\x12%.bosdyn.api.JointControlStreamRequest\x1a&.bosdyn.api.JointControlStreamResponse\"\x00(\x01\x42\x1a\x42\x18RobotCommandServiceProtob\x06proto3')
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
_ROBOTCOMMANDSERVICE = DESCRIPTOR.services_by_name['RobotCommandService']
|
|
23
|
+
_ROBOTCOMMANDSTREAMINGSERVICE = DESCRIPTOR.services_by_name['RobotCommandStreamingService']
|
|
23
24
|
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
24
25
|
|
|
25
26
|
DESCRIPTOR._options = None
|
|
26
27
|
DESCRIPTOR._serialized_options = b'B\030RobotCommandServiceProto'
|
|
27
28
|
_ROBOTCOMMANDSERVICE._serialized_start=87
|
|
28
29
|
_ROBOTCOMMANDSERVICE._serialized_end=405
|
|
30
|
+
_ROBOTCOMMANDSTREAMINGSERVICE._serialized_start=408
|
|
31
|
+
_ROBOTCOMMANDSTREAMINGSERVICE._serialized_end=543
|
|
29
32
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -48,7 +48,7 @@ class RobotCommandServiceServicer(object):
|
|
|
48
48
|
"""A client queries this RPC to determine a robot's progress towards completion of a command.
|
|
49
49
|
This updates the client with metrics like "distance to goal."
|
|
50
50
|
The client should use this feedback to determine whether the current command has
|
|
51
|
-
|
|
51
|
+
succeeded or failed, and thus send the next command.
|
|
52
52
|
"""
|
|
53
53
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
54
54
|
context.set_details('Method not implemented!')
|
|
@@ -140,3 +140,74 @@ class RobotCommandService(object):
|
|
|
140
140
|
bosdyn_dot_api_dot_robot__command__pb2.ClearBehaviorFaultResponse.FromString,
|
|
141
141
|
options, channel_credentials,
|
|
142
142
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
class RobotCommandStreamingServiceStub(object):
|
|
146
|
+
"""This service is used to stream high rate commands to the robot once they have been activated
|
|
147
|
+
using RobotCommandService.RobotCommand
|
|
148
|
+
This service is in BETA and may undergo changes in future releases.
|
|
149
|
+
"""
|
|
150
|
+
|
|
151
|
+
def __init__(self, channel):
|
|
152
|
+
"""Constructor.
|
|
153
|
+
|
|
154
|
+
Args:
|
|
155
|
+
channel: A grpc.Channel.
|
|
156
|
+
"""
|
|
157
|
+
self.JointControlStream = channel.stream_unary(
|
|
158
|
+
'/bosdyn.api.RobotCommandStreamingService/JointControlStream',
|
|
159
|
+
request_serializer=bosdyn_dot_api_dot_robot__command__pb2.JointControlStreamRequest.SerializeToString,
|
|
160
|
+
response_deserializer=bosdyn_dot_api_dot_robot__command__pb2.JointControlStreamResponse.FromString,
|
|
161
|
+
)
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
class RobotCommandStreamingServiceServicer(object):
|
|
165
|
+
"""This service is used to stream high rate commands to the robot once they have been activated
|
|
166
|
+
using RobotCommandService.RobotCommand
|
|
167
|
+
This service is in BETA and may undergo changes in future releases.
|
|
168
|
+
"""
|
|
169
|
+
|
|
170
|
+
def JointControlStream(self, request_iterator, context):
|
|
171
|
+
"""Command updates for joint control
|
|
172
|
+
"""
|
|
173
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
174
|
+
context.set_details('Method not implemented!')
|
|
175
|
+
raise NotImplementedError('Method not implemented!')
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
def add_RobotCommandStreamingServiceServicer_to_server(servicer, server):
|
|
179
|
+
rpc_method_handlers = {
|
|
180
|
+
'JointControlStream': grpc.stream_unary_rpc_method_handler(
|
|
181
|
+
servicer.JointControlStream,
|
|
182
|
+
request_deserializer=bosdyn_dot_api_dot_robot__command__pb2.JointControlStreamRequest.FromString,
|
|
183
|
+
response_serializer=bosdyn_dot_api_dot_robot__command__pb2.JointControlStreamResponse.SerializeToString,
|
|
184
|
+
),
|
|
185
|
+
}
|
|
186
|
+
generic_handler = grpc.method_handlers_generic_handler(
|
|
187
|
+
'bosdyn.api.RobotCommandStreamingService', rpc_method_handlers)
|
|
188
|
+
server.add_generic_rpc_handlers((generic_handler,))
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
# This class is part of an EXPERIMENTAL API.
|
|
192
|
+
class RobotCommandStreamingService(object):
|
|
193
|
+
"""This service is used to stream high rate commands to the robot once they have been activated
|
|
194
|
+
using RobotCommandService.RobotCommand
|
|
195
|
+
This service is in BETA and may undergo changes in future releases.
|
|
196
|
+
"""
|
|
197
|
+
|
|
198
|
+
@staticmethod
|
|
199
|
+
def JointControlStream(request_iterator,
|
|
200
|
+
target,
|
|
201
|
+
options=(),
|
|
202
|
+
channel_credentials=None,
|
|
203
|
+
call_credentials=None,
|
|
204
|
+
insecure=False,
|
|
205
|
+
compression=None,
|
|
206
|
+
wait_for_ready=None,
|
|
207
|
+
timeout=None,
|
|
208
|
+
metadata=None):
|
|
209
|
+
return grpc.experimental.stream_unary(request_iterator, target, '/bosdyn.api.RobotCommandStreamingService/JointControlStream',
|
|
210
|
+
bosdyn_dot_api_dot_robot__command__pb2.JointControlStreamRequest.SerializeToString,
|
|
211
|
+
bosdyn_dot_api_dot_robot__command__pb2.JointControlStreamResponse.FromString,
|
|
212
|
+
options, channel_credentials,
|
|
213
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|