hpp-core
6.0.0
Implement basic classes for canonical path planning for kinematic chains.
|
#include <hpp/core/path-validation.hh>
Public Member Functions | |
virtual bool | validate (const PathPtr_t &path, bool reverse, PathPtr_t &validPart, PathValidationReportPtr_t &report)=0 |
virtual bool | validate (ConfigurationIn_t q, ValidationReportPtr_t &report) |
virtual | ~PathValidation () |
Protected Member Functions | |
PathValidation () | |
Abstraction of path validation
Instances of this class compute the latest valid configuration along a path.
Method
is provided to validate single configurations. It is particularly useful to test the initial and goal configurations of a path planning problem using this path validation.
|
inlinevirtual |
|
inlineprotected |
|
virtual |
Validate a single configuration
q | input configuration, |
report | validation report. The default implementation builds a straight path of length 0 with the input configuration and validates the path. |
Reimplemented in hpp::core::PathValidations, and hpp::core::pathValidation::Discretized.
|
pure virtual |
Compute the largest valid interval starting from the path beginning
path | the path to check for validity, |
reverse | if true check from the end, |
the | extracted valid part of the path, pointer to path if path is valid. |
report | information about the validation process. A report is allocated if the path is not valid. |
Implemented in hpp::core::PathValidations, hpp::core::pathValidation::Discretized, and hpp::core::ContinuousValidation.