@ProviderType
public interface GripDetectedParameters
This interface provides parameters relevant for generating script code for the Grip Detected feedback capability
(registered using GripperFeedbackCapabilities.registerGripDetectedCapability(ScriptCodeGenerator)
).
These parameters are passed when PolyScope calls the implementation of the method
ScriptCodeGenerator.generateScript(ScriptWriter, Object)
responsible for generating the script code.
Modifier and Type | Method and Description |
---|---|
SelectableGripper |
getGripperSelection()
Get the individual gripper/zone selected by the end user for the grip detection.
|
SelectableGripper getGripperSelection()
Get the individual gripper/zone selected by the end user for the grip detection.
This is only valid if the contribution has registered the multi-gripper capability (usingGripperCapabilities.registerMultiGripperCapability(GripperListProvider)
).UnsupportedOperationException
- if the gripper contribution is not a multi-gripper, i.e. the multi-gripper
capability has not been registeredCopyright © 2021. All rights reserved.