3 #ifndef SE2EZ_CORE_JOINT_ 4 #define SE2EZ_CORE_JOINT_ 10 #include <kdl/joint.hpp> 49 static const unsigned int TYPE_MAX = CONTINUOUS;
75 Joint(
const std::string &name,
Type type,
const Eigen::VectorXd &lower,
const Eigen::VectorXd &upper);
78 Joint(
const Joint &) =
delete;
79 Joint(Joint &&) =
delete;
89 void enforceBounds(Eigen::Ref<Eigen::VectorXd> q)
const;
94 void setRandom(Eigen::Ref<Eigen::VectorXd> q)
const;
100 bool inBounds(
const Eigen::Ref<const Eigen::VectorXd> &q)
const;
107 double distance(
const Eigen::Ref<const Eigen::VectorXd> &a,
108 const Eigen::Ref<const Eigen::VectorXd> &b)
const;
117 void interpolate(
const Eigen::Ref<const Eigen::VectorXd> &from,
118 const Eigen::Ref<const Eigen::VectorXd> &to,
double t,
119 Eigen::Ref<Eigen::VectorXd> state)
const;
142 const unsigned int n;
const unsigned int top_
Top index for internal computations.
const Eigen::VectorXd upper
Upper limits of this frame's joint value (closed).
const Eigen::VectorXd lower
Lower limits of this frame's joint value (closed).
Container class that stores the underlying joint representation. Can represent basic joints within th...
#define SE2EZ_EIGEN_CLASS
const std::vector< KDL::Joint > joints
Underlying KDL joints.
const bool fixed
Is this joint fixed?
const bool continuous
Is this a continuous type joint?
const Type type
Type of joint.
const unsigned int n
Number of joints.
#define SE2EZ_CLASS_FORWARD(C)