PDF
简体中文
简体中文
English
AuboStudio SDK
0.6.3
waypoint.h
浏览该文件的文档.
1
#ifndef AUBO_SCOPE_WAYPOINT_H
2
#define AUBO_SCOPE_WAYPOINT_H
3
4
#include <vector>
5
#include <string>
6
#include <
aubo_caps/class_forward.h
>
7
8
namespace
arcs
{
9
namespace
aubo_scope
{
10
ARCS_CLASS_FORWARD
(
Waypoint
);
11
12
/**
13
* @ingroup ProgramApi
14
* \chinese
15
* 路点接口
16
* 此接口组合了定义机器人位置的参数。
17
* \endchinese
18
* \english
19
* Waypoint
20
* This interface composes parameters that define a position of the robot.
21
* \endenglish
22
*/
23
class
ARCS_ABI_EXPORT
Waypoint
24
{
25
public
:
26
Waypoint
(
Waypoint
&f);
27
Waypoint
(
Waypoint
&&f);
28
~Waypoint
();
29
30
/**
31
* @ingroup Waypoint
32
* \chinese
33
* 获取路点显示名称
34
* @return 显示名称。
35
* \endchinese
36
* \english
37
* Returns the display name of the Waypoint.
38
* @return Display name.
39
* \endenglish
40
*/
41
std::string
getDisplayName
();
42
43
/**
44
* @ingroup Waypoint
45
* \chinese
46
* 获取机器人位置的位姿(包含TCP偏移)
47
* @return 位姿。
48
* \endchinese
49
* \english
50
* Returns the pose for the position of the robot (including the TCP offset).
51
* @return the pose for the position of the robot.
52
* \endenglish
53
*/
54
std::vector<double>
getPose
();
55
56
/**
57
* @ingroup Waypoint
58
* \chinese
59
* 获取与机器人位姿对应的关节位置(考虑TCP偏移)
60
* @return 关节位置。
61
* \endchinese
62
* \english
63
* Returns the joint positions corresponding to the pose of the robot (when
64
* taking the TCP offset into account).
65
* @return the joint positions.
66
* \endenglish
67
*/
68
std::vector<double>
getJointPositions
();
69
70
/**
71
* @ingroup Waypoint
72
* \chinese
73
* 获取TCP偏移位姿(用于定义机器人位置)
74
* @return TCP偏移。
75
* \endchinese
76
* \english
77
* Returns the pose for the TCP offset (used when defining the robot
78
* position).
79
* @return the TCP offset.
80
* \endenglish
81
*/
82
std::vector<double>
getTcpOffset
();
83
84
/**
85
* @ingroup Waypoint
86
* \chinese
87
* 检查路点是否已定义
88
* @return 是否已定义。
89
* \endchinese
90
* \english
91
* Returns whether the Waypoint is defined.
92
* @return <code>true</code> if defined.
93
* \endenglish
94
*/
95
bool
isDefined
();
96
97
/**
98
* @ingroup Waypoint
99
* \chinese
100
* 获取哈希码
101
* @return 哈希码。
102
* \endchinese
103
* \english
104
* Returns the hash code of the Waypoint.
105
* @return the hash code.
106
* \endenglish
107
*/
108
size_t
hashCode
();
109
110
private
:
111
friend
class
DataSwitch
;
112
Waypoint
();
113
void
*
d_
{
nullptr
};
114
};
115
116
}
// namespace aubo_scope
117
}
// namespace arcs
118
119
#endif
// AUBO_SCOPE_WAYPOINT_H
class_forward.h
ARCS_ABI_EXPORT
#define ARCS_ABI_EXPORT
定义
class_forward.h:16
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::Waypoint
路点接口 此接口组合了定义机器人位置的参数。
定义
waypoint.h:24
arcs::aubo_scope::Waypoint::getDisplayName
std::string getDisplayName()
获取路点显示名称
arcs::aubo_scope::Waypoint::hashCode
size_t hashCode()
获取哈希码
arcs::aubo_scope::Waypoint::~Waypoint
~Waypoint()
arcs::aubo_scope::Waypoint::DataSwitch
friend class DataSwitch
定义
waypoint.h:111
arcs::aubo_scope::Waypoint::getPose
std::vector< double > getPose()
获取机器人位置的位姿(包含TCP偏移)
arcs::aubo_scope::Waypoint::Waypoint
Waypoint()
arcs::aubo_scope::Waypoint::Waypoint
Waypoint(Waypoint &f)
arcs::aubo_scope::Waypoint::getJointPositions
std::vector< double > getJointPositions()
获取与机器人位姿对应的关节位置(考虑TCP偏移)
arcs::aubo_scope::Waypoint::Waypoint
Waypoint(Waypoint &&f)
arcs::aubo_scope::Waypoint::getTcpOffset
std::vector< double > getTcpOffset()
获取TCP偏移位姿(用于定义机器人位置)
arcs::aubo_scope::Waypoint::d_
void * d_
定义
waypoint.h:113
arcs::aubo_scope::Waypoint::isDefined
bool isDefined()
检查路点是否已定义
arcs::aubo_scope
定义
contribution_provider.h:8
arcs
定义
contribution_provider.h:7
include
aubo_caps
domain
waypoint
waypoint.h
制作者
1.16.1