wirepod-vector-sdk-audio 0.9.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.
Files changed (71) hide show
  1. anki_vector/__init__.py +43 -0
  2. anki_vector/animation.py +272 -0
  3. anki_vector/annotate.py +590 -0
  4. anki_vector/audio.py +212 -0
  5. anki_vector/audio_stream.py +335 -0
  6. anki_vector/behavior.py +1135 -0
  7. anki_vector/camera.py +670 -0
  8. anki_vector/camera_viewer/__init__.py +121 -0
  9. anki_vector/color.py +88 -0
  10. anki_vector/configure/__main__.py +331 -0
  11. anki_vector/connection.py +838 -0
  12. anki_vector/events.py +420 -0
  13. anki_vector/exceptions.py +185 -0
  14. anki_vector/faces.py +819 -0
  15. anki_vector/lights.py +210 -0
  16. anki_vector/mdns.py +131 -0
  17. anki_vector/messaging/__init__.py +45 -0
  18. anki_vector/messaging/alexa_pb2.py +36 -0
  19. anki_vector/messaging/alexa_pb2_grpc.py +3 -0
  20. anki_vector/messaging/behavior_pb2.py +40 -0
  21. anki_vector/messaging/behavior_pb2_grpc.py +3 -0
  22. anki_vector/messaging/client.py +33 -0
  23. anki_vector/messaging/cube_pb2.py +113 -0
  24. anki_vector/messaging/cube_pb2_grpc.py +3 -0
  25. anki_vector/messaging/extensions_pb2.py +25 -0
  26. anki_vector/messaging/extensions_pb2_grpc.py +3 -0
  27. anki_vector/messaging/external_interface_pb2.py +169 -0
  28. anki_vector/messaging/external_interface_pb2_grpc.py +1267 -0
  29. anki_vector/messaging/messages_pb2.py +431 -0
  30. anki_vector/messaging/messages_pb2_grpc.py +3 -0
  31. anki_vector/messaging/nav_map_pb2.py +33 -0
  32. anki_vector/messaging/nav_map_pb2_grpc.py +3 -0
  33. anki_vector/messaging/protocol.py +33 -0
  34. anki_vector/messaging/response_status_pb2.py +27 -0
  35. anki_vector/messaging/response_status_pb2_grpc.py +3 -0
  36. anki_vector/messaging/settings_pb2.py +72 -0
  37. anki_vector/messaging/settings_pb2_grpc.py +3 -0
  38. anki_vector/messaging/shared_pb2.py +54 -0
  39. anki_vector/messaging/shared_pb2_grpc.py +3 -0
  40. anki_vector/motors.py +127 -0
  41. anki_vector/nav_map.py +409 -0
  42. anki_vector/objects.py +1782 -0
  43. anki_vector/opengl/__init__.py +103 -0
  44. anki_vector/opengl/assets/LICENSE.txt +21 -0
  45. anki_vector/opengl/assets/cube.jpg +0 -0
  46. anki_vector/opengl/assets/cube.mtl +9 -0
  47. anki_vector/opengl/assets/cube.obj +1000 -0
  48. anki_vector/opengl/assets/vector.mtl +67 -0
  49. anki_vector/opengl/assets/vector.obj +13220 -0
  50. anki_vector/opengl/opengl.py +864 -0
  51. anki_vector/opengl/opengl_vector.py +620 -0
  52. anki_vector/opengl/opengl_viewer.py +689 -0
  53. anki_vector/photos.py +145 -0
  54. anki_vector/proximity.py +176 -0
  55. anki_vector/reserve_control/__main__.py +36 -0
  56. anki_vector/robot.py +930 -0
  57. anki_vector/screen.py +201 -0
  58. anki_vector/status.py +322 -0
  59. anki_vector/touch.py +119 -0
  60. anki_vector/user_intent.py +186 -0
  61. anki_vector/util.py +1132 -0
  62. anki_vector/version.py +15 -0
  63. anki_vector/viewer.py +403 -0
  64. anki_vector/vision.py +202 -0
  65. anki_vector/world.py +899 -0
  66. wirepod_vector_sdk_audio-0.9.0.dist-info/METADATA +80 -0
  67. wirepod_vector_sdk_audio-0.9.0.dist-info/RECORD +71 -0
  68. wirepod_vector_sdk_audio-0.9.0.dist-info/WHEEL +5 -0
  69. wirepod_vector_sdk_audio-0.9.0.dist-info/licenses/LICENSE.txt +180 -0
  70. wirepod_vector_sdk_audio-0.9.0.dist-info/top_level.txt +1 -0
  71. wirepod_vector_sdk_audio-0.9.0.dist-info/zip-safe +1 -0
@@ -0,0 +1,1267 @@
1
+ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
2
+ import grpc
3
+
4
+ from anki_vector.messaging import behavior_pb2 as anki__vector_dot_messaging_dot_behavior__pb2
5
+ from anki_vector.messaging import cube_pb2 as anki__vector_dot_messaging_dot_cube__pb2
6
+ from anki_vector.messaging import messages_pb2 as anki__vector_dot_messaging_dot_messages__pb2
7
+ from anki_vector.messaging import nav_map_pb2 as anki__vector_dot_messaging_dot_nav__map__pb2
8
+ from anki_vector.messaging import shared_pb2 as anki__vector_dot_messaging_dot_shared__pb2
9
+
10
+
11
+ class ExternalInterfaceStub(object):
12
+ """The grpc-defined connection between the SDK and Anki's Vector robot.
13
+ """
14
+
15
+ def __init__(self, channel):
16
+ """Constructor.
17
+
18
+ Args:
19
+ channel: A grpc.Channel.
20
+ """
21
+ self.ProtocolVersion = channel.unary_unary(
22
+ '/Anki.Vector.external_interface.ExternalInterface/ProtocolVersion',
23
+ request_serializer=anki__vector_dot_messaging_dot_shared__pb2.ProtocolVersionRequest.SerializeToString,
24
+ response_deserializer=anki__vector_dot_messaging_dot_shared__pb2.ProtocolVersionResponse.FromString,
25
+ )
26
+ self.SDKInitialization = channel.unary_unary(
27
+ '/Anki.Vector.external_interface.ExternalInterface/SDKInitialization',
28
+ request_serializer=anki__vector_dot_messaging_dot_messages__pb2.SDKInitializationRequest.SerializeToString,
29
+ response_deserializer=anki__vector_dot_messaging_dot_messages__pb2.SDKInitializationResponse.FromString,
30
+ )
31
+ self.DriveWheels = channel.unary_unary(
32
+ '/Anki.Vector.external_interface.ExternalInterface/DriveWheels',
33
+ request_serializer=anki__vector_dot_messaging_dot_messages__pb2.DriveWheelsRequest.SerializeToString,
34
+ response_deserializer=anki__vector_dot_messaging_dot_messages__pb2.DriveWheelsResponse.FromString,
35
+ )
36
+ self.PlayAnimationTrigger = channel.unary_unary(
37
+ '/Anki.Vector.external_interface.ExternalInterface/PlayAnimationTrigger',
38
+ request_serializer=anki__vector_dot_messaging_dot_messages__pb2.PlayAnimationTriggerRequest.SerializeToString,
39
+ response_deserializer=anki__vector_dot_messaging_dot_messages__pb2.PlayAnimationResponse.FromString,
40
+ )
41
+ self.PlayAnimation = channel.unary_unary(
42
+ '/Anki.Vector.external_interface.ExternalInterface/PlayAnimation',
43
+ request_serializer=anki__vector_dot_messaging_dot_messages__pb2.PlayAnimationRequest.SerializeToString,
44
+ response_deserializer=anki__vector_dot_messaging_dot_messages__pb2.PlayAnimationResponse.FromString,
45
+ )
46
+ self.ListAnimations = channel.unary_unary(
47
+ '/Anki.Vector.external_interface.ExternalInterface/ListAnimations',
48
+ request_serializer=anki__vector_dot_messaging_dot_messages__pb2.ListAnimationsRequest.SerializeToString,
49
+ response_deserializer=anki__vector_dot_messaging_dot_messages__pb2.ListAnimationsResponse.FromString,
50
+ )
51
+ self.ListAnimationTriggers = channel.unary_unary(
52
+ '/Anki.Vector.external_interface.ExternalInterface/ListAnimationTriggers',
53
+ request_serializer=anki__vector_dot_messaging_dot_messages__pb2.ListAnimationTriggersRequest.SerializeToString,
54
+ response_deserializer=anki__vector_dot_messaging_dot_messages__pb2.ListAnimationTriggersResponse.FromString,
55
+ )
56
+ self.MoveHead = channel.unary_unary(
57
+ '/Anki.Vector.external_interface.ExternalInterface/MoveHead',
58
+ request_serializer=anki__vector_dot_messaging_dot_messages__pb2.MoveHeadRequest.SerializeToString,
59
+ response_deserializer=anki__vector_dot_messaging_dot_messages__pb2.MoveHeadResponse.FromString,
60
+ )
61
+ self.MoveLift = channel.unary_unary(
62
+ '/Anki.Vector.external_interface.ExternalInterface/MoveLift',
63
+ request_serializer=anki__vector_dot_messaging_dot_messages__pb2.MoveLiftRequest.SerializeToString,
64
+ response_deserializer=anki__vector_dot_messaging_dot_messages__pb2.MoveLiftResponse.FromString,
65
+ )
66
+ self.StopAllMotors = channel.unary_unary(
67
+ '/Anki.Vector.external_interface.ExternalInterface/StopAllMotors',
68
+ request_serializer=anki__vector_dot_messaging_dot_messages__pb2.StopAllMotorsRequest.SerializeToString,
69
+ response_deserializer=anki__vector_dot_messaging_dot_messages__pb2.StopAllMotorsResponse.FromString,
70
+ )
71
+ self.DisplayFaceImageRGB = channel.unary_unary(
72
+ '/Anki.Vector.external_interface.ExternalInterface/DisplayFaceImageRGB',
73
+ request_serializer=anki__vector_dot_messaging_dot_messages__pb2.DisplayFaceImageRGBRequest.SerializeToString,
74
+ response_deserializer=anki__vector_dot_messaging_dot_messages__pb2.DisplayFaceImageRGBResponse.FromString,
75
+ )
76
+ self.EventStream = channel.unary_stream(
77
+ '/Anki.Vector.external_interface.ExternalInterface/EventStream',
78
+ request_serializer=anki__vector_dot_messaging_dot_shared__pb2.EventRequest.SerializeToString,
79
+ response_deserializer=anki__vector_dot_messaging_dot_shared__pb2.EventResponse.FromString,
80
+ )
81
+ self.ExternalAudioStreamPlayback = channel.stream_stream(
82
+ '/Anki.Vector.external_interface.ExternalInterface/ExternalAudioStreamPlayback',
83
+ request_serializer=anki__vector_dot_messaging_dot_messages__pb2.ExternalAudioStreamRequest.SerializeToString,
84
+ response_deserializer=anki__vector_dot_messaging_dot_messages__pb2.ExternalAudioStreamResponse.FromString,
85
+ )
86
+ self.BehaviorControl = channel.stream_stream(
87
+ '/Anki.Vector.external_interface.ExternalInterface/BehaviorControl',
88
+ request_serializer=anki__vector_dot_messaging_dot_behavior__pb2.BehaviorControlRequest.SerializeToString,
89
+ response_deserializer=anki__vector_dot_messaging_dot_behavior__pb2.BehaviorControlResponse.FromString,
90
+ )
91
+ self.CancelFaceEnrollment = channel.unary_unary(
92
+ '/Anki.Vector.external_interface.ExternalInterface/CancelFaceEnrollment',
93
+ request_serializer=anki__vector_dot_messaging_dot_messages__pb2.CancelFaceEnrollmentRequest.SerializeToString,
94
+ response_deserializer=anki__vector_dot_messaging_dot_messages__pb2.CancelFaceEnrollmentResponse.FromString,
95
+ )
96
+ self.RequestEnrolledNames = channel.unary_unary(
97
+ '/Anki.Vector.external_interface.ExternalInterface/RequestEnrolledNames',
98
+ request_serializer=anki__vector_dot_messaging_dot_messages__pb2.RequestEnrolledNamesRequest.SerializeToString,
99
+ response_deserializer=anki__vector_dot_messaging_dot_messages__pb2.RequestEnrolledNamesResponse.FromString,
100
+ )
101
+ self.UpdateEnrolledFaceByID = channel.unary_unary(
102
+ '/Anki.Vector.external_interface.ExternalInterface/UpdateEnrolledFaceByID',
103
+ request_serializer=anki__vector_dot_messaging_dot_messages__pb2.UpdateEnrolledFaceByIDRequest.SerializeToString,
104
+ response_deserializer=anki__vector_dot_messaging_dot_messages__pb2.UpdateEnrolledFaceByIDResponse.FromString,
105
+ )
106
+ self.EraseEnrolledFaceByID = channel.unary_unary(
107
+ '/Anki.Vector.external_interface.ExternalInterface/EraseEnrolledFaceByID',
108
+ request_serializer=anki__vector_dot_messaging_dot_messages__pb2.EraseEnrolledFaceByIDRequest.SerializeToString,
109
+ response_deserializer=anki__vector_dot_messaging_dot_messages__pb2.EraseEnrolledFaceByIDResponse.FromString,
110
+ )
111
+ self.EraseAllEnrolledFaces = channel.unary_unary(
112
+ '/Anki.Vector.external_interface.ExternalInterface/EraseAllEnrolledFaces',
113
+ request_serializer=anki__vector_dot_messaging_dot_messages__pb2.EraseAllEnrolledFacesRequest.SerializeToString,
114
+ response_deserializer=anki__vector_dot_messaging_dot_messages__pb2.EraseAllEnrolledFacesResponse.FromString,
115
+ )
116
+ self.SetFaceToEnroll = channel.unary_unary(
117
+ '/Anki.Vector.external_interface.ExternalInterface/SetFaceToEnroll',
118
+ request_serializer=anki__vector_dot_messaging_dot_messages__pb2.SetFaceToEnrollRequest.SerializeToString,
119
+ response_deserializer=anki__vector_dot_messaging_dot_messages__pb2.SetFaceToEnrollResponse.FromString,
120
+ )
121
+ self.EnrollFace = channel.unary_unary(
122
+ '/Anki.Vector.external_interface.ExternalInterface/EnrollFace',
123
+ request_serializer=anki__vector_dot_messaging_dot_messages__pb2.EnrollFaceRequest.SerializeToString,
124
+ response_deserializer=anki__vector_dot_messaging_dot_messages__pb2.EnrollFaceResponse.FromString,
125
+ )
126
+ self.EnableMarkerDetection = channel.unary_unary(
127
+ '/Anki.Vector.external_interface.ExternalInterface/EnableMarkerDetection',
128
+ request_serializer=anki__vector_dot_messaging_dot_messages__pb2.EnableMarkerDetectionRequest.SerializeToString,
129
+ response_deserializer=anki__vector_dot_messaging_dot_messages__pb2.EnableMarkerDetectionResponse.FromString,
130
+ )
131
+ self.EnableFaceDetection = channel.unary_unary(
132
+ '/Anki.Vector.external_interface.ExternalInterface/EnableFaceDetection',
133
+ request_serializer=anki__vector_dot_messaging_dot_messages__pb2.EnableFaceDetectionRequest.SerializeToString,
134
+ response_deserializer=anki__vector_dot_messaging_dot_messages__pb2.EnableFaceDetectionResponse.FromString,
135
+ )
136
+ self.EnableMotionDetection = channel.unary_unary(
137
+ '/Anki.Vector.external_interface.ExternalInterface/EnableMotionDetection',
138
+ request_serializer=anki__vector_dot_messaging_dot_messages__pb2.EnableMotionDetectionRequest.SerializeToString,
139
+ response_deserializer=anki__vector_dot_messaging_dot_messages__pb2.EnableMotionDetectionResponse.FromString,
140
+ )
141
+ self.EnableMirrorMode = channel.unary_unary(
142
+ '/Anki.Vector.external_interface.ExternalInterface/EnableMirrorMode',
143
+ request_serializer=anki__vector_dot_messaging_dot_messages__pb2.EnableMirrorModeRequest.SerializeToString,
144
+ response_deserializer=anki__vector_dot_messaging_dot_messages__pb2.EnableMirrorModeResponse.FromString,
145
+ )
146
+ self.EnableImageStreaming = channel.unary_unary(
147
+ '/Anki.Vector.external_interface.ExternalInterface/EnableImageStreaming',
148
+ request_serializer=anki__vector_dot_messaging_dot_messages__pb2.EnableImageStreamingRequest.SerializeToString,
149
+ response_deserializer=anki__vector_dot_messaging_dot_messages__pb2.EnableImageStreamingResponse.FromString,
150
+ )
151
+ self.IsImageStreamingEnabled = channel.unary_unary(
152
+ '/Anki.Vector.external_interface.ExternalInterface/IsImageStreamingEnabled',
153
+ request_serializer=anki__vector_dot_messaging_dot_messages__pb2.IsImageStreamingEnabledRequest.SerializeToString,
154
+ response_deserializer=anki__vector_dot_messaging_dot_messages__pb2.IsImageStreamingEnabledResponse.FromString,
155
+ )
156
+ self.CancelActionByIdTag = channel.unary_unary(
157
+ '/Anki.Vector.external_interface.ExternalInterface/CancelActionByIdTag',
158
+ request_serializer=anki__vector_dot_messaging_dot_messages__pb2.CancelActionByIdTagRequest.SerializeToString,
159
+ response_deserializer=anki__vector_dot_messaging_dot_messages__pb2.CancelActionByIdTagResponse.FromString,
160
+ )
161
+ self.CancelBehavior = channel.unary_unary(
162
+ '/Anki.Vector.external_interface.ExternalInterface/CancelBehavior',
163
+ request_serializer=anki__vector_dot_messaging_dot_messages__pb2.CancelBehaviorRequest.SerializeToString,
164
+ response_deserializer=anki__vector_dot_messaging_dot_messages__pb2.CancelBehaviorResponse.FromString,
165
+ )
166
+ self.GoToPose = channel.unary_unary(
167
+ '/Anki.Vector.external_interface.ExternalInterface/GoToPose',
168
+ request_serializer=anki__vector_dot_messaging_dot_messages__pb2.GoToPoseRequest.SerializeToString,
169
+ response_deserializer=anki__vector_dot_messaging_dot_messages__pb2.GoToPoseResponse.FromString,
170
+ )
171
+ self.DockWithCube = channel.unary_unary(
172
+ '/Anki.Vector.external_interface.ExternalInterface/DockWithCube',
173
+ request_serializer=anki__vector_dot_messaging_dot_messages__pb2.DockWithCubeRequest.SerializeToString,
174
+ response_deserializer=anki__vector_dot_messaging_dot_messages__pb2.DockWithCubeResponse.FromString,
175
+ )
176
+ self.DriveOffCharger = channel.unary_unary(
177
+ '/Anki.Vector.external_interface.ExternalInterface/DriveOffCharger',
178
+ request_serializer=anki__vector_dot_messaging_dot_messages__pb2.DriveOffChargerRequest.SerializeToString,
179
+ response_deserializer=anki__vector_dot_messaging_dot_messages__pb2.DriveOffChargerResponse.FromString,
180
+ )
181
+ self.DriveOnCharger = channel.unary_unary(
182
+ '/Anki.Vector.external_interface.ExternalInterface/DriveOnCharger',
183
+ request_serializer=anki__vector_dot_messaging_dot_messages__pb2.DriveOnChargerRequest.SerializeToString,
184
+ response_deserializer=anki__vector_dot_messaging_dot_messages__pb2.DriveOnChargerResponse.FromString,
185
+ )
186
+ self.FindFaces = channel.unary_unary(
187
+ '/Anki.Vector.external_interface.ExternalInterface/FindFaces',
188
+ request_serializer=anki__vector_dot_messaging_dot_messages__pb2.FindFacesRequest.SerializeToString,
189
+ response_deserializer=anki__vector_dot_messaging_dot_messages__pb2.FindFacesResponse.FromString,
190
+ )
191
+ self.LookAroundInPlace = channel.unary_unary(
192
+ '/Anki.Vector.external_interface.ExternalInterface/LookAroundInPlace',
193
+ request_serializer=anki__vector_dot_messaging_dot_messages__pb2.LookAroundInPlaceRequest.SerializeToString,
194
+ response_deserializer=anki__vector_dot_messaging_dot_messages__pb2.LookAroundInPlaceResponse.FromString,
195
+ )
196
+ self.RollBlock = channel.unary_unary(
197
+ '/Anki.Vector.external_interface.ExternalInterface/RollBlock',
198
+ request_serializer=anki__vector_dot_messaging_dot_messages__pb2.RollBlockRequest.SerializeToString,
199
+ response_deserializer=anki__vector_dot_messaging_dot_messages__pb2.RollBlockResponse.FromString,
200
+ )
201
+ self.PhotosInfo = channel.unary_unary(
202
+ '/Anki.Vector.external_interface.ExternalInterface/PhotosInfo',
203
+ request_serializer=anki__vector_dot_messaging_dot_messages__pb2.PhotosInfoRequest.SerializeToString,
204
+ response_deserializer=anki__vector_dot_messaging_dot_messages__pb2.PhotosInfoResponse.FromString,
205
+ )
206
+ self.Photo = channel.unary_unary(
207
+ '/Anki.Vector.external_interface.ExternalInterface/Photo',
208
+ request_serializer=anki__vector_dot_messaging_dot_messages__pb2.PhotoRequest.SerializeToString,
209
+ response_deserializer=anki__vector_dot_messaging_dot_messages__pb2.PhotoResponse.FromString,
210
+ )
211
+ self.Thumbnail = channel.unary_unary(
212
+ '/Anki.Vector.external_interface.ExternalInterface/Thumbnail',
213
+ request_serializer=anki__vector_dot_messaging_dot_messages__pb2.ThumbnailRequest.SerializeToString,
214
+ response_deserializer=anki__vector_dot_messaging_dot_messages__pb2.ThumbnailResponse.FromString,
215
+ )
216
+ self.DeletePhoto = channel.unary_unary(
217
+ '/Anki.Vector.external_interface.ExternalInterface/DeletePhoto',
218
+ request_serializer=anki__vector_dot_messaging_dot_messages__pb2.DeletePhotoRequest.SerializeToString,
219
+ response_deserializer=anki__vector_dot_messaging_dot_messages__pb2.DeletePhotoResponse.FromString,
220
+ )
221
+ self.DriveStraight = channel.unary_unary(
222
+ '/Anki.Vector.external_interface.ExternalInterface/DriveStraight',
223
+ request_serializer=anki__vector_dot_messaging_dot_messages__pb2.DriveStraightRequest.SerializeToString,
224
+ response_deserializer=anki__vector_dot_messaging_dot_messages__pb2.DriveStraightResponse.FromString,
225
+ )
226
+ self.TurnInPlace = channel.unary_unary(
227
+ '/Anki.Vector.external_interface.ExternalInterface/TurnInPlace',
228
+ request_serializer=anki__vector_dot_messaging_dot_messages__pb2.TurnInPlaceRequest.SerializeToString,
229
+ response_deserializer=anki__vector_dot_messaging_dot_messages__pb2.TurnInPlaceResponse.FromString,
230
+ )
231
+ self.SetHeadAngle = channel.unary_unary(
232
+ '/Anki.Vector.external_interface.ExternalInterface/SetHeadAngle',
233
+ request_serializer=anki__vector_dot_messaging_dot_messages__pb2.SetHeadAngleRequest.SerializeToString,
234
+ response_deserializer=anki__vector_dot_messaging_dot_messages__pb2.SetHeadAngleResponse.FromString,
235
+ )
236
+ self.SetLiftHeight = channel.unary_unary(
237
+ '/Anki.Vector.external_interface.ExternalInterface/SetLiftHeight',
238
+ request_serializer=anki__vector_dot_messaging_dot_messages__pb2.SetLiftHeightRequest.SerializeToString,
239
+ response_deserializer=anki__vector_dot_messaging_dot_messages__pb2.SetLiftHeightResponse.FromString,
240
+ )
241
+ self.TurnTowardsFace = channel.unary_unary(
242
+ '/Anki.Vector.external_interface.ExternalInterface/TurnTowardsFace',
243
+ request_serializer=anki__vector_dot_messaging_dot_messages__pb2.TurnTowardsFaceRequest.SerializeToString,
244
+ response_deserializer=anki__vector_dot_messaging_dot_messages__pb2.TurnTowardsFaceResponse.FromString,
245
+ )
246
+ self.GoToObject = channel.unary_unary(
247
+ '/Anki.Vector.external_interface.ExternalInterface/GoToObject',
248
+ request_serializer=anki__vector_dot_messaging_dot_messages__pb2.GoToObjectRequest.SerializeToString,
249
+ response_deserializer=anki__vector_dot_messaging_dot_messages__pb2.GoToObjectResponse.FromString,
250
+ )
251
+ self.RollObject = channel.unary_unary(
252
+ '/Anki.Vector.external_interface.ExternalInterface/RollObject',
253
+ request_serializer=anki__vector_dot_messaging_dot_messages__pb2.RollObjectRequest.SerializeToString,
254
+ response_deserializer=anki__vector_dot_messaging_dot_messages__pb2.RollObjectResponse.FromString,
255
+ )
256
+ self.PopAWheelie = channel.unary_unary(
257
+ '/Anki.Vector.external_interface.ExternalInterface/PopAWheelie',
258
+ request_serializer=anki__vector_dot_messaging_dot_messages__pb2.PopAWheelieRequest.SerializeToString,
259
+ response_deserializer=anki__vector_dot_messaging_dot_messages__pb2.PopAWheelieResponse.FromString,
260
+ )
261
+ self.PickupObject = channel.unary_unary(
262
+ '/Anki.Vector.external_interface.ExternalInterface/PickupObject',
263
+ request_serializer=anki__vector_dot_messaging_dot_messages__pb2.PickupObjectRequest.SerializeToString,
264
+ response_deserializer=anki__vector_dot_messaging_dot_messages__pb2.PickupObjectResponse.FromString,
265
+ )
266
+ self.PlaceObjectOnGroundHere = channel.unary_unary(
267
+ '/Anki.Vector.external_interface.ExternalInterface/PlaceObjectOnGroundHere',
268
+ request_serializer=anki__vector_dot_messaging_dot_messages__pb2.PlaceObjectOnGroundHereRequest.SerializeToString,
269
+ response_deserializer=anki__vector_dot_messaging_dot_messages__pb2.PlaceObjectOnGroundHereResponse.FromString,
270
+ )
271
+ self.SetMasterVolume = channel.unary_unary(
272
+ '/Anki.Vector.external_interface.ExternalInterface/SetMasterVolume',
273
+ request_serializer=anki__vector_dot_messaging_dot_messages__pb2.MasterVolumeRequest.SerializeToString,
274
+ response_deserializer=anki__vector_dot_messaging_dot_messages__pb2.MasterVolumeResponse.FromString,
275
+ )
276
+ self.UserAuthentication = channel.unary_unary(
277
+ '/Anki.Vector.external_interface.ExternalInterface/UserAuthentication',
278
+ request_serializer=anki__vector_dot_messaging_dot_shared__pb2.UserAuthenticationRequest.SerializeToString,
279
+ response_deserializer=anki__vector_dot_messaging_dot_shared__pb2.UserAuthenticationResponse.FromString,
280
+ )
281
+ self.BatteryState = channel.unary_unary(
282
+ '/Anki.Vector.external_interface.ExternalInterface/BatteryState',
283
+ request_serializer=anki__vector_dot_messaging_dot_messages__pb2.BatteryStateRequest.SerializeToString,
284
+ response_deserializer=anki__vector_dot_messaging_dot_messages__pb2.BatteryStateResponse.FromString,
285
+ )
286
+ self.VersionState = channel.unary_unary(
287
+ '/Anki.Vector.external_interface.ExternalInterface/VersionState',
288
+ request_serializer=anki__vector_dot_messaging_dot_messages__pb2.VersionStateRequest.SerializeToString,
289
+ response_deserializer=anki__vector_dot_messaging_dot_messages__pb2.VersionStateResponse.FromString,
290
+ )
291
+ self.SayText = channel.unary_unary(
292
+ '/Anki.Vector.external_interface.ExternalInterface/SayText',
293
+ request_serializer=anki__vector_dot_messaging_dot_messages__pb2.SayTextRequest.SerializeToString,
294
+ response_deserializer=anki__vector_dot_messaging_dot_messages__pb2.SayTextResponse.FromString,
295
+ )
296
+ self.ConnectCube = channel.unary_unary(
297
+ '/Anki.Vector.external_interface.ExternalInterface/ConnectCube',
298
+ request_serializer=anki__vector_dot_messaging_dot_cube__pb2.ConnectCubeRequest.SerializeToString,
299
+ response_deserializer=anki__vector_dot_messaging_dot_cube__pb2.ConnectCubeResponse.FromString,
300
+ )
301
+ self.DisconnectCube = channel.unary_unary(
302
+ '/Anki.Vector.external_interface.ExternalInterface/DisconnectCube',
303
+ request_serializer=anki__vector_dot_messaging_dot_cube__pb2.DisconnectCubeRequest.SerializeToString,
304
+ response_deserializer=anki__vector_dot_messaging_dot_cube__pb2.DisconnectCubeResponse.FromString,
305
+ )
306
+ self.CubesAvailable = channel.unary_unary(
307
+ '/Anki.Vector.external_interface.ExternalInterface/CubesAvailable',
308
+ request_serializer=anki__vector_dot_messaging_dot_cube__pb2.CubesAvailableRequest.SerializeToString,
309
+ response_deserializer=anki__vector_dot_messaging_dot_cube__pb2.CubesAvailableResponse.FromString,
310
+ )
311
+ self.FlashCubeLights = channel.unary_unary(
312
+ '/Anki.Vector.external_interface.ExternalInterface/FlashCubeLights',
313
+ request_serializer=anki__vector_dot_messaging_dot_cube__pb2.FlashCubeLightsRequest.SerializeToString,
314
+ response_deserializer=anki__vector_dot_messaging_dot_cube__pb2.FlashCubeLightsResponse.FromString,
315
+ )
316
+ self.ForgetPreferredCube = channel.unary_unary(
317
+ '/Anki.Vector.external_interface.ExternalInterface/ForgetPreferredCube',
318
+ request_serializer=anki__vector_dot_messaging_dot_cube__pb2.ForgetPreferredCubeRequest.SerializeToString,
319
+ response_deserializer=anki__vector_dot_messaging_dot_cube__pb2.ForgetPreferredCubeResponse.FromString,
320
+ )
321
+ self.SetPreferredCube = channel.unary_unary(
322
+ '/Anki.Vector.external_interface.ExternalInterface/SetPreferredCube',
323
+ request_serializer=anki__vector_dot_messaging_dot_cube__pb2.SetPreferredCubeRequest.SerializeToString,
324
+ response_deserializer=anki__vector_dot_messaging_dot_cube__pb2.SetPreferredCubeResponse.FromString,
325
+ )
326
+ self.DeleteCustomObjects = channel.unary_unary(
327
+ '/Anki.Vector.external_interface.ExternalInterface/DeleteCustomObjects',
328
+ request_serializer=anki__vector_dot_messaging_dot_cube__pb2.DeleteCustomObjectsRequest.SerializeToString,
329
+ response_deserializer=anki__vector_dot_messaging_dot_cube__pb2.DeleteCustomObjectsResponse.FromString,
330
+ )
331
+ self.CreateFixedCustomObject = channel.unary_unary(
332
+ '/Anki.Vector.external_interface.ExternalInterface/CreateFixedCustomObject',
333
+ request_serializer=anki__vector_dot_messaging_dot_cube__pb2.CreateFixedCustomObjectRequest.SerializeToString,
334
+ response_deserializer=anki__vector_dot_messaging_dot_cube__pb2.CreateFixedCustomObjectResponse.FromString,
335
+ )
336
+ self.DefineCustomObject = channel.unary_unary(
337
+ '/Anki.Vector.external_interface.ExternalInterface/DefineCustomObject',
338
+ request_serializer=anki__vector_dot_messaging_dot_cube__pb2.DefineCustomObjectRequest.SerializeToString,
339
+ response_deserializer=anki__vector_dot_messaging_dot_cube__pb2.DefineCustomObjectResponse.FromString,
340
+ )
341
+ self.SetCubeLights = channel.unary_unary(
342
+ '/Anki.Vector.external_interface.ExternalInterface/SetCubeLights',
343
+ request_serializer=anki__vector_dot_messaging_dot_cube__pb2.SetCubeLightsRequest.SerializeToString,
344
+ response_deserializer=anki__vector_dot_messaging_dot_cube__pb2.SetCubeLightsResponse.FromString,
345
+ )
346
+ self.AudioFeed = channel.unary_stream(
347
+ '/Anki.Vector.external_interface.ExternalInterface/AudioFeed',
348
+ request_serializer=anki__vector_dot_messaging_dot_messages__pb2.AudioFeedRequest.SerializeToString,
349
+ response_deserializer=anki__vector_dot_messaging_dot_messages__pb2.AudioFeedResponse.FromString,
350
+ )
351
+ self.CameraFeed = channel.unary_stream(
352
+ '/Anki.Vector.external_interface.ExternalInterface/CameraFeed',
353
+ request_serializer=anki__vector_dot_messaging_dot_messages__pb2.CameraFeedRequest.SerializeToString,
354
+ response_deserializer=anki__vector_dot_messaging_dot_messages__pb2.CameraFeedResponse.FromString,
355
+ )
356
+ self.CaptureSingleImage = channel.unary_unary(
357
+ '/Anki.Vector.external_interface.ExternalInterface/CaptureSingleImage',
358
+ request_serializer=anki__vector_dot_messaging_dot_messages__pb2.CaptureSingleImageRequest.SerializeToString,
359
+ response_deserializer=anki__vector_dot_messaging_dot_messages__pb2.CaptureSingleImageResponse.FromString,
360
+ )
361
+ self.GetCameraConfig = channel.unary_unary(
362
+ '/Anki.Vector.external_interface.ExternalInterface/GetCameraConfig',
363
+ request_serializer=anki__vector_dot_messaging_dot_messages__pb2.CameraConfigRequest.SerializeToString,
364
+ response_deserializer=anki__vector_dot_messaging_dot_messages__pb2.CameraConfigResponse.FromString,
365
+ )
366
+ self.SetEyeColor = channel.unary_unary(
367
+ '/Anki.Vector.external_interface.ExternalInterface/SetEyeColor',
368
+ request_serializer=anki__vector_dot_messaging_dot_messages__pb2.SetEyeColorRequest.SerializeToString,
369
+ response_deserializer=anki__vector_dot_messaging_dot_messages__pb2.SetEyeColorResponse.FromString,
370
+ )
371
+ self.NavMapFeed = channel.unary_stream(
372
+ '/Anki.Vector.external_interface.ExternalInterface/NavMapFeed',
373
+ request_serializer=anki__vector_dot_messaging_dot_nav__map__pb2.NavMapFeedRequest.SerializeToString,
374
+ response_deserializer=anki__vector_dot_messaging_dot_nav__map__pb2.NavMapFeedResponse.FromString,
375
+ )
376
+ self.SetCameraSettings = channel.unary_unary(
377
+ '/Anki.Vector.external_interface.ExternalInterface/SetCameraSettings',
378
+ request_serializer=anki__vector_dot_messaging_dot_messages__pb2.SetCameraSettingsRequest.SerializeToString,
379
+ response_deserializer=anki__vector_dot_messaging_dot_messages__pb2.SetCameraSettingsResponse.FromString,
380
+ )
381
+
382
+
383
+ class ExternalInterfaceServicer(object):
384
+ """The grpc-defined connection between the SDK and Anki's Vector robot.
385
+ """
386
+
387
+ def ProtocolVersion(self, request, context):
388
+ """Checks the supported protocol version by passing in the client version and
389
+ minimum host version and receiving a response to see whether the versions are supported.
390
+ """
391
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
392
+ context.set_details('Method not implemented!')
393
+ raise NotImplementedError('Method not implemented!')
394
+
395
+ def SDKInitialization(self, request, context):
396
+ """SDK-only message to pass version info for device OS, Python version, etc.
397
+ """
398
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
399
+ context.set_details('Method not implemented!')
400
+ raise NotImplementedError('Method not implemented!')
401
+
402
+ def DriveWheels(self, request, context):
403
+ """Sets the speed and acceleration for Vector's wheel motors.
404
+ """
405
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
406
+ context.set_details('Method not implemented!')
407
+ raise NotImplementedError('Method not implemented!')
408
+
409
+ def PlayAnimationTrigger(self, request, context):
410
+ """Requests that Vector play an animation trigger.
411
+ """
412
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
413
+ context.set_details('Method not implemented!')
414
+ raise NotImplementedError('Method not implemented!')
415
+
416
+ def PlayAnimation(self, request, context):
417
+ """Requests that Vector play an animation.
418
+ """
419
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
420
+ context.set_details('Method not implemented!')
421
+ raise NotImplementedError('Method not implemented!')
422
+
423
+ def ListAnimations(self, request, context):
424
+ """Constructs and returns a list of animations.
425
+ """
426
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
427
+ context.set_details('Method not implemented!')
428
+ raise NotImplementedError('Method not implemented!')
429
+
430
+ def ListAnimationTriggers(self, request, context):
431
+ """Constructs and returns a list of animation triggers.
432
+ """
433
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
434
+ context.set_details('Method not implemented!')
435
+ raise NotImplementedError('Method not implemented!')
436
+
437
+ def MoveHead(self, request, context):
438
+ """Moves Vector's head.
439
+ """
440
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
441
+ context.set_details('Method not implemented!')
442
+ raise NotImplementedError('Method not implemented!')
443
+
444
+ def MoveLift(self, request, context):
445
+ """Moves Vector's lift.
446
+ """
447
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
448
+ context.set_details('Method not implemented!')
449
+ raise NotImplementedError('Method not implemented!')
450
+
451
+ def StopAllMotors(self, request, context):
452
+ """Stop all motor commands requested: MoveHead, MoveLift and DriveWheels.
453
+ """
454
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
455
+ context.set_details('Method not implemented!')
456
+ raise NotImplementedError('Method not implemented!')
457
+
458
+ def DisplayFaceImageRGB(self, request, context):
459
+ """Sets screen (Vector's face) to a solid color.
460
+ """
461
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
462
+ context.set_details('Method not implemented!')
463
+ raise NotImplementedError('Method not implemented!')
464
+
465
+ def EventStream(self, request, context):
466
+ """Streaming events endpoint
467
+ """
468
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
469
+ context.set_details('Method not implemented!')
470
+ raise NotImplementedError('Method not implemented!')
471
+
472
+ def ExternalAudioStreamPlayback(self, request_iterator, context):
473
+ """Play audio using Vector's speaker
474
+ """
475
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
476
+ context.set_details('Method not implemented!')
477
+ raise NotImplementedError('Method not implemented!')
478
+
479
+ def BehaviorControl(self, request_iterator, context):
480
+ """Integrate with and acquire control of Vector's AI system.
481
+ """
482
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
483
+ context.set_details('Method not implemented!')
484
+ raise NotImplementedError('Method not implemented!')
485
+
486
+ def CancelFaceEnrollment(self, request, context):
487
+ # missing associated documentation comment in .proto file
488
+ pass
489
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
490
+ context.set_details('Method not implemented!')
491
+ raise NotImplementedError('Method not implemented!')
492
+
493
+ def RequestEnrolledNames(self, request, context):
494
+ """Get a list of names and their IDs.
495
+ """
496
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
497
+ context.set_details('Method not implemented!')
498
+ raise NotImplementedError('Method not implemented!')
499
+
500
+ def UpdateEnrolledFaceByID(self, request, context):
501
+ """Update the name enrolled for a given face.
502
+ """
503
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
504
+ context.set_details('Method not implemented!')
505
+ raise NotImplementedError('Method not implemented!')
506
+
507
+ def EraseEnrolledFaceByID(self, request, context):
508
+ """Erase the enrollment (name) record for the face with this ID.
509
+ """
510
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
511
+ context.set_details('Method not implemented!')
512
+ raise NotImplementedError('Method not implemented!')
513
+
514
+ def EraseAllEnrolledFaces(self, request, context):
515
+ """Erase the enrollment (name) records for all faces.
516
+ """
517
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
518
+ context.set_details('Method not implemented!')
519
+ raise NotImplementedError('Method not implemented!')
520
+
521
+ def SetFaceToEnroll(self, request, context):
522
+ # missing associated documentation comment in .proto file
523
+ pass
524
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
525
+ context.set_details('Method not implemented!')
526
+ raise NotImplementedError('Method not implemented!')
527
+
528
+ def EnrollFace(self, request, context):
529
+ """Enroll a face. Must be used with SetFaceToEnroll
530
+ """
531
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
532
+ context.set_details('Method not implemented!')
533
+ raise NotImplementedError('Method not implemented!')
534
+
535
+ def EnableMarkerDetection(self, request, context):
536
+ # missing associated documentation comment in .proto file
537
+ pass
538
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
539
+ context.set_details('Method not implemented!')
540
+ raise NotImplementedError('Method not implemented!')
541
+
542
+ def EnableFaceDetection(self, request, context):
543
+ # missing associated documentation comment in .proto file
544
+ pass
545
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
546
+ context.set_details('Method not implemented!')
547
+ raise NotImplementedError('Method not implemented!')
548
+
549
+ def EnableMotionDetection(self, request, context):
550
+ # missing associated documentation comment in .proto file
551
+ pass
552
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
553
+ context.set_details('Method not implemented!')
554
+ raise NotImplementedError('Method not implemented!')
555
+
556
+ def EnableMirrorMode(self, request, context):
557
+ # missing associated documentation comment in .proto file
558
+ pass
559
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
560
+ context.set_details('Method not implemented!')
561
+ raise NotImplementedError('Method not implemented!')
562
+
563
+ def EnableImageStreaming(self, request, context):
564
+ # missing associated documentation comment in .proto file
565
+ pass
566
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
567
+ context.set_details('Method not implemented!')
568
+ raise NotImplementedError('Method not implemented!')
569
+
570
+ def IsImageStreamingEnabled(self, request, context):
571
+ # missing associated documentation comment in .proto file
572
+ pass
573
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
574
+ context.set_details('Method not implemented!')
575
+ raise NotImplementedError('Method not implemented!')
576
+
577
+ def CancelActionByIdTag(self, request, context):
578
+ """Cancel action by id
579
+ """
580
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
581
+ context.set_details('Method not implemented!')
582
+ raise NotImplementedError('Method not implemented!')
583
+
584
+ def CancelBehavior(self, request, context):
585
+ """Cancel running SDK Behavior
586
+ """
587
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
588
+ context.set_details('Method not implemented!')
589
+ raise NotImplementedError('Method not implemented!')
590
+
591
+ def GoToPose(self, request, context):
592
+ """Tells Vector to drive to the specified pose and orientation.
593
+ """
594
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
595
+ context.set_details('Method not implemented!')
596
+ raise NotImplementedError('Method not implemented!')
597
+
598
+ def DockWithCube(self, request, context):
599
+ """Tells Vector to dock with a light cube with a given approach angle and distance.
600
+ """
601
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
602
+ context.set_details('Method not implemented!')
603
+ raise NotImplementedError('Method not implemented!')
604
+
605
+ def DriveOffCharger(self, request, context):
606
+ """Drive Vector off the charger.
607
+ """
608
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
609
+ context.set_details('Method not implemented!')
610
+ raise NotImplementedError('Method not implemented!')
611
+
612
+ def DriveOnCharger(self, request, context):
613
+ """Drive Vector onto the charger.
614
+ """
615
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
616
+ context.set_details('Method not implemented!')
617
+ raise NotImplementedError('Method not implemented!')
618
+
619
+ def FindFaces(self, request, context):
620
+ """Make Vector look for faces by turning and angling his head
621
+ """
622
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
623
+ context.set_details('Method not implemented!')
624
+ raise NotImplementedError('Method not implemented!')
625
+
626
+ def LookAroundInPlace(self, request, context):
627
+ """Make Vector look around in place by turning and moving his head
628
+ """
629
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
630
+ context.set_details('Method not implemented!')
631
+ raise NotImplementedError('Method not implemented!')
632
+
633
+ def RollBlock(self, request, context):
634
+ """Make Vector roll his block, regardless of relative position and orientation
635
+ """
636
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
637
+ context.set_details('Method not implemented!')
638
+ raise NotImplementedError('Method not implemented!')
639
+
640
+ def PhotosInfo(self, request, context):
641
+ """Get the photos info.
642
+ """
643
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
644
+ context.set_details('Method not implemented!')
645
+ raise NotImplementedError('Method not implemented!')
646
+
647
+ def Photo(self, request, context):
648
+ """Get a photo by ID.
649
+ """
650
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
651
+ context.set_details('Method not implemented!')
652
+ raise NotImplementedError('Method not implemented!')
653
+
654
+ def Thumbnail(self, request, context):
655
+ """Get a thumbnail by ID.
656
+ """
657
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
658
+ context.set_details('Method not implemented!')
659
+ raise NotImplementedError('Method not implemented!')
660
+
661
+ def DeletePhoto(self, request, context):
662
+ """Delete a photo by ID.
663
+ """
664
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
665
+ context.set_details('Method not implemented!')
666
+ raise NotImplementedError('Method not implemented!')
667
+
668
+ def DriveStraight(self, request, context):
669
+ """Tells Vector to drive in a straight line.
670
+ """
671
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
672
+ context.set_details('Method not implemented!')
673
+ raise NotImplementedError('Method not implemented!')
674
+
675
+ def TurnInPlace(self, request, context):
676
+ """Turn the robot around its current position.
677
+ """
678
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
679
+ context.set_details('Method not implemented!')
680
+ raise NotImplementedError('Method not implemented!')
681
+
682
+ def SetHeadAngle(self, request, context):
683
+ """Tell Vector's head to move to a given angle.
684
+ """
685
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
686
+ context.set_details('Method not implemented!')
687
+ raise NotImplementedError('Method not implemented!')
688
+
689
+ def SetLiftHeight(self, request, context):
690
+ """Tell Vector's lift to move to a given height.
691
+ """
692
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
693
+ context.set_details('Method not implemented!')
694
+ raise NotImplementedError('Method not implemented!')
695
+
696
+ def TurnTowardsFace(self, request, context):
697
+ """Tell Vector to turn towards this face.
698
+ """
699
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
700
+ context.set_details('Method not implemented!')
701
+ raise NotImplementedError('Method not implemented!')
702
+
703
+ def GoToObject(self, request, context):
704
+ """Tell Vector to drive to the specified object.
705
+ """
706
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
707
+ context.set_details('Method not implemented!')
708
+ raise NotImplementedError('Method not implemented!')
709
+
710
+ def RollObject(self, request, context):
711
+ """Tell Vector to roll his cube.
712
+ """
713
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
714
+ context.set_details('Method not implemented!')
715
+ raise NotImplementedError('Method not implemented!')
716
+
717
+ def PopAWheelie(self, request, context):
718
+ """Tell Vector to "pop a wheelie" using his cube.
719
+ """
720
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
721
+ context.set_details('Method not implemented!')
722
+ raise NotImplementedError('Method not implemented!')
723
+
724
+ def PickupObject(self, request, context):
725
+ """Instruct the robot to pick up the supplied object.
726
+ """
727
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
728
+ context.set_details('Method not implemented!')
729
+ raise NotImplementedError('Method not implemented!')
730
+
731
+ def PlaceObjectOnGroundHere(self, request, context):
732
+ """Ask Vector to place the object he is carrying on the ground at the current location.
733
+ """
734
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
735
+ context.set_details('Method not implemented!')
736
+ raise NotImplementedError('Method not implemented!')
737
+
738
+ def SetMasterVolume(self, request, context):
739
+ """Set the Robot's master volume
740
+ """
741
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
742
+ context.set_details('Method not implemented!')
743
+ raise NotImplementedError('Method not implemented!')
744
+
745
+ def UserAuthentication(self, request, context):
746
+ # missing associated documentation comment in .proto file
747
+ pass
748
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
749
+ context.set_details('Method not implemented!')
750
+ raise NotImplementedError('Method not implemented!')
751
+
752
+ def BatteryState(self, request, context):
753
+ """Check the current state of the battery.
754
+ """
755
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
756
+ context.set_details('Method not implemented!')
757
+ raise NotImplementedError('Method not implemented!')
758
+
759
+ def VersionState(self, request, context):
760
+ """Get the versioning information for Vector.
761
+ """
762
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
763
+ context.set_details('Method not implemented!')
764
+ raise NotImplementedError('Method not implemented!')
765
+
766
+ def SayText(self, request, context):
767
+ """Make Vector speak text.
768
+ """
769
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
770
+ context.set_details('Method not implemented!')
771
+ raise NotImplementedError('Method not implemented!')
772
+
773
+ def ConnectCube(self, request, context):
774
+ """Attempt to connect to a cube. If a cube is currently connected,
775
+ this will do nothing.
776
+ """
777
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
778
+ context.set_details('Method not implemented!')
779
+ raise NotImplementedError('Method not implemented!')
780
+
781
+ def DisconnectCube(self, request, context):
782
+ """Requests a disconnection from the currently connected cube.
783
+ """
784
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
785
+ context.set_details('Method not implemented!')
786
+ raise NotImplementedError('Method not implemented!')
787
+
788
+ def CubesAvailable(self, request, context):
789
+ # missing associated documentation comment in .proto file
790
+ pass
791
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
792
+ context.set_details('Method not implemented!')
793
+ raise NotImplementedError('Method not implemented!')
794
+
795
+ def FlashCubeLights(self, request, context):
796
+ """Signal a connected cube to flash its lights using the default cube
797
+ flash animation.
798
+ """
799
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
800
+ context.set_details('Method not implemented!')
801
+ raise NotImplementedError('Method not implemented!')
802
+
803
+ def ForgetPreferredCube(self, request, context):
804
+ """Forget the robot's preferred cube. This will cause the robot to
805
+ connect to the cube with the highest RSSI (signal strength) next
806
+ time a connection is requested. Saves this preference to disk.
807
+ The next cube that the robot connects to will become its
808
+ preferred cube.
809
+ """
810
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
811
+ context.set_details('Method not implemented!')
812
+ raise NotImplementedError('Method not implemented!')
813
+
814
+ def SetPreferredCube(self, request, context):
815
+ """Set the robot's preferred cube and save it to disk. The robot
816
+ will always attempt to connect to this cube if it is available.
817
+ This is only used in simulation for now.
818
+ """
819
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
820
+ context.set_details('Method not implemented!')
821
+ raise NotImplementedError('Method not implemented!')
822
+
823
+ def DeleteCustomObjects(self, request, context):
824
+ """Causes the robot to forget about custom objects it currently knows about.
825
+ """
826
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
827
+ context.set_details('Method not implemented!')
828
+ raise NotImplementedError('Method not implemented!')
829
+
830
+ def CreateFixedCustomObject(self, request, context):
831
+ """Creates a permanent custom object instance in the robot's world, with no connection to the vision system.
832
+ """
833
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
834
+ context.set_details('Method not implemented!')
835
+ raise NotImplementedError('Method not implemented!')
836
+
837
+ def DefineCustomObject(self, request, context):
838
+ """Creates a custom object with distinct custom marker(s).
839
+ """
840
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
841
+ context.set_details('Method not implemented!')
842
+ raise NotImplementedError('Method not implemented!')
843
+
844
+ def SetCubeLights(self, request, context):
845
+ """Set each of the lights on the currently connected cube based on two
846
+ rgb values each and timing data for how to transition between them.
847
+ """
848
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
849
+ context.set_details('Method not implemented!')
850
+ raise NotImplementedError('Method not implemented!')
851
+
852
+ def AudioFeed(self, request, context):
853
+ """Request an audio feed from the robot.
854
+ """
855
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
856
+ context.set_details('Method not implemented!')
857
+ raise NotImplementedError('Method not implemented!')
858
+
859
+ def CameraFeed(self, request, context):
860
+ """Request a camera feed from the robot.
861
+ """
862
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
863
+ context.set_details('Method not implemented!')
864
+ raise NotImplementedError('Method not implemented!')
865
+
866
+ def CaptureSingleImage(self, request, context):
867
+ """Request a single image to be captured and sent from the robot.
868
+ """
869
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
870
+ context.set_details('Method not implemented!')
871
+ raise NotImplementedError('Method not implemented!')
872
+
873
+ def GetCameraConfig(self, request, context):
874
+ """Get Vector's camera configuration.
875
+ """
876
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
877
+ context.set_details('Method not implemented!')
878
+ raise NotImplementedError('Method not implemented!')
879
+
880
+ def SetEyeColor(self, request, context):
881
+ """Set Vector's eye color.
882
+ """
883
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
884
+ context.set_details('Method not implemented!')
885
+ raise NotImplementedError('Method not implemented!')
886
+
887
+ def NavMapFeed(self, request, context):
888
+ """Stream navigation map data.
889
+ """
890
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
891
+ context.set_details('Method not implemented!')
892
+ raise NotImplementedError('Method not implemented!')
893
+
894
+ def SetCameraSettings(self, request, context):
895
+ """Set Vector's camera settings
896
+ """
897
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
898
+ context.set_details('Method not implemented!')
899
+ raise NotImplementedError('Method not implemented!')
900
+
901
+
902
+ def add_ExternalInterfaceServicer_to_server(servicer, server):
903
+ rpc_method_handlers = {
904
+ 'ProtocolVersion': grpc.unary_unary_rpc_method_handler(
905
+ servicer.ProtocolVersion,
906
+ request_deserializer=anki__vector_dot_messaging_dot_shared__pb2.ProtocolVersionRequest.FromString,
907
+ response_serializer=anki__vector_dot_messaging_dot_shared__pb2.ProtocolVersionResponse.SerializeToString,
908
+ ),
909
+ 'SDKInitialization': grpc.unary_unary_rpc_method_handler(
910
+ servicer.SDKInitialization,
911
+ request_deserializer=anki__vector_dot_messaging_dot_messages__pb2.SDKInitializationRequest.FromString,
912
+ response_serializer=anki__vector_dot_messaging_dot_messages__pb2.SDKInitializationResponse.SerializeToString,
913
+ ),
914
+ 'DriveWheels': grpc.unary_unary_rpc_method_handler(
915
+ servicer.DriveWheels,
916
+ request_deserializer=anki__vector_dot_messaging_dot_messages__pb2.DriveWheelsRequest.FromString,
917
+ response_serializer=anki__vector_dot_messaging_dot_messages__pb2.DriveWheelsResponse.SerializeToString,
918
+ ),
919
+ 'PlayAnimationTrigger': grpc.unary_unary_rpc_method_handler(
920
+ servicer.PlayAnimationTrigger,
921
+ request_deserializer=anki__vector_dot_messaging_dot_messages__pb2.PlayAnimationTriggerRequest.FromString,
922
+ response_serializer=anki__vector_dot_messaging_dot_messages__pb2.PlayAnimationResponse.SerializeToString,
923
+ ),
924
+ 'PlayAnimation': grpc.unary_unary_rpc_method_handler(
925
+ servicer.PlayAnimation,
926
+ request_deserializer=anki__vector_dot_messaging_dot_messages__pb2.PlayAnimationRequest.FromString,
927
+ response_serializer=anki__vector_dot_messaging_dot_messages__pb2.PlayAnimationResponse.SerializeToString,
928
+ ),
929
+ 'ListAnimations': grpc.unary_unary_rpc_method_handler(
930
+ servicer.ListAnimations,
931
+ request_deserializer=anki__vector_dot_messaging_dot_messages__pb2.ListAnimationsRequest.FromString,
932
+ response_serializer=anki__vector_dot_messaging_dot_messages__pb2.ListAnimationsResponse.SerializeToString,
933
+ ),
934
+ 'ListAnimationTriggers': grpc.unary_unary_rpc_method_handler(
935
+ servicer.ListAnimationTriggers,
936
+ request_deserializer=anki__vector_dot_messaging_dot_messages__pb2.ListAnimationTriggersRequest.FromString,
937
+ response_serializer=anki__vector_dot_messaging_dot_messages__pb2.ListAnimationTriggersResponse.SerializeToString,
938
+ ),
939
+ 'MoveHead': grpc.unary_unary_rpc_method_handler(
940
+ servicer.MoveHead,
941
+ request_deserializer=anki__vector_dot_messaging_dot_messages__pb2.MoveHeadRequest.FromString,
942
+ response_serializer=anki__vector_dot_messaging_dot_messages__pb2.MoveHeadResponse.SerializeToString,
943
+ ),
944
+ 'MoveLift': grpc.unary_unary_rpc_method_handler(
945
+ servicer.MoveLift,
946
+ request_deserializer=anki__vector_dot_messaging_dot_messages__pb2.MoveLiftRequest.FromString,
947
+ response_serializer=anki__vector_dot_messaging_dot_messages__pb2.MoveLiftResponse.SerializeToString,
948
+ ),
949
+ 'StopAllMotors': grpc.unary_unary_rpc_method_handler(
950
+ servicer.StopAllMotors,
951
+ request_deserializer=anki__vector_dot_messaging_dot_messages__pb2.StopAllMotorsRequest.FromString,
952
+ response_serializer=anki__vector_dot_messaging_dot_messages__pb2.StopAllMotorsResponse.SerializeToString,
953
+ ),
954
+ 'DisplayFaceImageRGB': grpc.unary_unary_rpc_method_handler(
955
+ servicer.DisplayFaceImageRGB,
956
+ request_deserializer=anki__vector_dot_messaging_dot_messages__pb2.DisplayFaceImageRGBRequest.FromString,
957
+ response_serializer=anki__vector_dot_messaging_dot_messages__pb2.DisplayFaceImageRGBResponse.SerializeToString,
958
+ ),
959
+ 'EventStream': grpc.unary_stream_rpc_method_handler(
960
+ servicer.EventStream,
961
+ request_deserializer=anki__vector_dot_messaging_dot_shared__pb2.EventRequest.FromString,
962
+ response_serializer=anki__vector_dot_messaging_dot_shared__pb2.EventResponse.SerializeToString,
963
+ ),
964
+ 'ExternalAudioStreamPlayback': grpc.stream_stream_rpc_method_handler(
965
+ servicer.ExternalAudioStreamPlayback,
966
+ request_deserializer=anki__vector_dot_messaging_dot_messages__pb2.ExternalAudioStreamRequest.FromString,
967
+ response_serializer=anki__vector_dot_messaging_dot_messages__pb2.ExternalAudioStreamResponse.SerializeToString,
968
+ ),
969
+ 'BehaviorControl': grpc.stream_stream_rpc_method_handler(
970
+ servicer.BehaviorControl,
971
+ request_deserializer=anki__vector_dot_messaging_dot_behavior__pb2.BehaviorControlRequest.FromString,
972
+ response_serializer=anki__vector_dot_messaging_dot_behavior__pb2.BehaviorControlResponse.SerializeToString,
973
+ ),
974
+ 'CancelFaceEnrollment': grpc.unary_unary_rpc_method_handler(
975
+ servicer.CancelFaceEnrollment,
976
+ request_deserializer=anki__vector_dot_messaging_dot_messages__pb2.CancelFaceEnrollmentRequest.FromString,
977
+ response_serializer=anki__vector_dot_messaging_dot_messages__pb2.CancelFaceEnrollmentResponse.SerializeToString,
978
+ ),
979
+ 'RequestEnrolledNames': grpc.unary_unary_rpc_method_handler(
980
+ servicer.RequestEnrolledNames,
981
+ request_deserializer=anki__vector_dot_messaging_dot_messages__pb2.RequestEnrolledNamesRequest.FromString,
982
+ response_serializer=anki__vector_dot_messaging_dot_messages__pb2.RequestEnrolledNamesResponse.SerializeToString,
983
+ ),
984
+ 'UpdateEnrolledFaceByID': grpc.unary_unary_rpc_method_handler(
985
+ servicer.UpdateEnrolledFaceByID,
986
+ request_deserializer=anki__vector_dot_messaging_dot_messages__pb2.UpdateEnrolledFaceByIDRequest.FromString,
987
+ response_serializer=anki__vector_dot_messaging_dot_messages__pb2.UpdateEnrolledFaceByIDResponse.SerializeToString,
988
+ ),
989
+ 'EraseEnrolledFaceByID': grpc.unary_unary_rpc_method_handler(
990
+ servicer.EraseEnrolledFaceByID,
991
+ request_deserializer=anki__vector_dot_messaging_dot_messages__pb2.EraseEnrolledFaceByIDRequest.FromString,
992
+ response_serializer=anki__vector_dot_messaging_dot_messages__pb2.EraseEnrolledFaceByIDResponse.SerializeToString,
993
+ ),
994
+ 'EraseAllEnrolledFaces': grpc.unary_unary_rpc_method_handler(
995
+ servicer.EraseAllEnrolledFaces,
996
+ request_deserializer=anki__vector_dot_messaging_dot_messages__pb2.EraseAllEnrolledFacesRequest.FromString,
997
+ response_serializer=anki__vector_dot_messaging_dot_messages__pb2.EraseAllEnrolledFacesResponse.SerializeToString,
998
+ ),
999
+ 'SetFaceToEnroll': grpc.unary_unary_rpc_method_handler(
1000
+ servicer.SetFaceToEnroll,
1001
+ request_deserializer=anki__vector_dot_messaging_dot_messages__pb2.SetFaceToEnrollRequest.FromString,
1002
+ response_serializer=anki__vector_dot_messaging_dot_messages__pb2.SetFaceToEnrollResponse.SerializeToString,
1003
+ ),
1004
+ 'EnrollFace': grpc.unary_unary_rpc_method_handler(
1005
+ servicer.EnrollFace,
1006
+ request_deserializer=anki__vector_dot_messaging_dot_messages__pb2.EnrollFaceRequest.FromString,
1007
+ response_serializer=anki__vector_dot_messaging_dot_messages__pb2.EnrollFaceResponse.SerializeToString,
1008
+ ),
1009
+ 'EnableMarkerDetection': grpc.unary_unary_rpc_method_handler(
1010
+ servicer.EnableMarkerDetection,
1011
+ request_deserializer=anki__vector_dot_messaging_dot_messages__pb2.EnableMarkerDetectionRequest.FromString,
1012
+ response_serializer=anki__vector_dot_messaging_dot_messages__pb2.EnableMarkerDetectionResponse.SerializeToString,
1013
+ ),
1014
+ 'EnableFaceDetection': grpc.unary_unary_rpc_method_handler(
1015
+ servicer.EnableFaceDetection,
1016
+ request_deserializer=anki__vector_dot_messaging_dot_messages__pb2.EnableFaceDetectionRequest.FromString,
1017
+ response_serializer=anki__vector_dot_messaging_dot_messages__pb2.EnableFaceDetectionResponse.SerializeToString,
1018
+ ),
1019
+ 'EnableMotionDetection': grpc.unary_unary_rpc_method_handler(
1020
+ servicer.EnableMotionDetection,
1021
+ request_deserializer=anki__vector_dot_messaging_dot_messages__pb2.EnableMotionDetectionRequest.FromString,
1022
+ response_serializer=anki__vector_dot_messaging_dot_messages__pb2.EnableMotionDetectionResponse.SerializeToString,
1023
+ ),
1024
+ 'EnableMirrorMode': grpc.unary_unary_rpc_method_handler(
1025
+ servicer.EnableMirrorMode,
1026
+ request_deserializer=anki__vector_dot_messaging_dot_messages__pb2.EnableMirrorModeRequest.FromString,
1027
+ response_serializer=anki__vector_dot_messaging_dot_messages__pb2.EnableMirrorModeResponse.SerializeToString,
1028
+ ),
1029
+ 'EnableImageStreaming': grpc.unary_unary_rpc_method_handler(
1030
+ servicer.EnableImageStreaming,
1031
+ request_deserializer=anki__vector_dot_messaging_dot_messages__pb2.EnableImageStreamingRequest.FromString,
1032
+ response_serializer=anki__vector_dot_messaging_dot_messages__pb2.EnableImageStreamingResponse.SerializeToString,
1033
+ ),
1034
+ 'IsImageStreamingEnabled': grpc.unary_unary_rpc_method_handler(
1035
+ servicer.IsImageStreamingEnabled,
1036
+ request_deserializer=anki__vector_dot_messaging_dot_messages__pb2.IsImageStreamingEnabledRequest.FromString,
1037
+ response_serializer=anki__vector_dot_messaging_dot_messages__pb2.IsImageStreamingEnabledResponse.SerializeToString,
1038
+ ),
1039
+ 'CancelActionByIdTag': grpc.unary_unary_rpc_method_handler(
1040
+ servicer.CancelActionByIdTag,
1041
+ request_deserializer=anki__vector_dot_messaging_dot_messages__pb2.CancelActionByIdTagRequest.FromString,
1042
+ response_serializer=anki__vector_dot_messaging_dot_messages__pb2.CancelActionByIdTagResponse.SerializeToString,
1043
+ ),
1044
+ 'CancelBehavior': grpc.unary_unary_rpc_method_handler(
1045
+ servicer.CancelBehavior,
1046
+ request_deserializer=anki__vector_dot_messaging_dot_messages__pb2.CancelBehaviorRequest.FromString,
1047
+ response_serializer=anki__vector_dot_messaging_dot_messages__pb2.CancelBehaviorResponse.SerializeToString,
1048
+ ),
1049
+ 'GoToPose': grpc.unary_unary_rpc_method_handler(
1050
+ servicer.GoToPose,
1051
+ request_deserializer=anki__vector_dot_messaging_dot_messages__pb2.GoToPoseRequest.FromString,
1052
+ response_serializer=anki__vector_dot_messaging_dot_messages__pb2.GoToPoseResponse.SerializeToString,
1053
+ ),
1054
+ 'DockWithCube': grpc.unary_unary_rpc_method_handler(
1055
+ servicer.DockWithCube,
1056
+ request_deserializer=anki__vector_dot_messaging_dot_messages__pb2.DockWithCubeRequest.FromString,
1057
+ response_serializer=anki__vector_dot_messaging_dot_messages__pb2.DockWithCubeResponse.SerializeToString,
1058
+ ),
1059
+ 'DriveOffCharger': grpc.unary_unary_rpc_method_handler(
1060
+ servicer.DriveOffCharger,
1061
+ request_deserializer=anki__vector_dot_messaging_dot_messages__pb2.DriveOffChargerRequest.FromString,
1062
+ response_serializer=anki__vector_dot_messaging_dot_messages__pb2.DriveOffChargerResponse.SerializeToString,
1063
+ ),
1064
+ 'DriveOnCharger': grpc.unary_unary_rpc_method_handler(
1065
+ servicer.DriveOnCharger,
1066
+ request_deserializer=anki__vector_dot_messaging_dot_messages__pb2.DriveOnChargerRequest.FromString,
1067
+ response_serializer=anki__vector_dot_messaging_dot_messages__pb2.DriveOnChargerResponse.SerializeToString,
1068
+ ),
1069
+ 'FindFaces': grpc.unary_unary_rpc_method_handler(
1070
+ servicer.FindFaces,
1071
+ request_deserializer=anki__vector_dot_messaging_dot_messages__pb2.FindFacesRequest.FromString,
1072
+ response_serializer=anki__vector_dot_messaging_dot_messages__pb2.FindFacesResponse.SerializeToString,
1073
+ ),
1074
+ 'LookAroundInPlace': grpc.unary_unary_rpc_method_handler(
1075
+ servicer.LookAroundInPlace,
1076
+ request_deserializer=anki__vector_dot_messaging_dot_messages__pb2.LookAroundInPlaceRequest.FromString,
1077
+ response_serializer=anki__vector_dot_messaging_dot_messages__pb2.LookAroundInPlaceResponse.SerializeToString,
1078
+ ),
1079
+ 'RollBlock': grpc.unary_unary_rpc_method_handler(
1080
+ servicer.RollBlock,
1081
+ request_deserializer=anki__vector_dot_messaging_dot_messages__pb2.RollBlockRequest.FromString,
1082
+ response_serializer=anki__vector_dot_messaging_dot_messages__pb2.RollBlockResponse.SerializeToString,
1083
+ ),
1084
+ 'PhotosInfo': grpc.unary_unary_rpc_method_handler(
1085
+ servicer.PhotosInfo,
1086
+ request_deserializer=anki__vector_dot_messaging_dot_messages__pb2.PhotosInfoRequest.FromString,
1087
+ response_serializer=anki__vector_dot_messaging_dot_messages__pb2.PhotosInfoResponse.SerializeToString,
1088
+ ),
1089
+ 'Photo': grpc.unary_unary_rpc_method_handler(
1090
+ servicer.Photo,
1091
+ request_deserializer=anki__vector_dot_messaging_dot_messages__pb2.PhotoRequest.FromString,
1092
+ response_serializer=anki__vector_dot_messaging_dot_messages__pb2.PhotoResponse.SerializeToString,
1093
+ ),
1094
+ 'Thumbnail': grpc.unary_unary_rpc_method_handler(
1095
+ servicer.Thumbnail,
1096
+ request_deserializer=anki__vector_dot_messaging_dot_messages__pb2.ThumbnailRequest.FromString,
1097
+ response_serializer=anki__vector_dot_messaging_dot_messages__pb2.ThumbnailResponse.SerializeToString,
1098
+ ),
1099
+ 'DeletePhoto': grpc.unary_unary_rpc_method_handler(
1100
+ servicer.DeletePhoto,
1101
+ request_deserializer=anki__vector_dot_messaging_dot_messages__pb2.DeletePhotoRequest.FromString,
1102
+ response_serializer=anki__vector_dot_messaging_dot_messages__pb2.DeletePhotoResponse.SerializeToString,
1103
+ ),
1104
+ 'DriveStraight': grpc.unary_unary_rpc_method_handler(
1105
+ servicer.DriveStraight,
1106
+ request_deserializer=anki__vector_dot_messaging_dot_messages__pb2.DriveStraightRequest.FromString,
1107
+ response_serializer=anki__vector_dot_messaging_dot_messages__pb2.DriveStraightResponse.SerializeToString,
1108
+ ),
1109
+ 'TurnInPlace': grpc.unary_unary_rpc_method_handler(
1110
+ servicer.TurnInPlace,
1111
+ request_deserializer=anki__vector_dot_messaging_dot_messages__pb2.TurnInPlaceRequest.FromString,
1112
+ response_serializer=anki__vector_dot_messaging_dot_messages__pb2.TurnInPlaceResponse.SerializeToString,
1113
+ ),
1114
+ 'SetHeadAngle': grpc.unary_unary_rpc_method_handler(
1115
+ servicer.SetHeadAngle,
1116
+ request_deserializer=anki__vector_dot_messaging_dot_messages__pb2.SetHeadAngleRequest.FromString,
1117
+ response_serializer=anki__vector_dot_messaging_dot_messages__pb2.SetHeadAngleResponse.SerializeToString,
1118
+ ),
1119
+ 'SetLiftHeight': grpc.unary_unary_rpc_method_handler(
1120
+ servicer.SetLiftHeight,
1121
+ request_deserializer=anki__vector_dot_messaging_dot_messages__pb2.SetLiftHeightRequest.FromString,
1122
+ response_serializer=anki__vector_dot_messaging_dot_messages__pb2.SetLiftHeightResponse.SerializeToString,
1123
+ ),
1124
+ 'TurnTowardsFace': grpc.unary_unary_rpc_method_handler(
1125
+ servicer.TurnTowardsFace,
1126
+ request_deserializer=anki__vector_dot_messaging_dot_messages__pb2.TurnTowardsFaceRequest.FromString,
1127
+ response_serializer=anki__vector_dot_messaging_dot_messages__pb2.TurnTowardsFaceResponse.SerializeToString,
1128
+ ),
1129
+ 'GoToObject': grpc.unary_unary_rpc_method_handler(
1130
+ servicer.GoToObject,
1131
+ request_deserializer=anki__vector_dot_messaging_dot_messages__pb2.GoToObjectRequest.FromString,
1132
+ response_serializer=anki__vector_dot_messaging_dot_messages__pb2.GoToObjectResponse.SerializeToString,
1133
+ ),
1134
+ 'RollObject': grpc.unary_unary_rpc_method_handler(
1135
+ servicer.RollObject,
1136
+ request_deserializer=anki__vector_dot_messaging_dot_messages__pb2.RollObjectRequest.FromString,
1137
+ response_serializer=anki__vector_dot_messaging_dot_messages__pb2.RollObjectResponse.SerializeToString,
1138
+ ),
1139
+ 'PopAWheelie': grpc.unary_unary_rpc_method_handler(
1140
+ servicer.PopAWheelie,
1141
+ request_deserializer=anki__vector_dot_messaging_dot_messages__pb2.PopAWheelieRequest.FromString,
1142
+ response_serializer=anki__vector_dot_messaging_dot_messages__pb2.PopAWheelieResponse.SerializeToString,
1143
+ ),
1144
+ 'PickupObject': grpc.unary_unary_rpc_method_handler(
1145
+ servicer.PickupObject,
1146
+ request_deserializer=anki__vector_dot_messaging_dot_messages__pb2.PickupObjectRequest.FromString,
1147
+ response_serializer=anki__vector_dot_messaging_dot_messages__pb2.PickupObjectResponse.SerializeToString,
1148
+ ),
1149
+ 'PlaceObjectOnGroundHere': grpc.unary_unary_rpc_method_handler(
1150
+ servicer.PlaceObjectOnGroundHere,
1151
+ request_deserializer=anki__vector_dot_messaging_dot_messages__pb2.PlaceObjectOnGroundHereRequest.FromString,
1152
+ response_serializer=anki__vector_dot_messaging_dot_messages__pb2.PlaceObjectOnGroundHereResponse.SerializeToString,
1153
+ ),
1154
+ 'SetMasterVolume': grpc.unary_unary_rpc_method_handler(
1155
+ servicer.SetMasterVolume,
1156
+ request_deserializer=anki__vector_dot_messaging_dot_messages__pb2.MasterVolumeRequest.FromString,
1157
+ response_serializer=anki__vector_dot_messaging_dot_messages__pb2.MasterVolumeResponse.SerializeToString,
1158
+ ),
1159
+ 'UserAuthentication': grpc.unary_unary_rpc_method_handler(
1160
+ servicer.UserAuthentication,
1161
+ request_deserializer=anki__vector_dot_messaging_dot_shared__pb2.UserAuthenticationRequest.FromString,
1162
+ response_serializer=anki__vector_dot_messaging_dot_shared__pb2.UserAuthenticationResponse.SerializeToString,
1163
+ ),
1164
+ 'BatteryState': grpc.unary_unary_rpc_method_handler(
1165
+ servicer.BatteryState,
1166
+ request_deserializer=anki__vector_dot_messaging_dot_messages__pb2.BatteryStateRequest.FromString,
1167
+ response_serializer=anki__vector_dot_messaging_dot_messages__pb2.BatteryStateResponse.SerializeToString,
1168
+ ),
1169
+ 'VersionState': grpc.unary_unary_rpc_method_handler(
1170
+ servicer.VersionState,
1171
+ request_deserializer=anki__vector_dot_messaging_dot_messages__pb2.VersionStateRequest.FromString,
1172
+ response_serializer=anki__vector_dot_messaging_dot_messages__pb2.VersionStateResponse.SerializeToString,
1173
+ ),
1174
+ 'SayText': grpc.unary_unary_rpc_method_handler(
1175
+ servicer.SayText,
1176
+ request_deserializer=anki__vector_dot_messaging_dot_messages__pb2.SayTextRequest.FromString,
1177
+ response_serializer=anki__vector_dot_messaging_dot_messages__pb2.SayTextResponse.SerializeToString,
1178
+ ),
1179
+ 'ConnectCube': grpc.unary_unary_rpc_method_handler(
1180
+ servicer.ConnectCube,
1181
+ request_deserializer=anki__vector_dot_messaging_dot_cube__pb2.ConnectCubeRequest.FromString,
1182
+ response_serializer=anki__vector_dot_messaging_dot_cube__pb2.ConnectCubeResponse.SerializeToString,
1183
+ ),
1184
+ 'DisconnectCube': grpc.unary_unary_rpc_method_handler(
1185
+ servicer.DisconnectCube,
1186
+ request_deserializer=anki__vector_dot_messaging_dot_cube__pb2.DisconnectCubeRequest.FromString,
1187
+ response_serializer=anki__vector_dot_messaging_dot_cube__pb2.DisconnectCubeResponse.SerializeToString,
1188
+ ),
1189
+ 'CubesAvailable': grpc.unary_unary_rpc_method_handler(
1190
+ servicer.CubesAvailable,
1191
+ request_deserializer=anki__vector_dot_messaging_dot_cube__pb2.CubesAvailableRequest.FromString,
1192
+ response_serializer=anki__vector_dot_messaging_dot_cube__pb2.CubesAvailableResponse.SerializeToString,
1193
+ ),
1194
+ 'FlashCubeLights': grpc.unary_unary_rpc_method_handler(
1195
+ servicer.FlashCubeLights,
1196
+ request_deserializer=anki__vector_dot_messaging_dot_cube__pb2.FlashCubeLightsRequest.FromString,
1197
+ response_serializer=anki__vector_dot_messaging_dot_cube__pb2.FlashCubeLightsResponse.SerializeToString,
1198
+ ),
1199
+ 'ForgetPreferredCube': grpc.unary_unary_rpc_method_handler(
1200
+ servicer.ForgetPreferredCube,
1201
+ request_deserializer=anki__vector_dot_messaging_dot_cube__pb2.ForgetPreferredCubeRequest.FromString,
1202
+ response_serializer=anki__vector_dot_messaging_dot_cube__pb2.ForgetPreferredCubeResponse.SerializeToString,
1203
+ ),
1204
+ 'SetPreferredCube': grpc.unary_unary_rpc_method_handler(
1205
+ servicer.SetPreferredCube,
1206
+ request_deserializer=anki__vector_dot_messaging_dot_cube__pb2.SetPreferredCubeRequest.FromString,
1207
+ response_serializer=anki__vector_dot_messaging_dot_cube__pb2.SetPreferredCubeResponse.SerializeToString,
1208
+ ),
1209
+ 'DeleteCustomObjects': grpc.unary_unary_rpc_method_handler(
1210
+ servicer.DeleteCustomObjects,
1211
+ request_deserializer=anki__vector_dot_messaging_dot_cube__pb2.DeleteCustomObjectsRequest.FromString,
1212
+ response_serializer=anki__vector_dot_messaging_dot_cube__pb2.DeleteCustomObjectsResponse.SerializeToString,
1213
+ ),
1214
+ 'CreateFixedCustomObject': grpc.unary_unary_rpc_method_handler(
1215
+ servicer.CreateFixedCustomObject,
1216
+ request_deserializer=anki__vector_dot_messaging_dot_cube__pb2.CreateFixedCustomObjectRequest.FromString,
1217
+ response_serializer=anki__vector_dot_messaging_dot_cube__pb2.CreateFixedCustomObjectResponse.SerializeToString,
1218
+ ),
1219
+ 'DefineCustomObject': grpc.unary_unary_rpc_method_handler(
1220
+ servicer.DefineCustomObject,
1221
+ request_deserializer=anki__vector_dot_messaging_dot_cube__pb2.DefineCustomObjectRequest.FromString,
1222
+ response_serializer=anki__vector_dot_messaging_dot_cube__pb2.DefineCustomObjectResponse.SerializeToString,
1223
+ ),
1224
+ 'SetCubeLights': grpc.unary_unary_rpc_method_handler(
1225
+ servicer.SetCubeLights,
1226
+ request_deserializer=anki__vector_dot_messaging_dot_cube__pb2.SetCubeLightsRequest.FromString,
1227
+ response_serializer=anki__vector_dot_messaging_dot_cube__pb2.SetCubeLightsResponse.SerializeToString,
1228
+ ),
1229
+ 'AudioFeed': grpc.unary_stream_rpc_method_handler(
1230
+ servicer.AudioFeed,
1231
+ request_deserializer=anki__vector_dot_messaging_dot_messages__pb2.AudioFeedRequest.FromString,
1232
+ response_serializer=anki__vector_dot_messaging_dot_messages__pb2.AudioFeedResponse.SerializeToString,
1233
+ ),
1234
+ 'CameraFeed': grpc.unary_stream_rpc_method_handler(
1235
+ servicer.CameraFeed,
1236
+ request_deserializer=anki__vector_dot_messaging_dot_messages__pb2.CameraFeedRequest.FromString,
1237
+ response_serializer=anki__vector_dot_messaging_dot_messages__pb2.CameraFeedResponse.SerializeToString,
1238
+ ),
1239
+ 'CaptureSingleImage': grpc.unary_unary_rpc_method_handler(
1240
+ servicer.CaptureSingleImage,
1241
+ request_deserializer=anki__vector_dot_messaging_dot_messages__pb2.CaptureSingleImageRequest.FromString,
1242
+ response_serializer=anki__vector_dot_messaging_dot_messages__pb2.CaptureSingleImageResponse.SerializeToString,
1243
+ ),
1244
+ 'GetCameraConfig': grpc.unary_unary_rpc_method_handler(
1245
+ servicer.GetCameraConfig,
1246
+ request_deserializer=anki__vector_dot_messaging_dot_messages__pb2.CameraConfigRequest.FromString,
1247
+ response_serializer=anki__vector_dot_messaging_dot_messages__pb2.CameraConfigResponse.SerializeToString,
1248
+ ),
1249
+ 'SetEyeColor': grpc.unary_unary_rpc_method_handler(
1250
+ servicer.SetEyeColor,
1251
+ request_deserializer=anki__vector_dot_messaging_dot_messages__pb2.SetEyeColorRequest.FromString,
1252
+ response_serializer=anki__vector_dot_messaging_dot_messages__pb2.SetEyeColorResponse.SerializeToString,
1253
+ ),
1254
+ 'NavMapFeed': grpc.unary_stream_rpc_method_handler(
1255
+ servicer.NavMapFeed,
1256
+ request_deserializer=anki__vector_dot_messaging_dot_nav__map__pb2.NavMapFeedRequest.FromString,
1257
+ response_serializer=anki__vector_dot_messaging_dot_nav__map__pb2.NavMapFeedResponse.SerializeToString,
1258
+ ),
1259
+ 'SetCameraSettings': grpc.unary_unary_rpc_method_handler(
1260
+ servicer.SetCameraSettings,
1261
+ request_deserializer=anki__vector_dot_messaging_dot_messages__pb2.SetCameraSettingsRequest.FromString,
1262
+ response_serializer=anki__vector_dot_messaging_dot_messages__pb2.SetCameraSettingsResponse.SerializeToString,
1263
+ ),
1264
+ }
1265
+ generic_handler = grpc.method_handlers_generic_handler(
1266
+ 'Anki.Vector.external_interface.ExternalInterface', rpc_method_handlers)
1267
+ server.add_generic_rpc_handlers((generic_handler,))