cozmo.exceptions

SDK-specific exception classes.

Exceptions

ActionError

Base class for errors that occur with robot actions.

AnimationsNotLoaded

Raised if an attempt is made to play a named animation before animations have been received.

CannotPlaceObjectsOnThis

Raised if an attempt is made to place an object on top of an invalid object

ConnectionAborted

Raised if the connection to the device is unexpectedly lost.

ConnectionCheckFailed

Raised if the connection check has failed.

ConnectionError

Base class for errors regarding connection to the device.

CozmoSDKException

Base class of all Cozmo SDK exceptions.

InvalidOpenGLGlutImplementation

Raised by opengl viewer if no valid GLUT implementation available.

NoDevicesFound

Raised if no devices connected running Cozmo in SDK mode

NotPickupable

Raised if an attempt is made to pick up or place an object that can't be picked up by Cozmo

RobotBusy

Raised if an attempt is made to perform an action while another action is still running.

SDKShutdown

Raised when the SDK is being shut down

SDKVersionMismatch(message, sdk_version, ...)

Raised if the Cozmo SDK version is not compatible with the software running on the device.

StopPropogation

Raised by event handlers to prevent further handlers from being triggered.