Kinova-kortex2_Gen3_G3L

class ProtectionZone

Member values

Member name Data type Description Usage
handle ProtectionZoneHandle Protection zone handle To set handle, you simply assign a value directly to a field within handle. You can also use the parent message’s HasField() method to check if a message type field value has been set.
name str Protection zone friendly name You can manipulate the field name as if it were a regular field. To clear the value of name and reset it to the default value for its type, you call the ClearField() method of the Message interface.
application_data str Application data (reserved for use by Web App) You can manipulate the field application_data as if it were a regular field. To clear the value of application_data and reset it to the default value for its type, you call the ClearField() method of the Message interface.
is_enabled bool True if protection zone is enabled, false otherwise You can manipulate the field is_enabled as if it were a regular field. To clear the value of is_enabled and reset it to the default value for its type, you call the ClearField() method of the Message interface.
shape ZoneShape Protection zone shape To set shape, you simply assign a value directly to a field within shape. You can also use the parent message’s HasField() method to check if a message type field value has been set.
limitations CartesianLimitation List of Cartesian limitation Repeated message fields are represented as an object that acts like a Python sequence. However, You must use add() instead of append(). It also has an extend() function that appends an entire list of messages, but makes a copy of every message in the list.
envelope_limitations CartesianLimitation List of Cartesian limitation of the envelop Repeated message fields are represented as an object that acts like a Python sequence. However, You must use add() instead of append(). It also has an extend() function that appends an entire list of messages, but makes a copy of every message in the list.

Parent topic: Base (Python)