hpp-core  4.9.0
Implement basic classes for canonical path planning for kinematic chains.
hpp::core::SteeringMethod Class Referenceabstract

#include <hpp/core/steering-method.hh>

Inheritance diagram for hpp::core::SteeringMethod:
Collaboration diagram for hpp::core::SteeringMethod:

Public Member Functions

PathPtr_t operator() (ConfigurationIn_t q1, ConfigurationIn_t q2) const
 
PathPtr_t steer (ConfigurationIn_t q1, ConfigurationIn_t q2) const
 
virtual ~SteeringMethod ()
 
virtual SteeringMethodPtr_t copy () const =0
 Copy instance and return shared pointer. More...
 
const Problemproblem () const
 
Constraints applicable to the robot.

These constraints are not automatically taken into account. Child class can use it if they need.

void constraints (const ConstraintSetPtr_t &constraints)
 Set constraint set. More...
 
const ConstraintSetPtr_tconstraints () const
 Get constraint set. More...
 

Protected Member Functions

 SteeringMethod (const Problem &problem)
 Constructor. More...
 
 SteeringMethod (const SteeringMethod &other)
 
virtual PathPtr_t impl_compute (ConfigurationIn_t q1, ConfigurationIn_t q2) const =0
 create a path between two configurations More...
 
void init (SteeringMethodWkPtr_t weak)
 Store weak pointer to itself. More...
 

Protected Attributes

const Problemproblem_
 

Detailed Description

Steering method

A steering method creates paths between pairs of configurations for a robot. They are usually used to take into account nonholonomic constraints of some robots

Constructor & Destructor Documentation

◆ ~SteeringMethod()

virtual hpp::core::SteeringMethod::~SteeringMethod ( )
inlinevirtual

◆ SteeringMethod() [1/2]

hpp::core::SteeringMethod::SteeringMethod ( const Problem problem)
inlineprotected

Constructor.

◆ SteeringMethod() [2/2]

hpp::core::SteeringMethod::SteeringMethod ( const SteeringMethod other)
inlineprotected

Copy constructor

Constraints are copied

Member Function Documentation

◆ constraints() [1/2]

void hpp::core::SteeringMethod::constraints ( const ConstraintSetPtr_t constraints)
inline

Set constraint set.

◆ constraints() [2/2]

const ConstraintSetPtr_t& hpp::core::SteeringMethod::constraints ( ) const
inline

Get constraint set.

◆ copy()

◆ impl_compute()

◆ init()

void hpp::core::SteeringMethod::init ( SteeringMethodWkPtr_t  weak)
inlineprotected

Store weak pointer to itself.

◆ operator()()

PathPtr_t hpp::core::SteeringMethod::operator() ( ConfigurationIn_t  q1,
ConfigurationIn_t  q2 
) const
inline

create a path between two configurations

Returns
a Path from q1 to q2 if found. An empty Path if Path could not be built.
Note
if q1 == q2, the steering method should not return an empty shared pointer.

◆ problem()

const Problem& hpp::core::SteeringMethod::problem ( ) const
inline

◆ steer()

PathPtr_t hpp::core::SteeringMethod::steer ( ConfigurationIn_t  q1,
ConfigurationIn_t  q2 
) const
inline

Member Data Documentation

◆ problem_

const Problem& hpp::core::SteeringMethod::problem_
protected

The documentation for this class was generated from the following file: