hpp-core
4.9.0
Implement basic classes for canonical path planning for kinematic chains.
|
#include <hpp/core/continuous-validation/interval-validation.hh>
Public Member Functions | |
virtual bool | validateConfiguration (const value_type &t, interval_t &interval, ValidationReportPtr_t &report, const pinocchio::DeviceData &data)=0 |
void | path (const PathPtr_t &path, bool reverse) |
PathConstPtr_t | path () const |
Get path. More... | |
value_type | tolerance () const |
virtual std::string | name () const =0 |
virtual std::ostream & | print (std::ostream &os) const =0 |
virtual IntervalValidationPtr_t | copy () const =0 |
Protected Types | |
typedef boost::icl::continuous_interval< value_type > | continuous_interval |
typedef boost::icl::interval_set< value_type > | interval_set |
Protected Member Functions | |
IntervalValidation (value_type tolerance) | |
IntervalValidation (const IntervalValidation &other) | |
Protected Attributes | |
PathPtr_t | path_ |
value_type | tolerance_ |
bool | reverse_ |
bool | refine_ |
bool | valid_ |
interval_set | validInterval_ |
Validation of a parameter interval of a path
During path planning, some criteria need to be checked to be valid over the whole interval of definition of a path. The most common criterion is the absence of collision (implemented by derived class BodyPairCollision), but some other criteria might need to be checked. For instance the tension of the cables of a parallel cable driven robot need to remain in an interval.
This class provides a common interface for continuous validation through method validateConfiguration .
A tolerance may be provided at construction. An interval will be considered as valid if the criterion is violated by less than the tolerance. This parameter interpretation is left to the specialization designers.
|
protected |
|
protected |
|
inlineprotected |
Constructor of interval validation element
tolerance | allowed penetration should be positive |
|
inlineprotected |
|
pure virtual |
Implemented in hpp::core::continuousValidation::SolidSolidCollision.
|
pure virtual |
|
inline |
Set path to validate
path | path to validate, |
reverse | whether path is validated from end to beginning. |
|
inline |
Get path.
|
pure virtual |
|
inline |
|
pure virtual |
Validate an interval for a given criterion
t | center of the interval to validate |
interval | over which the criterion should be checked, |
interval | part of the input interval that is valid, |
report | report in case of non validity of the configuration at parameter t |
data | data resulting from forward kinematics computed at parameter t. |
Implemented in hpp::core::continuousValidation::BodyPairCollision.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |