hpp-core  4.9.0
Implement basic classes for canonical path planning for kinematic chains.
hpp::core::steeringMethod::ReedsShepp Class Reference

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

Inheritance diagram for hpp::core::steeringMethod::ReedsShepp:
Collaboration diagram for hpp::core::steeringMethod::ReedsShepp:

Public Member Functions

virtual SteeringMethodPtr_t copy () const
 Copy instance and return shared pointer. More...
 
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::CarLike
virtual ~CarLike ()
 
void setWheelJoints (const std::vector< JointPtr_t > wheels)
 Set the wheels. More...
 
void computeRadius ()
 
- Public Member Functions inherited from hpp::core::SteeringMethod
PathPtr_t operator() (ConfigurationIn_t q1, ConfigurationIn_t q2) const
 
PathPtr_t steer (ConfigurationIn_t q1, ConfigurationIn_t q2) const
 
virtual ~SteeringMethod ()
 
const Problemproblem () const
 
void constraints (const ConstraintSetPtr_t &constraints)
 Set constraint set. More...
 
const ConstraintSetPtr_tconstraints () const
 Get constraint set. More...
 

Static Public Member Functions

static ReedsSheppPtr_t createWithGuess (const Problem &problem)
 
static ReedsSheppPtr_t create (const Problem &problem, const value_type turningRadius, JointPtr_t xyJoint, JointPtr_t rzJoint, std::vector< JointPtr_t > wheels=std::vector< JointPtr_t >())
 
static ReedsSheppPtr_t createCopy (const ReedsSheppPtr_t &other)
 Copy instance and return shared pointer. More...
 

Protected Member Functions

 ReedsShepp (const Problem &problem)
 Constructor. More...
 
 ReedsShepp (const Problem &problem, const value_type turningRadius, JointPtr_t xyJoint, JointPtr_t rzJoint, std::vector< JointPtr_t > wheels)
 Constructor. More...
 
 ReedsShepp (const ReedsShepp &other)
 Copy constructor. More...
 
void init (ReedsSheppWkPtr_t weak)
 Store weak pointer to itself. More...
 
- Protected Member Functions inherited from hpp::core::steeringMethod::CarLike
 CarLike (const Problem &problem)
 Constructor. More...
 
 CarLike (const Problem &problem, const value_type turningRadius, JointPtr_t xyJoint, JointPtr_t rzJoint, std::vector< JointPtr_t > wheels)
 Constructor. More...
 
 CarLike (const CarLike &other)
 Copy constructor. More...
 
void init (CarLikeWkPtr_t weak)
 Store weak pointer to itself. More...
 
- Protected Member Functions inherited from hpp::core::SteeringMethod
 SteeringMethod (const Problem &problem)
 Constructor. More...
 
 SteeringMethod (const SteeringMethod &other)
 
void init (SteeringMethodWkPtr_t weak)
 Store weak pointer to itself. More...
 

Additional Inherited Members

- Protected Attributes inherited from hpp::core::steeringMethod::CarLike
DeviceWkPtr_t device_
 
value_type rho_
 
JointPtr_t xy_
 
JointPtr_t rz_
 
size_type xyId_
 
size_type rzId_
 
std::vector< JointPtr_twheels_
 
- Protected Attributes inherited from hpp::core::SteeringMethod
const Problemproblem_
 

Detailed Description

Steering method that creates ReedsSheppPath instances

Constructor & Destructor Documentation

◆ ReedsShepp() [1/3]

hpp::core::steeringMethod::ReedsShepp::ReedsShepp ( const Problem problem)
protected

Constructor.

◆ ReedsShepp() [2/3]

hpp::core::steeringMethod::ReedsShepp::ReedsShepp ( const Problem problem,
const value_type  turningRadius,
JointPtr_t  xyJoint,
JointPtr_t  rzJoint,
std::vector< JointPtr_t wheels 
)
protected

Constructor.

◆ ReedsShepp() [3/3]

hpp::core::steeringMethod::ReedsShepp::ReedsShepp ( const ReedsShepp other)
protected

Copy constructor.

Member Function Documentation

◆ copy()

virtual SteeringMethodPtr_t hpp::core::steeringMethod::ReedsShepp::copy ( ) const
inlinevirtual

Copy instance and return shared pointer.

Implements hpp::core::SteeringMethod.

◆ create()

static ReedsSheppPtr_t hpp::core::steeringMethod::ReedsShepp::create ( const Problem problem,
const value_type  turningRadius,
JointPtr_t  xyJoint,
JointPtr_t  rzJoint,
std::vector< JointPtr_t wheels = std::vector<JointPtr_t>() 
)
inlinestatic

Create an instance

This constructor does no assumption.

◆ createCopy()

static ReedsSheppPtr_t hpp::core::steeringMethod::ReedsShepp::createCopy ( const ReedsSheppPtr_t other)
inlinestatic

Copy instance and return shared pointer.

◆ createWithGuess()

static ReedsSheppPtr_t hpp::core::steeringMethod::ReedsShepp::createWithGuess ( const Problem problem)
inlinestatic

Create an instance

This constructor assumes that:

  • the 2 parameters of the configurations corresponds to the XY translation joint,
  • the 2 following parameters corresponds to the RZ unbounded rotation joint. Use Carlike::setWheelJoints to set the wheel joints.

◆ impl_compute()

virtual PathPtr_t hpp::core::steeringMethod::ReedsShepp::impl_compute ( ConfigurationIn_t  q1,
ConfigurationIn_t  q2 
) const
virtual

create a path between two configurations

Implements hpp::core::SteeringMethod.

◆ init()

void hpp::core::steeringMethod::ReedsShepp::init ( ReedsSheppWkPtr_t  weak)
inlineprotected

Store weak pointer to itself.


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