Unifies the joint limits from the given joint models with joint limits from the parameter server. More...
#include <joint_limits_aggregator.h>
Static Public Member Functions | |
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 combination are: More... | |
Static Protected Member Functions | |
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_model. Throws AggregationBoundsViolationException on violation. More... | |
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_model. Throws AggregationBoundsViolationException on violation. More... | |
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. More... | |
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. More... | |
Unifies the joint limits from the given joint models with joint limits from the parameter server.
Does not support MultiDOF joints.
Definition at line 39 of file joint_limits_aggregator.h.
|
staticprotected |
Checks if the position limits from the given joint_limit are stricter than the limits of the joint_model. Throws AggregationBoundsViolationException on violation.
joint_model | The joint_model |
joint_limit | The joint_limit |
Definition at line 137 of file joint_limits_aggregator.cpp.
|
staticprotected |
Checks if the velocity limit from the given joint_limit are stricter than the limit of the joint_model. Throws AggregationBoundsViolationException on violation.
joint_model | The joint_model |
joint_limit | The joint_limit |
Definition at line 155 of file joint_limits_aggregator.cpp.
|
static |
Aggregates(combines) the joint limits from joint model and parameter server. The rules for the combination are:
nh | Node handle in whose namespace the joint limit parameters are expected. |
joint_models | The joint models |
Definition at line 29 of file joint_limits_aggregator.cpp.
|
staticprotected |
Update the position limits with the ones from the joint_model.
If the joint model has no position limit, the value is unchanged.
joint_model | The joint model |
joint_limit | The joint_limit to be filled with new values. |
Definition at line 85 of file joint_limits_aggregator.cpp.
|
staticprotected |
Update the velocity limit with the one from the joint_model.
If the joint model has no velocity limit, the value is unchanged.
joint_model | The joint model |
joint_limit | The joint_limit to be filled with new values. |
Definition at line 113 of file joint_limits_aggregator.cpp.