18 #ifndef JOINT_LIMITS_UNIFIER_H 19 #define JOINT_LIMITS_UNIFIER_H 58 const std::vector<const moveit::core::JointModel*>& joint_models);
128 #endif // JOINT_LIMITS_UNIFIER_H
Unifies the joint limits from the given joint models with joint limits from the parameter server...
AggregationBoundsViolationException(const std::string error_desc)
AggregationException(const std::string error_desc)
static void checkPositionBoundsThrowing(const moveit::core::JointModel *joint_model, const pilz_extensions::JointLimit &joint_limit)
Checks if the position limits from the given joint_limit are stricter than the limits of the joint_mo...
static JointLimitsContainer getAggregatedLimits(const ros::NodeHandle &nh, const std::vector< const moveit::core::JointModel * > &joint_models)
Aggregates(combines) the joint limits from joint model and parameter server. The rules for the combin...
static void checkVelocityBoundsThrowing(const moveit::core::JointModel *joint_model, const pilz_extensions::JointLimit &joint_limit)
Checks if the velocity limit from the given joint_limit are stricter than the limit of the joint_mode...
static void updateVelocityLimitFromJointModel(const moveit::core::JointModel *joint_model, pilz_extensions::JointLimit &joint_limit)
Update the velocity limit with the one from the joint_model.
Container for JointLimits, essentially a map with convenience functions. Adds the ability to as for l...
A base class for all aggregation exceptions inheriting from std::runtime_exception.
static void updatePositionLimitFromJointModel(const moveit::core::JointModel *joint_model, pilz_extensions::JointLimit &joint_limit)
Update the position limits with the ones from the joint_model.