hpp-rbprm
4.12.0
Implementation of RB-PRM planner using hpp.
|
#include <hpp/rbprm/planner/timed-parabola-path.hh>
Public Types | |
typedef ParabolaPath | parent_t |
![]() | |
typedef Path | parent_t |
Public Member Functions | |
virtual | ~TimedParabolaPath () |
Destructor. More... | |
virtual core::PathPtr_t | copy () const |
virtual core::PathPtr_t | copy (const core::ConstraintSetPtr_t &constraints) const |
virtual core::PathPtr_t | extract (const core::interval_t &subInterval) const |
virtual core::PathPtr_t | reverse () const |
void | initialConfig (core::ConfigurationIn_t initial) |
void | endConfig (core::ConfigurationIn_t end) |
core::DevicePtr_t | device () const |
Return the internal robot. More... | |
core::Configuration_t | initial () const |
Get the initial configuration. More... | |
core::Configuration_t | end () const |
Get the final configuration. More... | |
virtual core::value_type | length () const |
Get previously computed length. More... | |
![]() | |
virtual | ~ParabolaPath () |
Destructor. More... | |
void | initialConfig (core::ConfigurationIn_t initial) |
void | endConfig (core::ConfigurationIn_t end) |
core::DevicePtr_t | device () const |
Return the internal robot. More... | |
core::Configuration_t | initial () const |
Get the initial configuration. More... | |
core::Configuration_t | end () const |
Get the final configuration. More... | |
void | coefficients (core::vector_t coefs) const |
Set the three parabola coefficients. More... | |
core::vector_t | coefficients () const |
Get path coefficients. More... | |
virtual core::value_type | computeLength (const core::ConfigurationIn_t q1, const core::ConfigurationIn_t q2) const |
core::vector_t | evaluateVelocity (const core::value_type t) const |
Evaluate velocity vector at path abcissa t. More... | |
Static Public Member Functions | |
static TimedParabolaPathPtr_t | create (const core::DevicePtr_t &device, core::ConfigurationIn_t init, core::ConfigurationIn_t end, ParabolaPathPtr_t parabolaPath) |
static TimedParabolaPathPtr_t | create (const core::DevicePtr_t &device, core::ConfigurationIn_t init, core::ConfigurationIn_t end, core::value_type length, core::vector_t coefficients) |
static TimedParabolaPathPtr_t | create (const core::DevicePtr_t &device, core::ConfigurationIn_t init, core::ConfigurationIn_t end, core::value_type length, core::vector_t coefficients, core::vector_t V0, core::vector_t Vimp, std::vector< std::string > initialROMnames, std::vector< std::string > endROMnames) |
static TimedParabolaPathPtr_t | createCopy (const TimedParabolaPathPtr_t &path) |
static TimedParabolaPathPtr_t | createCopy (const TimedParabolaPathPtr_t &path, const core::ConstraintSetPtr_t &) |
![]() | |
static ParabolaPathPtr_t | create (const core::DevicePtr_t &device, core::ConfigurationIn_t init, core::ConfigurationIn_t end, core::value_type length, core::vector_t coefficients) |
static ParabolaPathPtr_t | create (const core::DevicePtr_t &device, core::ConfigurationIn_t init, core::ConfigurationIn_t end, core::value_type length, core::vector_t coefficients, core::vector_t V0, core::vector_t Vimp, std::vector< std::string > initialROMnames, std::vector< std::string > endROMnames) |
static ParabolaPathPtr_t | createCopy (const ParabolaPathPtr_t &path) |
static ParabolaPathPtr_t | createCopy (const ParabolaPathPtr_t &path, const core::ConstraintSetPtr_t &) |
Protected Member Functions | |
TimedParabolaPath (const core::DevicePtr_t &robot, core::ConfigurationIn_t init, core::ConfigurationIn_t end, ParabolaPathPtr_t parabolaPath) | |
Constructor. More... | |
TimedParabolaPath (const core::DevicePtr_t &robot, core::ConfigurationIn_t init, core::ConfigurationIn_t end, core::value_type length, core::vector_t coefficients) | |
Constructor. More... | |
TimedParabolaPath (const core::DevicePtr_t &robot, core::ConfigurationIn_t init, core::ConfigurationIn_t end, core::value_type length, core::vector_t coefs, core::vector_t V0, core::vector_t Vimp, std::vector< std::string > initialROMnames, std::vector< std::string > endROMnames) | |
Constructor with velocities and ROMnames. More... | |
TimedParabolaPath (const TimedParabolaPath &path) | |
Copy constructor. More... | |
void | init (TimedParabolaPathPtr_t self) |
virtual bool | impl_compute (core::ConfigurationOut_t result, core::value_type t) const |
Param is the time. More... | |
virtual double | computeTimedLength (double x_theta, double v0, double alpha0) |
virtual double | computeTimedLength (ParabolaPathPtr_t parabolaPath) |
virtual std::ostream & | print (std::ostream &os) const |
Print path in a stream. More... | |
![]() | |
ParabolaPath (const core::DevicePtr_t &robot, core::ConfigurationIn_t init, core::ConfigurationIn_t end, core::value_type length, core::vector_t coefficients) | |
Constructor. More... | |
ParabolaPath (const core::DevicePtr_t &device, core::ConfigurationIn_t init, core::ConfigurationIn_t end, core::value_type length, core::vector_t coefs, core::vector_t V0_, core::vector_t Vimp, std::vector< std::string > initialROMnames, std::vector< std::string > endROMnames) | |
Constructor with velocities and ROMnames. More... | |
ParabolaPath (const ParabolaPath &path) | |
Copy constructor. More... | |
core::value_type | lengthFunction (const core::value_type x) const |
void | init (ParabolaPathPtr_t self) |
Additional Inherited Members | |
![]() | |
core::value_type | alpha_ |
core::value_type | alphaMin_ |
core::value_type | alphaMax_ |
core::value_type | Xtheta_ |
core::value_type | Z_ |
core::vector_t | V0_ |
core::vector_t | Vimp_ |
std::vector< std::string > | initialROMnames_ |
std::vector< std::string > | endROMnames_ |
ballistic path between 2 configurations
call parabola-path but work with the time as parameter instead of x_theta
|
inlinevirtual |
Destructor.
|
protected |
Constructor.
|
protected |
Constructor.
|
protected |
Constructor with velocities and ROMnames.
|
protected |
Copy constructor.
|
protectedvirtual |
|
protectedvirtual |
|
inlinevirtual |
Return a shared pointer to this
As TimedParabolaPath are immutable, and refered to by shared pointers, they do not need to be copied.
Reimplemented from hpp::rbprm::ParabolaPath.
|
inlinevirtual |
Return a shared pointer to a copy of this and set constraints
constraints | constraints to apply to the copy *this should not have constraints. |
Reimplemented from hpp::rbprm::ParabolaPath.
|
inlinestatic |
Create instance and return shared pointer
device | Robot corresponding to configurations |
init,end | Start and end configurations of the path |
parabolaPath | : the path used to compute the position at given time |
|
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 instance and return shared pointer
device | Robot corresponding to configurations |
init,end | Start and end configurations of the path |
length | Distance between the configurations. |
V0,Vimp | initial and final velocity vectors |
initialROMnames,endROMnames | initial and final ROM names |
|
inlinestatic |
Create copy and return shared pointer
path | path to copy |
|
inlinestatic |
Create copy and return shared pointer
path | path to copy |
constraints | the path is subject to <!> constraints part NOT IMPLEMENTED YET |
core::DevicePtr_t hpp::rbprm::TimedParabolaPath::device | ( | ) | const |
Return the internal robot.
|
inline |
Get the final configuration.
|
inline |
Modify end configuration
end | new end 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. |
Reimplemented from hpp::rbprm::ParabolaPath.
|
protectedvirtual |
Param is the time.
Reimplemented from hpp::rbprm::ParabolaPath.
|
inlineprotected |
|
inline |
Get the initial configuration.
|
inline |
Modify initial configuration
initial | new initial configuration |
|
inlinevirtual |
Get previously computed length.
Reimplemented from hpp::rbprm::ParabolaPath.
|
inlineprotectedvirtual |
Print path in a stream.
Reimplemented from hpp::rbprm::ParabolaPath.
|
virtual |
Reversion of a path
Reimplemented from hpp::rbprm::ParabolaPath.