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>
7
8namespace arcs {
9namespace aubo_scope {
11
12/**
13 * @ingroup ProgramApi
14 * This interface composes parameters that define a position of the robot.
15 */
17{
18public:
22
23 /**
24 * @ingroup Waypoint
25 * @brief getDisplayName
26 * @return Display name
27 */
28 std::string getDisplayName();
29
30 /**
31 * @ingroup Waypoint
32 * @return the pose for the position of the robot (including the TCP offset)
33 */
34 std::vector<double> getPose();
35
36 /**
37 * @ingroup Waypoint
38 * @return the joint positions corresponding to the pose of the robot (when
39 * taking the TCP offset into account)
40 */
41 std::vector<double> getJointPositions();
42
43 /**
44 * @ingroup Waypoint
45 * @return the pose for the TCP offset (used when defining the robot
46 * position)
47 */
48 std::vector<double> getTcpOffset();
49
50 /**
51 * @ingroup Waypoint
52 * @brief isDefined
53 * @return
54 */
55 bool isDefined();
56
57 /**
58 * @ingroup Waypoint
59 * @brief hashCode
60 * @return
61 */
62 size_t hashCode();
63
64private:
65 friend class DataSwitch;
67 void *d_{ nullptr };
68};
69
70} // namespace aubo_scope
71} // namespace arcs
72
73#endif // AUBO_SCOPE_WAYPOINT_H
#define ARCS_ABI_EXPORT
#define ARCS_CLASS_FORWARD(C)
Macro that forward declares a class and defines the respective smartpointers through ARCS_DECLARE_PTR...
This interface composes parameters that define a position of the robot.
std::string getDisplayName()
getDisplayName
size_t hashCode()
hashCode
std::vector< double > getPose()
std::vector< double > getJointPositions()
std::vector< double > getTcpOffset()
bool isDefined()
isDefined