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 * This interface composes parameters that define a position of the robot.
14 */
16{
17public:
21
22 std::string getDisplayName();
23
24 /**
25 * @return the pose for the position of the robot (including the TCP offset)
26 */
27 std::vector<double> getPose();
28
29 /**
30 * @return the joint positions corresponding to the pose of the robot (when
31 * taking the TCP offset into account)
32 */
33 std::vector<double> getJointPositions();
34
35 /**
36 * @return the pose for the TCP offset (used when defining the robot
37 * position)
38 */
39 std::vector<double> getTcpOffset();
40
41 bool isDefined();
42
43 size_t hashCode();
44
45private:
46 friend class DataSwitch;
48 void *d_{ nullptr };
49};
50
51} // namespace aubo_scope
52} // namespace arcs
53
54#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()
std::vector< double > getPose()
std::vector< double > getJointPositions()
std::vector< double > getTcpOffset()