@ProviderType public interface GripperNode extends ProgramNode
This interface represents a program node which can be used for programming grip and release actions with a selected gripper device.
An instance of this interface can be built using the GripperNodeFactory interface and is returned as a result
when GripperNodeFactory.createGripperNode(GripperDevice) is called.
| Modifier and Type | Method and Description |
|---|---|
GripActionConfigBuilder |
createGripActionConfigBuilder()
Creates a new
GripActionConfigBuilder instance for building a single Gripper node configuration for a
grip action. |
ReleaseActionConfigBuilder |
createReleaseActionConfigBuilder()
Creates a new
ReleaseActionConfigBuilder instance for building a single Gripper node configuration for a
release action. |
GripperNodeConfig |
getConfig() |
GripperDevice |
getGripperDevice() |
GripperNode |
setConfig(GripperNodeConfig config)
Sets a configuration on this node.
|
GripActionConfigBuilder createGripActionConfigBuilder()
GripActionConfigBuilder instance for building a single Gripper node configuration for a
grip action. Each configuration being built should ideally use a new GripActionConfigBuilder instance.ReleaseActionConfigBuilder createReleaseActionConfigBuilder()
ReleaseActionConfigBuilder instance for building a single Gripper node configuration for a
release action. Each configuration being built should ideally use a new ReleaseActionConfigBuilder instance.GripperDevice getGripperDevice()
GripperNodeConfig getConfig()
GripperNode setConfig(GripperNodeConfig config)
Sets a configuration on this node.
Note: The various available gripper devices can support different sets of capabilities. Therefore useGripperDevice.getCapabilitySupport(Class) to ensure that the gripper device used by the Gripper node
(accessible through getGripperDevice()) supports a specific desired capability (or set of
capabilities) before applying a configuration. Applying a configuration not supported by the gripper node/device
will throw an exception.config - The configuration to be set.UnsupportedConfig - If the specified GripperNodeConfig is not supported by this node. This can
occur when the specified GripperNodeConfig is a newly built configuration which uses a capability not
supported by the gripper device used by this node. It will also occur when an existing configuration is taken
from another node that uses a different gripper device, i.e. the two gripper devices must be identical.IllegalStateException - If called from a Swing-based URCap outside of an UndoableChanges scope (see
also UndoRedoManager).Copyright © 2020. All rights reserved.