AuboCaps  0.6.0
waypoint.h
Go to the documentation of this file.
1 #ifndef AUBO_SCOPE_WAYPOINT_H
2 #define AUBO_SCOPE_WAYPOINT_H
3 
4 #include <vector>
5 #include <string>
7 
8 namespace arcs {
9 namespace aubo_scope {
10 ARCS_CLASS_FORWARD(Waypoint);
11 
12 /**
13  * This interface composes parameters that define a position of the robot.
14  */
16 {
17 public:
18  Waypoint(Waypoint &f);
19  Waypoint(Waypoint &&f);
20  ~Waypoint();
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 
45 private:
46  friend class DataSwitch;
47  Waypoint();
48  void *d_{ nullptr };
49 };
50 
51 } // namespace aubo_scope
52 } // namespace arcs
53 
54 #endif // AUBO_SCOPE_WAYPOINT_H
ARCS_CLASS_FORWARD(GripForceCapability)
This interface composes parameters that define a position of the robot.
Definition: waypoint.h:15
#define ARCS_ABI_EXPORT
Definition: class_forward.h:16