forked from rock-control/control-orogen-robot_frames
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrobot_framesTypes.hpp
45 lines (37 loc) · 1.23 KB
/
robot_framesTypes.hpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#ifndef robot_frames_TYPES_HPP
#define robot_frames_TYPES_HPP
#include <string>
namespace robot_frames {
/** Description of a chain to compute the forward kinematics for
*/
struct Chain
{
/** The name of the chain
*
* Used only in ChainPublisher and Task to determine the output port
* name
*/
std::string name;
/** The name of the root link in the resolved pose
*
* The computed pose is the pose of the tip expressed in the root frame,
* a.k.a. sourceFrame is tip and targetFrame is root
*/
std::string root_link;
/** If non-empty, override the targetFrame of the output pose to this
* value instead of using root_link
*/
std::string root_link_renamed;
/** The name of the tip link in the resolved pose
*
* The computed pose is the pose of the tip expressed in the root frame,
* a.k.a. sourceFrame is tip and targetFrame is root
*/
std::string tip_link;
/** If non-empty, override the sourceFrame of the output pose to this
* value instead of using root_link
*/
std::string tip_link_renamed;
};
}
#endif