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