AuboStudio SDK
0.6.3
grip_force_capability.h
浏览该文件的文档.
1
#ifndef AUBO_SCOPE_GRIP_FORCE_CAPABILITY_H
2
#define AUBO_SCOPE_GRIP_FORCE_CAPABILITY_H
3
4
#include <
aubo_caps/class_forward.h
>
5
6
namespace
arcs
{
7
namespace
aubo_scope
{
8
ARCS_CLASS_FORWARD
(
GripForceCapability
);
9
10
/**
11
* \chinese
12
* 夹持力能力
13
* 此接口表示夹爪已注册的力度能力,支持使用用户可配置的力度进行夹取。
14
*
15
* 通过此接口,可以在能力注册后调整力度的范围和默认值。这通常不适用于大多数夹爪,
16
* 但当范围取决于另一个自定义夹爪设置(可由用户配置)时,这可能是相关的。
17
* \endchinese
18
* \english
19
* GripForceCapability
20
* This interface represents a registered force capability for a gripper which
21
* supports gripping using a user configurable force.
22
*
23
* Through this interface, it is possible to adjust the range and default value
24
* for the force after the capability has been registered. This is typically not
25
* applicable for most grippers, but can be relevant when the range depends on
26
* another custom gripper setting (which can be configured by the user).
27
* \endenglish
28
*/
29
class
GripForceCapability
30
{
31
public
:
32
virtual
~GripForceCapability
() = 0;
33
34
/**
35
* <p>
36
* Update the range and default value for the force supported by the
37
* gripper.
38
* </p>
39
*
40
* Updating the range could result in an already entered value in the
41
* configuration of a gripper program node being outside the range. This
42
* will make the given program node undefined, and force the end user to
43
* adjust the value to be valid again.
44
*
45
* @param minForce minimum force supported by the gripper
46
* @param maxForce maximum force supported by the gripper
47
* @param defaultGripForce default value for the force for a grip action.
48
* This value is used for, e.g. performing a "default" grip action using the
49
* toolbar
50
* @param unit the unit for all specified values, <code>null</code>
51
* @throws InvalidCapabilityRange if <code>minForce</code> > <code>maxForce}
52
* or <code>defaultGripForce</code> is outside the range defined by
53
* <code>minForce</code> and <code>maxForce</code>
54
*/
55
virtual
void
updateCapability
(
double
minForce,
double
maxForce,
56
double
defaultGripForce) = 0;
57
};
58
}
// namespace aubo_scope
59
}
// namespace arcs
60
#endif
class_forward.h
ARCS_CLASS_FORWARD
#define ARCS_CLASS_FORWARD(C)
Macro that forward declares a class and defines the respective smartpointers through ARCS_DECLARE_PTR...
定义
class_forward.h:68
arcs::aubo_scope::GripForceCapability
\chinese 夹持力能力 此接口表示夹爪已注册的力度能力,支持使用用户可配置的力度进行夹取。
定义
grip_force_capability.h:30
arcs::aubo_scope::GripForceCapability::updateCapability
virtual void updateCapability(double minForce, double maxForce, double defaultGripForce)=0
arcs::aubo_scope::GripForceCapability::~GripForceCapability
virtual ~GripForceCapability()=0
arcs::aubo_scope
定义
contribution_provider.h:8
arcs
定义
contribution_provider.h:7
include
aubo_caps
contribution
driver
gripper
capability
grip_force_capability.h
制作者
1.16.1