Validate a configuration with respect to collision. More...
#include <hpp/core/config-validations.hh>
Public Member Functions | |
virtual bool | validate (const Configuration_t &config, bool throwIfInValid=false) |
Compute whether the configuration is valid. More... | |
virtual bool | validate (const Configuration_t &config, ValidationReport &validationReport, bool throwIfInValid=false) |
Compute whether the configuration is valid. More... | |
void | add (const ConfigValidationPtr_t &configValidation) |
Add a configuration validation object. More... | |
virtual void | addObstacle (const CollisionObjectPtr_t &object) |
Add an obstacle. More... | |
virtual void | removeObstacleFromJoint (const JointPtr_t &joint, const CollisionObjectPtr_t &obstacle) |
Remove a collision pair between a joint and an obstacle. More... | |
Static Public Member Functions | |
static ConfigValidationsPtr_t | create () |
Protected Member Functions | |
ConfigValidations () | |
![]() | |
ConfigValidation () | |
Validate a configuration with respect to collision.
|
protected |
void hpp::core::ConfigValidations::add | ( | const ConfigValidationPtr_t & | configValidation | ) |
Add a configuration validation object.
|
virtual |
Add an obstacle.
object | obstacle added Store obstacle and build a collision pair with each body of the robot. |
Reimplemented from hpp::core::ConfigValidation.
|
static |
|
virtual |
Remove a collision pair between a joint and an obstacle.
the | joint that holds the inner objects, |
the | obstacle to remove. collision configuration validation needs to know about obstacles. This virtual method does nothing for configuration validation methods that do not care about obstacles. |
Reimplemented from hpp::core::ConfigValidation.
|
virtual |
Compute whether the configuration is valid.
config | the config to check for validity, |
throwIfInValid | if true throw an exception if config is invalid. |
Implements hpp::core::ConfigValidation.
|
virtual |
Compute whether the configuration is valid.
config | the config to check for validity, |
throwIfInValid | if true throw an exception if config is invalid. |
validationReport | report on validation |
Implements hpp::core::ConfigValidation.