AuboStudio SDK  0.6.3
arcs::aubo_scope::SpeedCapability类 参考abstract

#include <speed_capability.h>

Public 成员函数

virtual ~SpeedCapability ()=default
virtual void updateCapability (double minSpeed, double maxSpeed, double defaultGripSpeed, double defaultReleaseSpeed)=0

详细描述

This interface represents a registered speed capability for a gripper which supports operating using a user configurable speed.

Through this interface, it is possible to adjust the range and default values for the speed after the capability has been registered. This is typically not applicable for most grippers, but can be relevant when the range depends on another custom gripper setting (which can be configured by the user).

在文件 speed_capability.h21 行定义.

构造及析构函数说明

◆ ~SpeedCapability()

virtual arcs::aubo_scope::SpeedCapability::~SpeedCapability ( )
virtualdefault

成员函数说明

◆ updateCapability()

virtual void arcs::aubo_scope::SpeedCapability::updateCapability ( double minSpeed,
double maxSpeed,
double defaultGripSpeed,
double defaultReleaseSpeed )
pure virtual

Update the range and default values for the speed 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.

参数
minSpeedminimum operating speed supported by the gripper
maxSpeedmaximum operating speed supported by the gripper
defaultGripSpeeddefault value for the speed for a grip action. This value is used for, e.g. performing a "default" grip action using the toolbar
defaultReleaseSpeeddefault value for the speed for a release action. This value is used for, e.g. performing a "default" release action using the toolbar
unitthe unit for all specified values, not null
异常
InvalidCapabilityRangeif minSpeed > maxSpeed
InvalidCapabilityRangeif defaultGripSpeed or defaultReleaseSpeed is outside the range defined by minSpeed and maxSpeed.

该类的文档由以下文件生成: