anki_vector.exceptions¶
SDK-specific exception classes for Vector.
Functions
|
Translates grpc-specific errors to user-friendly |
Exceptions
|
Invalid asynchronous action attempted. |
|
Invalid behavior control action attempted. |
|
The camera feed is not open. |
|
Invalid or missing configuration data. |
|
|
|
Unable to run a function which requires behavior control. |
|
Failed to get control of Vector. |
Base class of all Vector SDK exceptions. |
|
Failed to play external audio on Vector. |
|
|
Your SDK version is not compatible with Vector’s version. |
|
Unable to establish a connection to Vector. |
|
Vector tried to do something before it was ready. |
|
Failed to retrieve the value for this property. |
|
Message took too long to complete. |
Failed to authenticate request. |
|
|
Unable to reach Vector. |
|
Vector does not handle this message. |
|
The robot event stream is currently unreliable. |
-
exception
anki_vector.exceptions.
VectorAsyncException
(_cause=None, *args, **kwargs)¶ Invalid asynchronous action attempted.
-
exception
anki_vector.exceptions.
VectorBehaviorControlException
(_cause=None, *args, **kwargs)¶ Invalid behavior control action attempted.
-
exception
anki_vector.exceptions.
VectorCameraFeedException
(_cause=None, *args, **kwargs)¶ The camera feed is not open.
Make sure to enable the camera feed either using Robot(show_viewer=True), or robot.camera.init_camera_feed()
-
exception
anki_vector.exceptions.
VectorConfigurationException
(_cause=None, *args, **kwargs)¶ Invalid or missing configuration data.
-
exception
anki_vector.exceptions.
VectorConnectionException
(cause)¶
-
exception
anki_vector.exceptions.
VectorControlException
(function)¶ Unable to run a function which requires behavior control.
-
exception
anki_vector.exceptions.
VectorControlTimeoutException
(_cause=None, *args, **kwargs)¶ Failed to get control of Vector.
Please verify that Vector is connected to the internet, is on a flat surface, and is fully charged.
-
exception
anki_vector.exceptions.
VectorException
¶ Base class of all Vector SDK exceptions.
-
exception
anki_vector.exceptions.
VectorInvalidVersionException
(version_response)¶ Your SDK version is not compatible with Vector’s version.
-
exception
anki_vector.exceptions.
VectorNotFoundException
(_cause=None, *args, **kwargs)¶ Unable to establish a connection to Vector.
Make sure you’re on the same network, and Vector is connected to the internet.
-
exception
anki_vector.exceptions.
VectorNotReadyException
(_cause=None, *args, **kwargs)¶ Vector tried to do something before it was ready.
-
exception
anki_vector.exceptions.
VectorPropertyValueNotReadyException
(_cause=None, *args, **kwargs)¶ Failed to retrieve the value for this property.
-
exception
anki_vector.exceptions.
VectorTimeoutException
(cause)¶ Message took too long to complete.
-
exception
anki_vector.exceptions.
VectorUnauthenticatedException
(cause)¶ Failed to authenticate request.
Unable to reach Vector.
-
exception
anki_vector.exceptions.
VectorUnimplementedException
(cause)¶ Vector does not handle this message.
-
exception
anki_vector.exceptions.
VectorExternalAudioPlaybackException
¶ Failed to play external audio on Vector.
-
anki_vector.exceptions.
connection_error
(rpc_error)¶ Translates grpc-specific errors to user-friendly
VectorConnectionException
.- Return type