hpp-core 7.0.0
Implement basic classes for canonical path planning for kinematic chains.
Loading...
Searching...
No Matches
hpp::core::SteeringMethod Class Referenceabstract

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

Inheritance 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.
ProblemConstPtr_t problem () 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.
const ConstraintSetPtr_tconstraints () const
 Get constraint set.

Protected Member Functions

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

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 ProblemConstPtr_t &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]

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

Get constraint set.

◆ constraints() [2/2]

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

Set constraint set.

◆ copy()

◆ impl_compute()

◆ init()

void hpp::core::SteeringMethod::init(SteeringMethodWkPtr_tweak)
inlineprotected

Store weak pointer to itself.

◆ operator()()

PathPtr_t hpp::core::SteeringMethod::operator()(ConfigurationIn_tq1,
ConfigurationIn_tq2 ) 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()

ProblemConstPtr_t hpp::core::SteeringMethod::problem()const
inline

◆ steer()

PathPtr_t hpp::core::SteeringMethod::steer(ConfigurationIn_tq1,
ConfigurationIn_tq2 ) const
inline


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