hpp::core::SteeringMethodStraight Class Reference

Steering method that creates StraightPath instances. More...

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

Inheritance diagram for hpp::core::SteeringMethodStraight:
Collaboration diagram for hpp::core::SteeringMethodStraight:

Public Member Functions

virtual PathPtr_t impl_compute (ConfigurationIn_t q1, ConfigurationIn_t q2) const
 create a path between two configurations More...
 
- Public Member Functions inherited from hpp::core::SteeringMethod
PathPtr_t operator() (ConfigurationIn_t q1, ConfigurationIn_t q2) const
 create a path between two configurations More...
 
void constraints (const ConstraintSetPtr_t &constraints)
 Set constraint set. More...
 
const ConstraintSetPtr_tconstraints () const
 Get constraint set. More...
 

Static Public Member Functions

static SteeringMethodStraightPtr_t create (const DevicePtr_t &device)
 Create instance and return shared pointer. More...
 
static SteeringMethodStraightPtr_t create (const DevicePtr_t &device, const WeighedDistancePtr_t &distance)
 Create instance and return shared pointer. More...
 

Protected Member Functions

 SteeringMethodStraight (const DevicePtr_t &device)
 Constructor with robot Weighed distance is created from robot. More...
 
 SteeringMethodStraight (const DevicePtr_t &device, const WeighedDistancePtr_t &distance)
 Constructor with weighed distance. More...
 

Detailed Description

Steering method that creates StraightPath instances.

Constructor & Destructor Documentation

◆ SteeringMethodStraight() [1/2]

hpp::core::SteeringMethodStraight::SteeringMethodStraight ( const DevicePtr_t device)
inlineprotected

Constructor with robot Weighed distance is created from robot.

◆ SteeringMethodStraight() [2/2]

hpp::core::SteeringMethodStraight::SteeringMethodStraight ( const DevicePtr_t device,
const WeighedDistancePtr_t distance 
)
inlineprotected

Constructor with weighed distance.

Member Function Documentation

◆ create() [1/2]

static SteeringMethodStraightPtr_t hpp::core::SteeringMethodStraight::create ( const DevicePtr_t device)
inlinestatic

Create instance and return shared pointer.

◆ create() [2/2]

static SteeringMethodStraightPtr_t hpp::core::SteeringMethodStraight::create ( const DevicePtr_t device,
const WeighedDistancePtr_t distance 
)
inlinestatic

Create instance and return shared pointer.

◆ impl_compute()

virtual PathPtr_t hpp::core::SteeringMethodStraight::impl_compute ( ConfigurationIn_t  q1,
ConfigurationIn_t  q2 
) const
inlinevirtual

create a path between two configurations

Implements hpp::core::SteeringMethod.

References hpp::core::StraightPath::create().