hpp-rbprm
4.13.0
Implementation of RB-PRM planner using hpp.
|
#include <hpp/rbprm/interpolation/polynom-trajectory.hh>
Public Types | |
typedef Path | parent_t |
Public Member Functions | |
virtual | ~PolynomTrajectory () |
Destructor. More... | |
virtual core::PathPtr_t | copy () const |
virtual core::PathPtr_t | extract (const core::interval_t &subInterval) const |
core::Configuration_t | initial () const |
Get the initial configuration. More... | |
core::Configuration_t | end () const |
Get the final configuration. More... | |
virtual void | checkPath () const |
Static Public Member Functions | |
static PolynomTrajectoryPtr_t | create (PolynomPtr_t polynom, core::value_type subSetStart=0, core::value_type subSetEnd=1) |
static PolynomTrajectoryPtr_t | createCopy (const PolynomTrajectoryPtr_t &path) |
Public Attributes | |
const PolynomPtr_t | polynom_ |
const core::value_type | subSetStart_ |
const core::value_type | subSetEnd_ |
const core::value_type | length_ |
Protected Member Functions | |
virtual std::ostream & | print (std::ostream &os) const |
Print path in a stream. More... | |
PolynomTrajectory (PolynomPtr_t polynom, core::value_type subSetStart, core::value_type subSetEnd) | |
Constructor. More... | |
PolynomTrajectory (const PolynomTrajectory &path) | |
Copy constructor. More... | |
void | init (PolynomTrajectoryPtr_t self) |
virtual bool | impl_compute (core::ConfigurationOut_t result, core::value_type param) const |
virtual core::PathPtr_t | copy (const core::ConstraintSetPtr_t &) const |
Linear interpolation between two configurations
Degrees of freedom are interpolated depending on the type of joint they parameterize:
|
inlinevirtual |
Destructor.
|
protected |
Constructor.
|
protected |
Copy constructor.
|
inlinevirtual |
|
inlinevirtual |
Return a shared pointer to this
As ComTrajectoryP are immutable, and refered to by shared pointers, they do not need to be copied.
|
inlineprotectedvirtual |
|
inlinestatic |
Create instance and return shared pointer
device | Robot corresponding to configurations |
init,end | Start and end configurations of the path |
length | Distance between the configurations. |
|
inlinestatic |
Create copy and return shared pointer
path | path to copy |
|
inline |
Get the final configuration.
|
virtual |
Extraction/Reversion of a sub-path
subInterval | interval of definition of the extract path If upper bound of subInterval is smaller than lower bound, result is reversed. |
|
protectedvirtual |
|
inlineprotected |
|
inline |
Get the initial configuration.
|
inlineprotectedvirtual |
Print path in a stream.
const core::value_type hpp::rbprm::interpolation::PolynomTrajectory::length_ |
const PolynomPtr_t hpp::rbprm::interpolation::PolynomTrajectory::polynom_ |
const core::value_type hpp::rbprm::interpolation::PolynomTrajectory::subSetEnd_ |
const core::value_type hpp::rbprm::interpolation::PolynomTrajectory::subSetStart_ |