- 2 Minutes to read
Full List of Exceptions
- 2 Minutes to read
All the exceptions thrown by the SDK are Python standard exceptions, and inherit from the RayaException
class.
Complete list of exceptions:
Application Exceptions
Parent exception (inherits from RayaException
):
Exception | Condition |
---|---|
RayaApplicationException | Raya application could not be initialized. |
Child exceptions:
Exception | Condition |
---|---|
RayaInvalidAppNameException | Provided application name is not valid. |
RayaRestfulModeException | Restful mode could not be enabled. |
Value Exceptions
Parent exception (inherits from RayaException
):
Exception | Condition |
---|---|
RayaValueException | Invalid value. |
Child exceptions:
Exception | Condition |
---|---|
RayaInvalidNumericRange | Invalid numeric range: low value ir greater than high value, or one of the range limits is not a number. |
RayaInvalidRGBRange | Invalid RGB range: values are not between 0 and 255, or some high value is not greater that the equivalent low value. |
RayaInvalidHSVRange | Invalid HSV range: H value is not between 0 and 180, S or V valuer are not between 0 and 100, or some high value is not greater that the equivalent low value. |
Controller Exceptions
Parent exception (inherits from RayaException
):
Exception | Condition |
---|---|
RayaControllerException | Exception from controllers. |
Listener Exceptions
Parent exception (inherits from RayaControllerException
):
Exception | Condition |
---|---|
RayaListenerException | Exception from listener method. |
Child exceptions:
Exception | Condition |
---|---|
RayaListenerAlreadyCreated | Provided listener name already used to create another listener. |
RayaListenerUnknown | Provided listener name not recognized. |
RayaInvalidCallback | Invalid or not callable callback. |
Arms Exceptions
Parent exception (inherits from RayaControllerException
):
Exception | Condition |
---|---|
RayaArmsException | Exception from arms controller. |
Child exceptions:
Exception | Condition |
---|---|
RayaArmsJointsPosition | Invalid joints positions. |
RayaArmsInvalidPose | Invalid provided pose. |
RayaArmsNoJointData | Controller has not received joints data. |
RayaArmsNotValidArmName | Invalid or known arm name. |
RayaArmsNotValidJointName | Invalid or known joint name. |
RayaArmsNotMoving | Selected arm is not moving. |
RayaArmsOutOfRange | Provided positions out of the valid ranges. |
Cameras Exceptions
Parent exception (inherits from RayaControllerException
):
Exception | Condition |
---|---|
RayaCamerasException | Exception from cameras method. |
Child exceptions:
Exception | Condition |
---|---|
RayaInvalidCameraName | Invalid camera name. |
RayaCameraNotEnabled | Selected camera is not currently enabled. |
Lidar Exceptions
Parent exception (inherits from RayaControllerException
):
Exception | Condition |
---|---|
RayaLidarException | Exception from lidar method. |
Motion Exceptions
Parent exception (inherits from RayaControllerException
):
Exception | Condition |
---|---|
RayaMotionException | Exception from motion method. |
Sensors Exceptions
Parent exception (inherits from RayaControllerException
):
Exception | Condition |
---|---|
RayaSensorsException | Exception from sensors method. |
Child exceptions:
Exception | Condition |
---|---|
RayaSensorsUnknownPath | Unknown sensor path. |
RayaSensorsIncompatiblePath | Sensor path not compatible with current robot. |
RayaSensorsInvalidPath | Incorrect sensor path. |
RayaSensorsInvalidColorName | Unknown color name. |
Communication Exceptions
Parent exception (inherits from RayaControllerException
):
Exception | Condition |
---|---|
RayaCommunicationException | Exception from sensors method. |
Child exceptions:
Exception | Condition |
---|---|
RayaNotInCommServerMode | Raya not running in communication server mode. |
RayaInCommServerMode | Raya running in communication mode. |
RayaCommNotRegisteredApp | Requested app is not registered. |
RayaCommCommandAlreadyRegistered | Provided command name already registered. |
RayaCommNotRegisteredCommand | Requested command not registered in the privided app. |
Navigation Exceptions
Parent exception (inherits from RayaException
):
Exception | Condition |
---|---|
RayaNavigationException | Exception from Navigation controller. |
Child exceptions:
Exception | Condition |
---|---|
RayaNavigationInProgress | Navigation in progress. |
RayaNavigationNotInProgress | Not navigation in progress. |
Interactions Exceptions
Parent exception (inherits from RayaException
):
Exception | Condition |
---|---|
RayaInteractionsException | Exception from Interactions controller. |
Child exceptions:
Exception | Condition |
---|---|
RayaInteractionsUnknownGroup | Unknown LEDs group. |
RayaInteractionsNotValidID | Not valid ID for the selected group. |