18 #ifndef JOINT_LIMITS_VALIDATOR_H 19 #define JOINT_LIMITS_VALIDATOR_H 124 #endif // JOINT_LIMITS_VALIDATOR_H static bool validateWithEqualFunc(bool(*eq_func)(const pilz_extensions::JointLimit &, const pilz_extensions::JointLimit &), const pilz::JointLimitsContainer &joint_limits)
static bool validateAllAccelerationLimitsEqual(const pilz::JointLimitsContainer &joint_limits)
Validates that the acceleration of all limits is equal.
static bool validateAllVelocityLimitsEqual(const pilz::JointLimitsContainer &joint_limits)
Validates that the velocity of all limits is equal.
static bool validateAllDecelerationLimitsEqual(const pilz::JointLimitsContainer &joint_limits)
Validates that the deceleration of all limits is equal.
Thrown the limits for a joint are defined in the urdf but not on the parameter server (loaded from ya...
A base class for all validations exceptions inheriting from std::runtime_exception.
static bool velocityEqual(const pilz_extensions::JointLimit &lhs, const pilz_extensions::JointLimit &rhs)
ValidationJointMissingException(const std::string error_desc)
Container for JointLimits, essentially a map with convenience functions. Adds the ability to as for l...
Thrown when the limits differ.
Thrown when the limits from the param server are weaker than the ones obtained from the urdf...
Validates the equality of all limits inside a container.
static bool validateAllPositionLimitsEqual(const pilz::JointLimitsContainer &joint_limits)
Validates that the position limits of all limits are equal.
static bool positionEqual(const pilz_extensions::JointLimit &lhs, const pilz_extensions::JointLimit &rhs)
ValidationBoundsViolationException(const std::string error_desc)
ValidationDifferentLimitsException(const std::string error_desc)
static bool accelerationEqual(const pilz_extensions::JointLimit &lhs, const pilz_extensions::JointLimit &rhs)
ValidationException(const std::string error_desc)
static bool decelerationEqual(const pilz_extensions::JointLimit &lhs, const pilz_extensions::JointLimit &rhs)