hpp::core::JointBoundValidation Class Reference

Validate a configuration with respect to joint bounds. More...

#include <hpp/core/joint-bound-validation.hh>

Inheritance diagram for hpp::core::JointBoundValidation:
Collaboration diagram for hpp::core::JointBoundValidation:

Public Member Functions

virtual bool validate (const Configuration_t &config, bool throwIfInValid=false)
 Compute whether the configuration is valid. More...
 
- Public Member Functions inherited from hpp::core::ConfigValidation
virtual void addObstacle (const CollisionObjectPtr_t &)
 Add an obstacle. More...
 
virtual void removeObstacleFromJoint (const JointPtr_t &, const CollisionObjectPtr_t &)
 Remove a collision pair between a joint and an obstacle. More...
 

Static Public Member Functions

static JointBoundValidationPtr_t create (const DevicePtr_t &robot)
 

Protected Member Functions

 JointBoundValidation (const DevicePtr_t &robot)
 
- Protected Member Functions inherited from hpp::core::ConfigValidation
 ConfigValidation ()
 

Detailed Description

Validate a configuration with respect to joint bounds.

Constructor & Destructor Documentation

◆ JointBoundValidation()

hpp::core::JointBoundValidation::JointBoundValidation ( const DevicePtr_t robot)
protected

Member Function Documentation

◆ create()

static JointBoundValidationPtr_t hpp::core::JointBoundValidation::create ( const DevicePtr_t robot)
static

◆ validate()

virtual bool hpp::core::JointBoundValidation::validate ( const Configuration_t config,
bool  throwIfInValid = false 
)
virtual

Compute whether the configuration is valid.

Parameters
configthe config to check for validity,
throwIfInValidif true throw an exception if config is invalid.
Returns
whether the whole config is valid.

Implements hpp::core::ConfigValidation.