panda_gazebo.exceptions
Module containing several custom exceptions.
Module Contents
- exception panda_gazebo.exceptions.InputMessageInvalidError(message='', log_message='', **details)[source]
Bases:
Exception
Custom exception that is thrown when the input message to a ‘panda_gazebo’ service or action is invalid.
Initialise InputMessageInvalidError exception object.
- Parameters:
message (str, optional) – Exception message specifying whether the exception occurred. Defaults to
""
.log_message (str, optional) – Full log message. Defaults to
""
.details – Additional keyword arguments that can be used to supply the user with more details about why the exception occurred. These details are stored in the
details
attribute.
- exception panda_gazebo.exceptions.JointLimitsInvalidError(message='', log_message='', **details)[source]
Bases:
Exception
Custom exception that is thrown when the joint limits specified by the user are not within the joint limits of the robot.
Initialise JointLimitsInvalidError exception object.
- Parameters:
message (str, optional) – Exception message specifying whether the exception occurred. Defaults to
""
.log_message (str, optional) – Full log message. Defaults to
""
.details – Additional keyword arguments that can be used to supply the user with more details about why the exception occurred. These details are stored in the
details
attribute.