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.

log_message

The full log message.

Type:

str

details

Dictionary containing extra Exception information.

Type:

dict

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.

log_message

The full log message.

Type:

str

details

Dictionary containing extra Exception information.

Type:

dict

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.