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
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: bosdyn/api/spot/choreography_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.spot import choreography_sequence_pb2 as bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*bosdyn/api/spot/choreography_service.proto\x12\x0f\x62osdyn.api.spot\x1a+bosdyn/api/spot/choreography_sequence.proto2\xb3\x0e\n\x13\x43horeographyService\x12]\n\x0cListAllMoves\x12$.bosdyn.api.spot.ListAllMovesRequest\x1a%.bosdyn.api.spot.ListAllMovesResponse\"\x00\x12i\n\x10ListAllSequences\x12(.bosdyn.api.spot.ListAllSequencesRequest\x1a).bosdyn.api.spot.ListAllSequencesResponse\"\x00\x12~\n\x17GetChoreographySequence\x12/.bosdyn.api.spot.GetChoreographySequenceRequest\x1a\x30.bosdyn.api.spot.GetChoreographySequenceResponse\"\x00\x12\x63\n\x0e\x44\x65leteSequence\x12&.bosdyn.api.spot.DeleteSequenceRequest\x1a\'.bosdyn.api.spot.DeleteSequenceResponse\"\x00\x12]\n\x0cSaveSequence\x12$.bosdyn.api.spot.SaveSequenceRequest\x1a%.bosdyn.api.spot.SaveSequenceResponse\"\x00\x12{\n\x16ModifyChoreographyInfo\x12..bosdyn.api.spot.ModifyChoreographyInfoRequest\x1a/.bosdyn.api.spot.ModifyChoreographyInfoResponse\"\x00\x12x\n\x15\x43learAllSequenceFiles\x12-.bosdyn.api.spot.ClearAllSequenceFilesRequest\x1a..bosdyn.api.spot.ClearAllSequenceFilesResponse\"\x00\x12o\n\x12UploadChoreography\x12*.bosdyn.api.spot.UploadChoreographyRequest\x1a+.bosdyn.api.spot.UploadChoreographyResponse\"\x00\x12o\n\x12UploadAnimatedMove\x12*.bosdyn.api.spot.UploadAnimatedMoveRequest\x1a+.bosdyn.api.spot.UploadAnimatedMoveResponse\"\x00\x12r\n\x13\x45xecuteChoreography\x12+.bosdyn.api.spot.ExecuteChoreographyRequest\x1a,.bosdyn.api.spot.ExecuteChoreographyResponse\"\x00\x12r\n\x13StartRecordingState\x12+.bosdyn.api.spot.StartRecordingStateRequest\x1a,.bosdyn.api.spot.StartRecordingStateResponse\"\x00\x12o\n\x12StopRecordingState\x12*.bosdyn.api.spot.StopRecordingStateRequest\x1a+.bosdyn.api.spot.StopRecordingStateResponse\"\x00\x12z\n\x15\x44ownloadRobotStateLog\x12-.bosdyn.api.spot.DownloadRobotStateLogRequest\x1a..bosdyn.api.spot.DownloadRobotStateLogResponse\"\x00\x30\x01\x12o\n\x12\x43horeographyStatus\x12*.bosdyn.api.spot.ChoreographyStatusRequest\x1a+.bosdyn.api.spot.ChoreographyStatusResponse\"\x00\x12r\n\x13\x43horeographyCommand\x12+.bosdyn.api.spot.ChoreographyCommandRequest\x1a,.bosdyn.api.spot.ChoreographyCommandResponse\"\x00\x12{\n\x16\x43horeographyTimeAdjust\x12..bosdyn.api.spot.ChoreographyTimeAdjustRequest\x1a/.bosdyn.api.spot.ChoreographyTimeAdjustResponse\"\x00\x42\x1a\x42\x18\x43horeographyServiceProtob\x06proto3')
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
_CHOREOGRAPHYSERVICE = DESCRIPTOR.services_by_name['ChoreographyService']
|
|
23
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
24
|
+
|
|
25
|
+
DESCRIPTOR._options = None
|
|
26
|
+
DESCRIPTOR._serialized_options = b'B\030ChoreographyServiceProto'
|
|
27
|
+
_CHOREOGRAPHYSERVICE._serialized_start=109
|
|
28
|
+
_CHOREOGRAPHYSERVICE._serialized_end=1952
|
|
29
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,579 @@
|
|
|
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.spot import choreography_sequence_pb2 as bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class ChoreographyServiceStub(object):
|
|
9
|
+
"""Missing associated documentation comment in .proto file."""
|
|
10
|
+
|
|
11
|
+
def __init__(self, channel):
|
|
12
|
+
"""Constructor.
|
|
13
|
+
|
|
14
|
+
Args:
|
|
15
|
+
channel: A grpc.Channel.
|
|
16
|
+
"""
|
|
17
|
+
self.ListAllMoves = channel.unary_unary(
|
|
18
|
+
'/bosdyn.api.spot.ChoreographyService/ListAllMoves',
|
|
19
|
+
request_serializer=bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2.ListAllMovesRequest.SerializeToString,
|
|
20
|
+
response_deserializer=bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2.ListAllMovesResponse.FromString,
|
|
21
|
+
)
|
|
22
|
+
self.ListAllSequences = channel.unary_unary(
|
|
23
|
+
'/bosdyn.api.spot.ChoreographyService/ListAllSequences',
|
|
24
|
+
request_serializer=bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2.ListAllSequencesRequest.SerializeToString,
|
|
25
|
+
response_deserializer=bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2.ListAllSequencesResponse.FromString,
|
|
26
|
+
)
|
|
27
|
+
self.GetChoreographySequence = channel.unary_unary(
|
|
28
|
+
'/bosdyn.api.spot.ChoreographyService/GetChoreographySequence',
|
|
29
|
+
request_serializer=bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2.GetChoreographySequenceRequest.SerializeToString,
|
|
30
|
+
response_deserializer=bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2.GetChoreographySequenceResponse.FromString,
|
|
31
|
+
)
|
|
32
|
+
self.DeleteSequence = channel.unary_unary(
|
|
33
|
+
'/bosdyn.api.spot.ChoreographyService/DeleteSequence',
|
|
34
|
+
request_serializer=bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2.DeleteSequenceRequest.SerializeToString,
|
|
35
|
+
response_deserializer=bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2.DeleteSequenceResponse.FromString,
|
|
36
|
+
)
|
|
37
|
+
self.SaveSequence = channel.unary_unary(
|
|
38
|
+
'/bosdyn.api.spot.ChoreographyService/SaveSequence',
|
|
39
|
+
request_serializer=bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2.SaveSequenceRequest.SerializeToString,
|
|
40
|
+
response_deserializer=bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2.SaveSequenceResponse.FromString,
|
|
41
|
+
)
|
|
42
|
+
self.ModifyChoreographyInfo = channel.unary_unary(
|
|
43
|
+
'/bosdyn.api.spot.ChoreographyService/ModifyChoreographyInfo',
|
|
44
|
+
request_serializer=bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2.ModifyChoreographyInfoRequest.SerializeToString,
|
|
45
|
+
response_deserializer=bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2.ModifyChoreographyInfoResponse.FromString,
|
|
46
|
+
)
|
|
47
|
+
self.ClearAllSequenceFiles = channel.unary_unary(
|
|
48
|
+
'/bosdyn.api.spot.ChoreographyService/ClearAllSequenceFiles',
|
|
49
|
+
request_serializer=bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2.ClearAllSequenceFilesRequest.SerializeToString,
|
|
50
|
+
response_deserializer=bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2.ClearAllSequenceFilesResponse.FromString,
|
|
51
|
+
)
|
|
52
|
+
self.UploadChoreography = channel.unary_unary(
|
|
53
|
+
'/bosdyn.api.spot.ChoreographyService/UploadChoreography',
|
|
54
|
+
request_serializer=bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2.UploadChoreographyRequest.SerializeToString,
|
|
55
|
+
response_deserializer=bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2.UploadChoreographyResponse.FromString,
|
|
56
|
+
)
|
|
57
|
+
self.UploadAnimatedMove = channel.unary_unary(
|
|
58
|
+
'/bosdyn.api.spot.ChoreographyService/UploadAnimatedMove',
|
|
59
|
+
request_serializer=bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2.UploadAnimatedMoveRequest.SerializeToString,
|
|
60
|
+
response_deserializer=bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2.UploadAnimatedMoveResponse.FromString,
|
|
61
|
+
)
|
|
62
|
+
self.ExecuteChoreography = channel.unary_unary(
|
|
63
|
+
'/bosdyn.api.spot.ChoreographyService/ExecuteChoreography',
|
|
64
|
+
request_serializer=bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2.ExecuteChoreographyRequest.SerializeToString,
|
|
65
|
+
response_deserializer=bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2.ExecuteChoreographyResponse.FromString,
|
|
66
|
+
)
|
|
67
|
+
self.StartRecordingState = channel.unary_unary(
|
|
68
|
+
'/bosdyn.api.spot.ChoreographyService/StartRecordingState',
|
|
69
|
+
request_serializer=bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2.StartRecordingStateRequest.SerializeToString,
|
|
70
|
+
response_deserializer=bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2.StartRecordingStateResponse.FromString,
|
|
71
|
+
)
|
|
72
|
+
self.StopRecordingState = channel.unary_unary(
|
|
73
|
+
'/bosdyn.api.spot.ChoreographyService/StopRecordingState',
|
|
74
|
+
request_serializer=bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2.StopRecordingStateRequest.SerializeToString,
|
|
75
|
+
response_deserializer=bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2.StopRecordingStateResponse.FromString,
|
|
76
|
+
)
|
|
77
|
+
self.DownloadRobotStateLog = channel.unary_stream(
|
|
78
|
+
'/bosdyn.api.spot.ChoreographyService/DownloadRobotStateLog',
|
|
79
|
+
request_serializer=bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2.DownloadRobotStateLogRequest.SerializeToString,
|
|
80
|
+
response_deserializer=bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2.DownloadRobotStateLogResponse.FromString,
|
|
81
|
+
)
|
|
82
|
+
self.ChoreographyStatus = channel.unary_unary(
|
|
83
|
+
'/bosdyn.api.spot.ChoreographyService/ChoreographyStatus',
|
|
84
|
+
request_serializer=bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2.ChoreographyStatusRequest.SerializeToString,
|
|
85
|
+
response_deserializer=bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2.ChoreographyStatusResponse.FromString,
|
|
86
|
+
)
|
|
87
|
+
self.ChoreographyCommand = channel.unary_unary(
|
|
88
|
+
'/bosdyn.api.spot.ChoreographyService/ChoreographyCommand',
|
|
89
|
+
request_serializer=bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2.ChoreographyCommandRequest.SerializeToString,
|
|
90
|
+
response_deserializer=bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2.ChoreographyCommandResponse.FromString,
|
|
91
|
+
)
|
|
92
|
+
self.ChoreographyTimeAdjust = channel.unary_unary(
|
|
93
|
+
'/bosdyn.api.spot.ChoreographyService/ChoreographyTimeAdjust',
|
|
94
|
+
request_serializer=bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2.ChoreographyTimeAdjustRequest.SerializeToString,
|
|
95
|
+
response_deserializer=bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2.ChoreographyTimeAdjustResponse.FromString,
|
|
96
|
+
)
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
class ChoreographyServiceServicer(object):
|
|
100
|
+
"""Missing associated documentation comment in .proto file."""
|
|
101
|
+
|
|
102
|
+
def ListAllMoves(self, request, context):
|
|
103
|
+
"""List the available dance moves and their parameter information.
|
|
104
|
+
"""
|
|
105
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
106
|
+
context.set_details('Method not implemented!')
|
|
107
|
+
raise NotImplementedError('Method not implemented!')
|
|
108
|
+
|
|
109
|
+
def ListAllSequences(self, request, context):
|
|
110
|
+
"""List the available choreography sequences currently on the robot.
|
|
111
|
+
"""
|
|
112
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
113
|
+
context.set_details('Method not implemented!')
|
|
114
|
+
raise NotImplementedError('Method not implemented!')
|
|
115
|
+
|
|
116
|
+
def GetChoreographySequence(self, request, context):
|
|
117
|
+
"""Return the ChoreographySequence with the given name and any Animations used in that sequence.
|
|
118
|
+
"""
|
|
119
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
120
|
+
context.set_details('Method not implemented!')
|
|
121
|
+
raise NotImplementedError('Method not implemented!')
|
|
122
|
+
|
|
123
|
+
def DeleteSequence(self, request, context):
|
|
124
|
+
"""Delete a retained choreography sequence from the collection of user uploaded
|
|
125
|
+
choreography sequences.
|
|
126
|
+
"""
|
|
127
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
128
|
+
context.set_details('Method not implemented!')
|
|
129
|
+
raise NotImplementedError('Method not implemented!')
|
|
130
|
+
|
|
131
|
+
def SaveSequence(self, request, context):
|
|
132
|
+
"""Save a user uploaded choreography sequence to the robots collection of
|
|
133
|
+
retained choreography sequences.
|
|
134
|
+
"""
|
|
135
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
136
|
+
context.set_details('Method not implemented!')
|
|
137
|
+
raise NotImplementedError('Method not implemented!')
|
|
138
|
+
|
|
139
|
+
def ModifyChoreographyInfo(self, request, context):
|
|
140
|
+
"""Modify the metadata of a choreography sequence.
|
|
141
|
+
"""
|
|
142
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
143
|
+
context.set_details('Method not implemented!')
|
|
144
|
+
raise NotImplementedError('Method not implemented!')
|
|
145
|
+
|
|
146
|
+
def ClearAllSequenceFiles(self, request, context):
|
|
147
|
+
"""Clear all retained choreography sequence files from robot memory.
|
|
148
|
+
"""
|
|
149
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
150
|
+
context.set_details('Method not implemented!')
|
|
151
|
+
raise NotImplementedError('Method not implemented!')
|
|
152
|
+
|
|
153
|
+
def UploadChoreography(self, request, context):
|
|
154
|
+
"""Upload a dance to the robot.
|
|
155
|
+
"""
|
|
156
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
157
|
+
context.set_details('Method not implemented!')
|
|
158
|
+
raise NotImplementedError('Method not implemented!')
|
|
159
|
+
|
|
160
|
+
def UploadAnimatedMove(self, request, context):
|
|
161
|
+
"""Upload an animation to the robot.
|
|
162
|
+
"""
|
|
163
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
164
|
+
context.set_details('Method not implemented!')
|
|
165
|
+
raise NotImplementedError('Method not implemented!')
|
|
166
|
+
|
|
167
|
+
def ExecuteChoreography(self, request, context):
|
|
168
|
+
"""Execute the uploaded dance.
|
|
169
|
+
"""
|
|
170
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
171
|
+
context.set_details('Method not implemented!')
|
|
172
|
+
raise NotImplementedError('Method not implemented!')
|
|
173
|
+
|
|
174
|
+
def StartRecordingState(self, request, context):
|
|
175
|
+
"""Manually start (or continue) recording the robot state.
|
|
176
|
+
"""
|
|
177
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
178
|
+
context.set_details('Method not implemented!')
|
|
179
|
+
raise NotImplementedError('Method not implemented!')
|
|
180
|
+
|
|
181
|
+
def StopRecordingState(self, request, context):
|
|
182
|
+
"""Manually stop recording the robot state.
|
|
183
|
+
"""
|
|
184
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
185
|
+
context.set_details('Method not implemented!')
|
|
186
|
+
raise NotImplementedError('Method not implemented!')
|
|
187
|
+
|
|
188
|
+
def DownloadRobotStateLog(self, request, context):
|
|
189
|
+
"""Download log of the latest recorded robot state information.
|
|
190
|
+
"""
|
|
191
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
192
|
+
context.set_details('Method not implemented!')
|
|
193
|
+
raise NotImplementedError('Method not implemented!')
|
|
194
|
+
|
|
195
|
+
def ChoreographyStatus(self, request, context):
|
|
196
|
+
"""Report the status of a dancing robot.
|
|
197
|
+
"""
|
|
198
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
199
|
+
context.set_details('Method not implemented!')
|
|
200
|
+
raise NotImplementedError('Method not implemented!')
|
|
201
|
+
|
|
202
|
+
def ChoreographyCommand(self, request, context):
|
|
203
|
+
"""Commands intended for individual dance moves that are currently executing.
|
|
204
|
+
"""
|
|
205
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
206
|
+
context.set_details('Method not implemented!')
|
|
207
|
+
raise NotImplementedError('Method not implemented!')
|
|
208
|
+
|
|
209
|
+
def ChoreographyTimeAdjust(self, request, context):
|
|
210
|
+
"""Adjust the time when a robot should start dancing within a tolerance.
|
|
211
|
+
"""
|
|
212
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
213
|
+
context.set_details('Method not implemented!')
|
|
214
|
+
raise NotImplementedError('Method not implemented!')
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
def add_ChoreographyServiceServicer_to_server(servicer, server):
|
|
218
|
+
rpc_method_handlers = {
|
|
219
|
+
'ListAllMoves': grpc.unary_unary_rpc_method_handler(
|
|
220
|
+
servicer.ListAllMoves,
|
|
221
|
+
request_deserializer=bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2.ListAllMovesRequest.FromString,
|
|
222
|
+
response_serializer=bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2.ListAllMovesResponse.SerializeToString,
|
|
223
|
+
),
|
|
224
|
+
'ListAllSequences': grpc.unary_unary_rpc_method_handler(
|
|
225
|
+
servicer.ListAllSequences,
|
|
226
|
+
request_deserializer=bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2.ListAllSequencesRequest.FromString,
|
|
227
|
+
response_serializer=bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2.ListAllSequencesResponse.SerializeToString,
|
|
228
|
+
),
|
|
229
|
+
'GetChoreographySequence': grpc.unary_unary_rpc_method_handler(
|
|
230
|
+
servicer.GetChoreographySequence,
|
|
231
|
+
request_deserializer=bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2.GetChoreographySequenceRequest.FromString,
|
|
232
|
+
response_serializer=bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2.GetChoreographySequenceResponse.SerializeToString,
|
|
233
|
+
),
|
|
234
|
+
'DeleteSequence': grpc.unary_unary_rpc_method_handler(
|
|
235
|
+
servicer.DeleteSequence,
|
|
236
|
+
request_deserializer=bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2.DeleteSequenceRequest.FromString,
|
|
237
|
+
response_serializer=bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2.DeleteSequenceResponse.SerializeToString,
|
|
238
|
+
),
|
|
239
|
+
'SaveSequence': grpc.unary_unary_rpc_method_handler(
|
|
240
|
+
servicer.SaveSequence,
|
|
241
|
+
request_deserializer=bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2.SaveSequenceRequest.FromString,
|
|
242
|
+
response_serializer=bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2.SaveSequenceResponse.SerializeToString,
|
|
243
|
+
),
|
|
244
|
+
'ModifyChoreographyInfo': grpc.unary_unary_rpc_method_handler(
|
|
245
|
+
servicer.ModifyChoreographyInfo,
|
|
246
|
+
request_deserializer=bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2.ModifyChoreographyInfoRequest.FromString,
|
|
247
|
+
response_serializer=bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2.ModifyChoreographyInfoResponse.SerializeToString,
|
|
248
|
+
),
|
|
249
|
+
'ClearAllSequenceFiles': grpc.unary_unary_rpc_method_handler(
|
|
250
|
+
servicer.ClearAllSequenceFiles,
|
|
251
|
+
request_deserializer=bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2.ClearAllSequenceFilesRequest.FromString,
|
|
252
|
+
response_serializer=bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2.ClearAllSequenceFilesResponse.SerializeToString,
|
|
253
|
+
),
|
|
254
|
+
'UploadChoreography': grpc.unary_unary_rpc_method_handler(
|
|
255
|
+
servicer.UploadChoreography,
|
|
256
|
+
request_deserializer=bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2.UploadChoreographyRequest.FromString,
|
|
257
|
+
response_serializer=bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2.UploadChoreographyResponse.SerializeToString,
|
|
258
|
+
),
|
|
259
|
+
'UploadAnimatedMove': grpc.unary_unary_rpc_method_handler(
|
|
260
|
+
servicer.UploadAnimatedMove,
|
|
261
|
+
request_deserializer=bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2.UploadAnimatedMoveRequest.FromString,
|
|
262
|
+
response_serializer=bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2.UploadAnimatedMoveResponse.SerializeToString,
|
|
263
|
+
),
|
|
264
|
+
'ExecuteChoreography': grpc.unary_unary_rpc_method_handler(
|
|
265
|
+
servicer.ExecuteChoreography,
|
|
266
|
+
request_deserializer=bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2.ExecuteChoreographyRequest.FromString,
|
|
267
|
+
response_serializer=bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2.ExecuteChoreographyResponse.SerializeToString,
|
|
268
|
+
),
|
|
269
|
+
'StartRecordingState': grpc.unary_unary_rpc_method_handler(
|
|
270
|
+
servicer.StartRecordingState,
|
|
271
|
+
request_deserializer=bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2.StartRecordingStateRequest.FromString,
|
|
272
|
+
response_serializer=bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2.StartRecordingStateResponse.SerializeToString,
|
|
273
|
+
),
|
|
274
|
+
'StopRecordingState': grpc.unary_unary_rpc_method_handler(
|
|
275
|
+
servicer.StopRecordingState,
|
|
276
|
+
request_deserializer=bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2.StopRecordingStateRequest.FromString,
|
|
277
|
+
response_serializer=bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2.StopRecordingStateResponse.SerializeToString,
|
|
278
|
+
),
|
|
279
|
+
'DownloadRobotStateLog': grpc.unary_stream_rpc_method_handler(
|
|
280
|
+
servicer.DownloadRobotStateLog,
|
|
281
|
+
request_deserializer=bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2.DownloadRobotStateLogRequest.FromString,
|
|
282
|
+
response_serializer=bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2.DownloadRobotStateLogResponse.SerializeToString,
|
|
283
|
+
),
|
|
284
|
+
'ChoreographyStatus': grpc.unary_unary_rpc_method_handler(
|
|
285
|
+
servicer.ChoreographyStatus,
|
|
286
|
+
request_deserializer=bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2.ChoreographyStatusRequest.FromString,
|
|
287
|
+
response_serializer=bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2.ChoreographyStatusResponse.SerializeToString,
|
|
288
|
+
),
|
|
289
|
+
'ChoreographyCommand': grpc.unary_unary_rpc_method_handler(
|
|
290
|
+
servicer.ChoreographyCommand,
|
|
291
|
+
request_deserializer=bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2.ChoreographyCommandRequest.FromString,
|
|
292
|
+
response_serializer=bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2.ChoreographyCommandResponse.SerializeToString,
|
|
293
|
+
),
|
|
294
|
+
'ChoreographyTimeAdjust': grpc.unary_unary_rpc_method_handler(
|
|
295
|
+
servicer.ChoreographyTimeAdjust,
|
|
296
|
+
request_deserializer=bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2.ChoreographyTimeAdjustRequest.FromString,
|
|
297
|
+
response_serializer=bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2.ChoreographyTimeAdjustResponse.SerializeToString,
|
|
298
|
+
),
|
|
299
|
+
}
|
|
300
|
+
generic_handler = grpc.method_handlers_generic_handler(
|
|
301
|
+
'bosdyn.api.spot.ChoreographyService', rpc_method_handlers)
|
|
302
|
+
server.add_generic_rpc_handlers((generic_handler,))
|
|
303
|
+
|
|
304
|
+
|
|
305
|
+
# This class is part of an EXPERIMENTAL API.
|
|
306
|
+
class ChoreographyService(object):
|
|
307
|
+
"""Missing associated documentation comment in .proto file."""
|
|
308
|
+
|
|
309
|
+
@staticmethod
|
|
310
|
+
def ListAllMoves(request,
|
|
311
|
+
target,
|
|
312
|
+
options=(),
|
|
313
|
+
channel_credentials=None,
|
|
314
|
+
call_credentials=None,
|
|
315
|
+
insecure=False,
|
|
316
|
+
compression=None,
|
|
317
|
+
wait_for_ready=None,
|
|
318
|
+
timeout=None,
|
|
319
|
+
metadata=None):
|
|
320
|
+
return grpc.experimental.unary_unary(request, target, '/bosdyn.api.spot.ChoreographyService/ListAllMoves',
|
|
321
|
+
bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2.ListAllMovesRequest.SerializeToString,
|
|
322
|
+
bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2.ListAllMovesResponse.FromString,
|
|
323
|
+
options, channel_credentials,
|
|
324
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
325
|
+
|
|
326
|
+
@staticmethod
|
|
327
|
+
def ListAllSequences(request,
|
|
328
|
+
target,
|
|
329
|
+
options=(),
|
|
330
|
+
channel_credentials=None,
|
|
331
|
+
call_credentials=None,
|
|
332
|
+
insecure=False,
|
|
333
|
+
compression=None,
|
|
334
|
+
wait_for_ready=None,
|
|
335
|
+
timeout=None,
|
|
336
|
+
metadata=None):
|
|
337
|
+
return grpc.experimental.unary_unary(request, target, '/bosdyn.api.spot.ChoreographyService/ListAllSequences',
|
|
338
|
+
bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2.ListAllSequencesRequest.SerializeToString,
|
|
339
|
+
bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2.ListAllSequencesResponse.FromString,
|
|
340
|
+
options, channel_credentials,
|
|
341
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
342
|
+
|
|
343
|
+
@staticmethod
|
|
344
|
+
def GetChoreographySequence(request,
|
|
345
|
+
target,
|
|
346
|
+
options=(),
|
|
347
|
+
channel_credentials=None,
|
|
348
|
+
call_credentials=None,
|
|
349
|
+
insecure=False,
|
|
350
|
+
compression=None,
|
|
351
|
+
wait_for_ready=None,
|
|
352
|
+
timeout=None,
|
|
353
|
+
metadata=None):
|
|
354
|
+
return grpc.experimental.unary_unary(request, target, '/bosdyn.api.spot.ChoreographyService/GetChoreographySequence',
|
|
355
|
+
bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2.GetChoreographySequenceRequest.SerializeToString,
|
|
356
|
+
bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2.GetChoreographySequenceResponse.FromString,
|
|
357
|
+
options, channel_credentials,
|
|
358
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
359
|
+
|
|
360
|
+
@staticmethod
|
|
361
|
+
def DeleteSequence(request,
|
|
362
|
+
target,
|
|
363
|
+
options=(),
|
|
364
|
+
channel_credentials=None,
|
|
365
|
+
call_credentials=None,
|
|
366
|
+
insecure=False,
|
|
367
|
+
compression=None,
|
|
368
|
+
wait_for_ready=None,
|
|
369
|
+
timeout=None,
|
|
370
|
+
metadata=None):
|
|
371
|
+
return grpc.experimental.unary_unary(request, target, '/bosdyn.api.spot.ChoreographyService/DeleteSequence',
|
|
372
|
+
bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2.DeleteSequenceRequest.SerializeToString,
|
|
373
|
+
bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2.DeleteSequenceResponse.FromString,
|
|
374
|
+
options, channel_credentials,
|
|
375
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
376
|
+
|
|
377
|
+
@staticmethod
|
|
378
|
+
def SaveSequence(request,
|
|
379
|
+
target,
|
|
380
|
+
options=(),
|
|
381
|
+
channel_credentials=None,
|
|
382
|
+
call_credentials=None,
|
|
383
|
+
insecure=False,
|
|
384
|
+
compression=None,
|
|
385
|
+
wait_for_ready=None,
|
|
386
|
+
timeout=None,
|
|
387
|
+
metadata=None):
|
|
388
|
+
return grpc.experimental.unary_unary(request, target, '/bosdyn.api.spot.ChoreographyService/SaveSequence',
|
|
389
|
+
bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2.SaveSequenceRequest.SerializeToString,
|
|
390
|
+
bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2.SaveSequenceResponse.FromString,
|
|
391
|
+
options, channel_credentials,
|
|
392
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
393
|
+
|
|
394
|
+
@staticmethod
|
|
395
|
+
def ModifyChoreographyInfo(request,
|
|
396
|
+
target,
|
|
397
|
+
options=(),
|
|
398
|
+
channel_credentials=None,
|
|
399
|
+
call_credentials=None,
|
|
400
|
+
insecure=False,
|
|
401
|
+
compression=None,
|
|
402
|
+
wait_for_ready=None,
|
|
403
|
+
timeout=None,
|
|
404
|
+
metadata=None):
|
|
405
|
+
return grpc.experimental.unary_unary(request, target, '/bosdyn.api.spot.ChoreographyService/ModifyChoreographyInfo',
|
|
406
|
+
bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2.ModifyChoreographyInfoRequest.SerializeToString,
|
|
407
|
+
bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2.ModifyChoreographyInfoResponse.FromString,
|
|
408
|
+
options, channel_credentials,
|
|
409
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
410
|
+
|
|
411
|
+
@staticmethod
|
|
412
|
+
def ClearAllSequenceFiles(request,
|
|
413
|
+
target,
|
|
414
|
+
options=(),
|
|
415
|
+
channel_credentials=None,
|
|
416
|
+
call_credentials=None,
|
|
417
|
+
insecure=False,
|
|
418
|
+
compression=None,
|
|
419
|
+
wait_for_ready=None,
|
|
420
|
+
timeout=None,
|
|
421
|
+
metadata=None):
|
|
422
|
+
return grpc.experimental.unary_unary(request, target, '/bosdyn.api.spot.ChoreographyService/ClearAllSequenceFiles',
|
|
423
|
+
bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2.ClearAllSequenceFilesRequest.SerializeToString,
|
|
424
|
+
bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2.ClearAllSequenceFilesResponse.FromString,
|
|
425
|
+
options, channel_credentials,
|
|
426
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
427
|
+
|
|
428
|
+
@staticmethod
|
|
429
|
+
def UploadChoreography(request,
|
|
430
|
+
target,
|
|
431
|
+
options=(),
|
|
432
|
+
channel_credentials=None,
|
|
433
|
+
call_credentials=None,
|
|
434
|
+
insecure=False,
|
|
435
|
+
compression=None,
|
|
436
|
+
wait_for_ready=None,
|
|
437
|
+
timeout=None,
|
|
438
|
+
metadata=None):
|
|
439
|
+
return grpc.experimental.unary_unary(request, target, '/bosdyn.api.spot.ChoreographyService/UploadChoreography',
|
|
440
|
+
bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2.UploadChoreographyRequest.SerializeToString,
|
|
441
|
+
bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2.UploadChoreographyResponse.FromString,
|
|
442
|
+
options, channel_credentials,
|
|
443
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
444
|
+
|
|
445
|
+
@staticmethod
|
|
446
|
+
def UploadAnimatedMove(request,
|
|
447
|
+
target,
|
|
448
|
+
options=(),
|
|
449
|
+
channel_credentials=None,
|
|
450
|
+
call_credentials=None,
|
|
451
|
+
insecure=False,
|
|
452
|
+
compression=None,
|
|
453
|
+
wait_for_ready=None,
|
|
454
|
+
timeout=None,
|
|
455
|
+
metadata=None):
|
|
456
|
+
return grpc.experimental.unary_unary(request, target, '/bosdyn.api.spot.ChoreographyService/UploadAnimatedMove',
|
|
457
|
+
bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2.UploadAnimatedMoveRequest.SerializeToString,
|
|
458
|
+
bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2.UploadAnimatedMoveResponse.FromString,
|
|
459
|
+
options, channel_credentials,
|
|
460
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
461
|
+
|
|
462
|
+
@staticmethod
|
|
463
|
+
def ExecuteChoreography(request,
|
|
464
|
+
target,
|
|
465
|
+
options=(),
|
|
466
|
+
channel_credentials=None,
|
|
467
|
+
call_credentials=None,
|
|
468
|
+
insecure=False,
|
|
469
|
+
compression=None,
|
|
470
|
+
wait_for_ready=None,
|
|
471
|
+
timeout=None,
|
|
472
|
+
metadata=None):
|
|
473
|
+
return grpc.experimental.unary_unary(request, target, '/bosdyn.api.spot.ChoreographyService/ExecuteChoreography',
|
|
474
|
+
bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2.ExecuteChoreographyRequest.SerializeToString,
|
|
475
|
+
bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2.ExecuteChoreographyResponse.FromString,
|
|
476
|
+
options, channel_credentials,
|
|
477
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
478
|
+
|
|
479
|
+
@staticmethod
|
|
480
|
+
def StartRecordingState(request,
|
|
481
|
+
target,
|
|
482
|
+
options=(),
|
|
483
|
+
channel_credentials=None,
|
|
484
|
+
call_credentials=None,
|
|
485
|
+
insecure=False,
|
|
486
|
+
compression=None,
|
|
487
|
+
wait_for_ready=None,
|
|
488
|
+
timeout=None,
|
|
489
|
+
metadata=None):
|
|
490
|
+
return grpc.experimental.unary_unary(request, target, '/bosdyn.api.spot.ChoreographyService/StartRecordingState',
|
|
491
|
+
bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2.StartRecordingStateRequest.SerializeToString,
|
|
492
|
+
bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2.StartRecordingStateResponse.FromString,
|
|
493
|
+
options, channel_credentials,
|
|
494
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
495
|
+
|
|
496
|
+
@staticmethod
|
|
497
|
+
def StopRecordingState(request,
|
|
498
|
+
target,
|
|
499
|
+
options=(),
|
|
500
|
+
channel_credentials=None,
|
|
501
|
+
call_credentials=None,
|
|
502
|
+
insecure=False,
|
|
503
|
+
compression=None,
|
|
504
|
+
wait_for_ready=None,
|
|
505
|
+
timeout=None,
|
|
506
|
+
metadata=None):
|
|
507
|
+
return grpc.experimental.unary_unary(request, target, '/bosdyn.api.spot.ChoreographyService/StopRecordingState',
|
|
508
|
+
bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2.StopRecordingStateRequest.SerializeToString,
|
|
509
|
+
bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2.StopRecordingStateResponse.FromString,
|
|
510
|
+
options, channel_credentials,
|
|
511
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
512
|
+
|
|
513
|
+
@staticmethod
|
|
514
|
+
def DownloadRobotStateLog(request,
|
|
515
|
+
target,
|
|
516
|
+
options=(),
|
|
517
|
+
channel_credentials=None,
|
|
518
|
+
call_credentials=None,
|
|
519
|
+
insecure=False,
|
|
520
|
+
compression=None,
|
|
521
|
+
wait_for_ready=None,
|
|
522
|
+
timeout=None,
|
|
523
|
+
metadata=None):
|
|
524
|
+
return grpc.experimental.unary_stream(request, target, '/bosdyn.api.spot.ChoreographyService/DownloadRobotStateLog',
|
|
525
|
+
bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2.DownloadRobotStateLogRequest.SerializeToString,
|
|
526
|
+
bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2.DownloadRobotStateLogResponse.FromString,
|
|
527
|
+
options, channel_credentials,
|
|
528
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
529
|
+
|
|
530
|
+
@staticmethod
|
|
531
|
+
def ChoreographyStatus(request,
|
|
532
|
+
target,
|
|
533
|
+
options=(),
|
|
534
|
+
channel_credentials=None,
|
|
535
|
+
call_credentials=None,
|
|
536
|
+
insecure=False,
|
|
537
|
+
compression=None,
|
|
538
|
+
wait_for_ready=None,
|
|
539
|
+
timeout=None,
|
|
540
|
+
metadata=None):
|
|
541
|
+
return grpc.experimental.unary_unary(request, target, '/bosdyn.api.spot.ChoreographyService/ChoreographyStatus',
|
|
542
|
+
bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2.ChoreographyStatusRequest.SerializeToString,
|
|
543
|
+
bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2.ChoreographyStatusResponse.FromString,
|
|
544
|
+
options, channel_credentials,
|
|
545
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
546
|
+
|
|
547
|
+
@staticmethod
|
|
548
|
+
def ChoreographyCommand(request,
|
|
549
|
+
target,
|
|
550
|
+
options=(),
|
|
551
|
+
channel_credentials=None,
|
|
552
|
+
call_credentials=None,
|
|
553
|
+
insecure=False,
|
|
554
|
+
compression=None,
|
|
555
|
+
wait_for_ready=None,
|
|
556
|
+
timeout=None,
|
|
557
|
+
metadata=None):
|
|
558
|
+
return grpc.experimental.unary_unary(request, target, '/bosdyn.api.spot.ChoreographyService/ChoreographyCommand',
|
|
559
|
+
bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2.ChoreographyCommandRequest.SerializeToString,
|
|
560
|
+
bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2.ChoreographyCommandResponse.FromString,
|
|
561
|
+
options, channel_credentials,
|
|
562
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
563
|
+
|
|
564
|
+
@staticmethod
|
|
565
|
+
def ChoreographyTimeAdjust(request,
|
|
566
|
+
target,
|
|
567
|
+
options=(),
|
|
568
|
+
channel_credentials=None,
|
|
569
|
+
call_credentials=None,
|
|
570
|
+
insecure=False,
|
|
571
|
+
compression=None,
|
|
572
|
+
wait_for_ready=None,
|
|
573
|
+
timeout=None,
|
|
574
|
+
metadata=None):
|
|
575
|
+
return grpc.experimental.unary_unary(request, target, '/bosdyn.api.spot.ChoreographyService/ChoreographyTimeAdjust',
|
|
576
|
+
bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2.ChoreographyTimeAdjustRequest.SerializeToString,
|
|
577
|
+
bosdyn_dot_api_dot_spot_dot_choreography__sequence__pb2.ChoreographyTimeAdjustResponse.FromString,
|
|
578
|
+
options, channel_credentials,
|
|
579
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
@@ -18,7 +18,7 @@ from bosdyn.api import trajectory_pb2 as bosdyn_dot_api_dot_trajectory__pb2
|
|
|
18
18
|
from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#bosdyn/api/spot/robot_command.proto\x12\x0f\x62osdyn.api.spot\x1a\x19\x62osdyn/api/geometry.proto\x1a\x1b\x62osdyn/api/trajectory.proto\x1a\x1egoogle/protobuf/wrappers.proto\"\xa5\x06\n\x0eMobilityParams\x12/\n\tvel_limit\x18\x01 \x01(\x0b\x32\x1c.bosdyn.api.SE2VelocityLimit\x12\x38\n\x0c\x62ody_control\x18\x02 \x01(\x0b\x32\".bosdyn.api.spot.BodyControlParams\x12\x38\n\x0flocomotion_hint\x18\x03 \x01(\x0e\x32\x1f.bosdyn.api.spot.LocomotionHint\x12\x16\n\nstair_hint\x18\x04 \x01(\x08\x42\x02\x18\x01\x12?\n\x0bstairs_mode\x18\x11 \x01(\x0e\x32*.bosdyn.api.spot.MobilityParams.StairsMode\x12!\n\x19\x61llow_degraded_perception\x18\x05 \x01(\x08\x12\x38\n\x0fobstacle_params\x18\x06 \x01(\x0b\x32\x1f.bosdyn.api.spot.ObstacleParams\x12\x32\n\x0cswing_height\x18\x07 \x01(\x0e\x32\x1c.bosdyn.api.spot.SwingHeight\x12\x36\n\x0eterrain_params\x18\x08 \x01(\x0b\x32\x1e.bosdyn.api.spot.TerrainParams\x12\x1e\n\x16\x64isallow_stair_tracker\x18\t \x01(\x08\x12(\n disable_stair_error_auto_descent\x18\x10 \x01(\x08\x12G\n\x15\x65xternal_force_params\x18\n \x01(\x0b\x32(.bosdyn.api.spot.BodyExternalForceParams\x12*\n\"disallow_non_stairs_pitch_limiting\x18\x0b \x01(\x08\x12\'\n\x1f\x64isable_nearmap_cliff_avoidance\x18\x0c \x01(\x08\"d\n\nStairsMode\x12\x17\n\x13STAIRS_MODE_UNKNOWN\x10\x00\x12\x13\n\x0fSTAIRS_MODE_OFF\x10\x01\x12\x12\n\x0eSTAIRS_MODE_ON\x10\x02\x12\x14\n\x10STAIRS_MODE_AUTO\x10\x03\"\xfa\x04\n\x11\x42odyControlParams\x12=\n\x18\x62\x61se_offset_rt_footprint\x18\x01 \x01(\x0b\x32\x19.bosdyn.api.SE3TrajectoryH\x00\x12\x64\n\x1c\x62ody_assist_for_manipulation\x18\x03 \x01(\x0b\x32<.bosdyn.api.spot.BodyControlParams.BodyAssistForManipulationH\x00\x12@\n\tbody_pose\x18\x04 \x01(\x0b\x32+.bosdyn.api.spot.BodyControlParams.BodyPoseH\x00\x12L\n\x10rotation_setting\x18\x02 \x01(\x0e\x32\x32.bosdyn.api.spot.BodyControlParams.RotationSetting\x1a]\n\x19\x42odyAssistForManipulation\x12\x1e\n\x16\x65nable_body_yaw_assist\x18\x01 \x01(\x08\x12 \n\x18\x65nable_hip_height_assist\x18\x02 \x01(\x08\x1a[\n\x08\x42odyPose\x12\x17\n\x0froot_frame_name\x18\x01 \x01(\t\x12\x36\n\x13\x62\x61se_offset_rt_root\x18\x02 \x01(\x0b\x32\x19.bosdyn.api.SE3Trajectory\"k\n\x0fRotationSetting\x12\x1c\n\x18ROTATION_SETTING_UNKNOWN\x10\x00\x12\x1b\n\x17ROTATION_SETTING_OFFSET\x10\x01\x12\x1d\n\x19ROTATION_SETTING_ABSOLUTE\x10\x02\x42\x07\n\x05param\"\xa3\x02\n\x0eObstacleParams\x12.\n&disable_vision_foot_obstacle_avoidance\x18\x01 \x01(\x08\x12\x30\n(disable_vision_foot_constraint_avoidance\x18\x02 \x01(\x08\x12.\n&disable_vision_body_obstacle_avoidance\x18\x03 \x01(\x08\x12\"\n\x1aobstacle_avoidance_padding\x18\x04 \x01(\x01\x12\x30\n(disable_vision_foot_obstacle_body_assist\x18\x05 \x01(\x08\x12)\n!disable_vision_negative_obstacles\x18\x06 \x01(\x08\"\xca\x02\n\rTerrainParams\x12\x34\n\x0eground_mu_hint\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x1f\n\x13\x65nable_grated_floor\x18\x03 \x01(\x08\x42\x02\x18\x01\x12O\n\x14grated_surfaces_mode\x18\x04 \x01(\x0e\x32\x31.bosdyn.api.spot.TerrainParams.GratedSurfacesMode\"\x90\x01\n\x12GratedSurfacesMode\x12 \n\x1cGRATED_SURFACES_MODE_UNKNOWN\x10\x00\x12\x1c\n\x18GRATED_SURFACES_MODE_OFF\x10\x01\x12\x1b\n\x17GRATED_SURFACES_MODE_ON\x10\x02\x12\x1d\n\x19GRATED_SURFACES_MODE_AUTO\x10\x03\"\xbe\x02\n\x17\x42odyExternalForceParams\x12\x61\n\x18\x65xternal_force_indicator\x18\x01 \x01(\x0e\x32?.bosdyn.api.spot.BodyExternalForceParams.ExternalForceIndicator\x12\x12\n\nframe_name\x18\x04 \x01(\t\x12\x31\n\x17\x65xternal_force_override\x18\x03 \x01(\x0b\x32\x10.bosdyn.api.Vec3\"s\n\x16\x45xternalForceIndicator\x12\x17\n\x13\x45XTERNAL_FORCE_NONE\x10\x00\x12\x1f\n\x1b\x45XTERNAL_FORCE_USE_ESTIMATE\x10\x01\x12\x1f\n\x1b\x45XTERNAL_FORCE_USE_OVERRIDE\x10\x02J\x04\x08\x02\x10\x03*\xff\x01\n\x0eLocomotionHint\x12\x10\n\x0cHINT_UNKNOWN\x10\x00\x12\r\n\tHINT_AUTO\x10\x01\x12\r\n\tHINT_TROT\x10\x02\x12\x1a\n\x16HINT_SPEED_SELECT_TROT\x10\x03\x12\x0e\n\nHINT_CRAWL\x10\x04\x12\x1b\n\x17HINT_SPEED_SELECT_CRAWL\x10\n\x12\x0e\n\nHINT_AMBLE\x10\x05\x12\x1b\n\x17HINT_SPEED_SELECT_AMBLE\x10\x06\x12\x0c\n\x08HINT_JOG\x10\x07\x12\x0c\n\x08HINT_HOP\x10\x08\x12\x12\n\x0eHINT_AUTO_TROT\x10\x03\x12\x13\n\x0fHINT_AUTO_AMBLE\x10\x06\x1a\x02\x10\x01
|
|
21
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#bosdyn/api/spot/robot_command.proto\x12\x0f\x62osdyn.api.spot\x1a\x19\x62osdyn/api/geometry.proto\x1a\x1b\x62osdyn/api/trajectory.proto\x1a\x1egoogle/protobuf/wrappers.proto\"\xa5\x06\n\x0eMobilityParams\x12/\n\tvel_limit\x18\x01 \x01(\x0b\x32\x1c.bosdyn.api.SE2VelocityLimit\x12\x38\n\x0c\x62ody_control\x18\x02 \x01(\x0b\x32\".bosdyn.api.spot.BodyControlParams\x12\x38\n\x0flocomotion_hint\x18\x03 \x01(\x0e\x32\x1f.bosdyn.api.spot.LocomotionHint\x12\x16\n\nstair_hint\x18\x04 \x01(\x08\x42\x02\x18\x01\x12?\n\x0bstairs_mode\x18\x11 \x01(\x0e\x32*.bosdyn.api.spot.MobilityParams.StairsMode\x12!\n\x19\x61llow_degraded_perception\x18\x05 \x01(\x08\x12\x38\n\x0fobstacle_params\x18\x06 \x01(\x0b\x32\x1f.bosdyn.api.spot.ObstacleParams\x12\x32\n\x0cswing_height\x18\x07 \x01(\x0e\x32\x1c.bosdyn.api.spot.SwingHeight\x12\x36\n\x0eterrain_params\x18\x08 \x01(\x0b\x32\x1e.bosdyn.api.spot.TerrainParams\x12\x1e\n\x16\x64isallow_stair_tracker\x18\t \x01(\x08\x12(\n disable_stair_error_auto_descent\x18\x10 \x01(\x08\x12G\n\x15\x65xternal_force_params\x18\n \x01(\x0b\x32(.bosdyn.api.spot.BodyExternalForceParams\x12*\n\"disallow_non_stairs_pitch_limiting\x18\x0b \x01(\x08\x12\'\n\x1f\x64isable_nearmap_cliff_avoidance\x18\x0c \x01(\x08\"d\n\nStairsMode\x12\x17\n\x13STAIRS_MODE_UNKNOWN\x10\x00\x12\x13\n\x0fSTAIRS_MODE_OFF\x10\x01\x12\x12\n\x0eSTAIRS_MODE_ON\x10\x02\x12\x14\n\x10STAIRS_MODE_AUTO\x10\x03\"\xfa\x04\n\x11\x42odyControlParams\x12=\n\x18\x62\x61se_offset_rt_footprint\x18\x01 \x01(\x0b\x32\x19.bosdyn.api.SE3TrajectoryH\x00\x12\x64\n\x1c\x62ody_assist_for_manipulation\x18\x03 \x01(\x0b\x32<.bosdyn.api.spot.BodyControlParams.BodyAssistForManipulationH\x00\x12@\n\tbody_pose\x18\x04 \x01(\x0b\x32+.bosdyn.api.spot.BodyControlParams.BodyPoseH\x00\x12L\n\x10rotation_setting\x18\x02 \x01(\x0e\x32\x32.bosdyn.api.spot.BodyControlParams.RotationSetting\x1a]\n\x19\x42odyAssistForManipulation\x12\x1e\n\x16\x65nable_body_yaw_assist\x18\x01 \x01(\x08\x12 \n\x18\x65nable_hip_height_assist\x18\x02 \x01(\x08\x1a[\n\x08\x42odyPose\x12\x17\n\x0froot_frame_name\x18\x01 \x01(\t\x12\x36\n\x13\x62\x61se_offset_rt_root\x18\x02 \x01(\x0b\x32\x19.bosdyn.api.SE3Trajectory\"k\n\x0fRotationSetting\x12\x1c\n\x18ROTATION_SETTING_UNKNOWN\x10\x00\x12\x1b\n\x17ROTATION_SETTING_OFFSET\x10\x01\x12\x1d\n\x19ROTATION_SETTING_ABSOLUTE\x10\x02\x42\x07\n\x05param\"\xa3\x02\n\x0eObstacleParams\x12.\n&disable_vision_foot_obstacle_avoidance\x18\x01 \x01(\x08\x12\x30\n(disable_vision_foot_constraint_avoidance\x18\x02 \x01(\x08\x12.\n&disable_vision_body_obstacle_avoidance\x18\x03 \x01(\x08\x12\"\n\x1aobstacle_avoidance_padding\x18\x04 \x01(\x01\x12\x30\n(disable_vision_foot_obstacle_body_assist\x18\x05 \x01(\x08\x12)\n!disable_vision_negative_obstacles\x18\x06 \x01(\x08\"\xca\x02\n\rTerrainParams\x12\x34\n\x0eground_mu_hint\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x1f\n\x13\x65nable_grated_floor\x18\x03 \x01(\x08\x42\x02\x18\x01\x12O\n\x14grated_surfaces_mode\x18\x04 \x01(\x0e\x32\x31.bosdyn.api.spot.TerrainParams.GratedSurfacesMode\"\x90\x01\n\x12GratedSurfacesMode\x12 \n\x1cGRATED_SURFACES_MODE_UNKNOWN\x10\x00\x12\x1c\n\x18GRATED_SURFACES_MODE_OFF\x10\x01\x12\x1b\n\x17GRATED_SURFACES_MODE_ON\x10\x02\x12\x1d\n\x19GRATED_SURFACES_MODE_AUTO\x10\x03\"\xbe\x02\n\x17\x42odyExternalForceParams\x12\x61\n\x18\x65xternal_force_indicator\x18\x01 \x01(\x0e\x32?.bosdyn.api.spot.BodyExternalForceParams.ExternalForceIndicator\x12\x12\n\nframe_name\x18\x04 \x01(\t\x12\x31\n\x17\x65xternal_force_override\x18\x03 \x01(\x0b\x32\x10.bosdyn.api.Vec3\"s\n\x16\x45xternalForceIndicator\x12\x17\n\x13\x45XTERNAL_FORCE_NONE\x10\x00\x12\x1f\n\x1b\x45XTERNAL_FORCE_USE_ESTIMATE\x10\x01\x12\x1f\n\x1b\x45XTERNAL_FORCE_USE_OVERRIDE\x10\x02J\x04\x08\x02\x10\x03*\xff\x01\n\x0eLocomotionHint\x12\x10\n\x0cHINT_UNKNOWN\x10\x00\x12\r\n\tHINT_AUTO\x10\x01\x12\r\n\tHINT_TROT\x10\x02\x12\x1a\n\x16HINT_SPEED_SELECT_TROT\x10\x03\x12\x0e\n\nHINT_CRAWL\x10\x04\x12\x1b\n\x17HINT_SPEED_SELECT_CRAWL\x10\n\x12\x0e\n\nHINT_AMBLE\x10\x05\x12\x1b\n\x17HINT_SPEED_SELECT_AMBLE\x10\x06\x12\x0c\n\x08HINT_JOG\x10\x07\x12\x0c\n\x08HINT_HOP\x10\x08\x12\x12\n\x0eHINT_AUTO_TROT\x10\x03\x12\x13\n\x0fHINT_AUTO_AMBLE\x10\x06\x1a\x02\x10\x01*\x84\x01\n\x0bSwingHeight\x12\x18\n\x14SWING_HEIGHT_UNKNOWN\x10\x00\x12\x14\n\x10SWING_HEIGHT_LOW\x10\x01\x12\x17\n\x13SWING_HEIGHT_MEDIUM\x10\x02\x12\x15\n\x11SWING_HEIGHT_HIGH\x10\x03\x12\x15\n\x11SWING_HEIGHT_AUTO\x10\x04\x42\x13\x42\x11RobotCommandProtob\x06proto3')
|
|
22
22
|
|
|
23
23
|
_LOCOMOTIONHINT = DESCRIPTOR.enum_types_by_name['LocomotionHint']
|
|
24
24
|
LocomotionHint = enum_type_wrapper.EnumTypeWrapper(_LOCOMOTIONHINT)
|
|
@@ -40,6 +40,7 @@ SWING_HEIGHT_UNKNOWN = 0
|
|
|
40
40
|
SWING_HEIGHT_LOW = 1
|
|
41
41
|
SWING_HEIGHT_MEDIUM = 2
|
|
42
42
|
SWING_HEIGHT_HIGH = 3
|
|
43
|
+
SWING_HEIGHT_AUTO = 4
|
|
43
44
|
|
|
44
45
|
|
|
45
46
|
_MOBILITYPARAMS = DESCRIPTOR.message_types_by_name['MobilityParams']
|
|
@@ -116,8 +117,8 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
116
117
|
_TERRAINPARAMS.fields_by_name['enable_grated_floor']._serialized_options = b'\030\001'
|
|
117
118
|
_LOCOMOTIONHINT._serialized_start=2538
|
|
118
119
|
_LOCOMOTIONHINT._serialized_end=2793
|
|
119
|
-
_SWINGHEIGHT._serialized_start=
|
|
120
|
-
_SWINGHEIGHT._serialized_end=
|
|
120
|
+
_SWINGHEIGHT._serialized_start=2796
|
|
121
|
+
_SWINGHEIGHT._serialized_end=2928
|
|
121
122
|
_MOBILITYPARAMS._serialized_start=145
|
|
122
123
|
_MOBILITYPARAMS._serialized_end=950
|
|
123
124
|
_MOBILITYPARAMS_STAIRSMODE._serialized_start=850
|