38 : has_joint_limits_(false), has_cartesian_limits_(false)
44 return has_joint_limits_;
50 has_joint_limits_ =
true;
62 return (has_cartesian_limits_ && cartesian_limit_.hasMaxTranslationalVelocity() &&
63 cartesian_limit_.hasMaxTranslationalAcceleration() && cartesian_limit_.hasMaxTranslationalDeceleration() &&
64 cartesian_limit_.hasMaxRotationalVelocity());
70 has_cartesian_limits_ =
true;
71 cartesian_limit_ = cartesian_limit;
77 return cartesian_limit_;
Set of cartesian limits, has values for velocity, acceleration and deceleration of both the translati...
Container for JointLimits, essentially a map with convenience functions. Adds the ability to as for l...
bool hasFullCartesianLimits() const
Return if this LimitsContainer has defined cartesian limits.
void setCartesianLimits(CartesianLimit &cartesian_limit)
Set cartesian limits.
void setJointLimits(JointLimitsContainer &joint_limits)
Set joint limits.
const JointLimitsContainer & getJointLimitContainer() const
Obtain the Joint Limits from the container.
bool hasJointLimits() const
Return if this LimitsContainer has defined joint limits.
const CartesianLimit & getCartesianLimits() const
Return the cartesian limits.