47 #ifndef _MIRA_JOINT_H_ 48 #define _MIRA_JOINT_H_ 52 #include <serialization/adapters/boost/optional.hpp> 54 namespace mira {
namespace model {
74 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
76 template<
typename Reflector>
79 r.member(
"Name",
name,
"Name of the link");
80 r.member(
"Type",
type,
"The joint's type");
82 r.member(
"Axis",
axis,
"Axis",
Point3f(1.0f, 0.0f, 0.0f));
83 r.member(
"Parent",
parent,
"Parent link");
84 r.member(
"Child",
child,
"Child link");
85 r.member(
"LowerLimit",
lowerLimit,
"Lower limit (rad for revolute and " 86 "meter for prismatic)", -pi<float>());
87 r.member(
"UpperLimit",
upperLimit,
"Upper limit (rad for revolute and " 88 "meter for prismatic)", pi<float>());
Can rotate about the given axis with no given limits.
Definition: Joint.h:69
Pose3 origin
Specifies the transform from child link to parent link.
Definition: Joint.h:93
Type type
The joint's type.
Definition: Joint.h:92
Can move/slide along the given axis but is limited by upper and lower limit.
Definition: Joint.h:70
A joint class that connects two links.
Definition: Joint.h:62
Can move freely in all degrees of freedom.
Definition: Joint.h:71
float upperLimit
Upper limit for REVOLUTE (rad) and PRISMATIC (meter) joints.
Definition: Joint.h:98
std::string name
Name of the joint.
Definition: Joint.h:91
std::string child
Child link.
Definition: Joint.h:96
Can rotate about the given axis but is limited by upper and lower limit.
Definition: Joint.h:68
For a fixed joint all degrees of freedom are locked and its state is fixed.
Definition: Joint.h:67
float lowerLimit
Lower limit for REVOLUTE (rad) and PRISMATIC (meter) joints.
Definition: Joint.h:97
Point3f axis
Axis of rotation for REVOLUTE and CONTINUOUS joints, axis of translation for PRISMATIC joints...
Definition: Joint.h:94
boost::shared_ptr< Joint > JointPtr
Pointer to a joint.
Definition: Joint.h:102
Point< float, 3 > Point3f
EIGEN_MAKE_ALIGNED_OPERATOR_NEW void reflect(Reflector &r)
Definition: Joint.h:77
std::string parent
Parent link.
Definition: Joint.h:95
Type
Definition: Joint.h:65