CustomInstruction.__init__

CustomInstruction.__init__(name, string_values=[], float_values=[], feedback_level=0, execution_level=0)[source]

Create a new instance of the instruction.

Parameters
  • name (str) – Name of the procedure to invoke on the robot code. Maximum of 80 characters.

  • string_values (list of str) – List of up to 8 strings values, each of them with a maximum of 80 characters.

  • float_values (list of float) – List of up to 36 float values.

  • feedback_level (int) – Defines the feedback level requested from the robot. Defaults to FeedbackLevel.NONE.

  • execution_level (int) – Defines the execution level of the instruction. Defaults to ExecutionLevel.ROBOT.