|
AuboStudio SDK
0.6.3
|
|
|
|
|
宽度能力 此接口表示夹爪已注册的宽度/位置能力,支持移动到用户可配置的位置(打开/关闭到 可配置的宽度)。 更多...
#include <width_capability.h>
Public 成员函数 | |
| virtual | ~WidthCapability ()=default |
| virtual void | updateCapability (double minWidth, double maxWidth, double defaultGripWidth, double defaultReleaseWidth)=0 |
宽度能力 此接口表示夹爪已注册的宽度/位置能力,支持移动到用户可配置的位置(打开/关闭到 可配置的宽度)。
通过此接口,可以在能力注册后调整宽度的范围和默认值。这通常不适用于大多数夹爪, 但当范围取决于另一个自定义夹爪设置(可由用户配置)时,这可能是相关的。
在文件 width_capability.h 第 31 行定义.
|
virtualdefault |
|
pure virtual |
Update the range and default values for the width supported by the gripper.
Updating the range could result in an already entered value in the configuration of a gripper program node being outside the range. This will make the given program node undefined, and force the end user to adjust the value to be valid again.
| minWidth | minimum width supported by the gripper |
| maxWidth | maximum width supported by the gripper |
| defaultGripWidth | default value for the width for a grip action. This value is used for, e.g. performing a "default" grip action using the toolbar |
| defaultReleaseWidth | default value for the width for a release action. This value is used for, e.g. performing a "default" release action using the toolbar |
| unit | the unit for all specified values, not null |
| InvalidCapabilityRange | if minWidth} > |
| InvalidCapabilityRange | if |