hpp-core
4.11.0
Implement basic classes for canonical path planning for kinematic chains.
|
Go to the documentation of this file.
19 #ifndef HPP_CORE_STEERING_METHOD_HH
20 # define HPP_CORE_STEERING_METHOD_HH
22 # include <hpp/util/debug.hh>
51 path = impl_compute (q1, q2);
53 hppDout (info,
"Could not build path: " << e.
what());
55 assert (q1 != q2 || path);
62 return this->operator() (q1, q2);
72 return problem_.lock();
83 constraints_ = constraints;
96 problem_ (problem), constraints_ (), weak_ ()
103 problem_ (other.problem_), constraints_ (), weak_ ()
105 if (other.constraints_) {
107 other.constraints_->copy ());
114 void init (SteeringMethodWkPtr_t weak)
120 ProblemConstWkPtr_t problem_;
124 SteeringMethodWkPtr_t weak_;
129 #endif // HPP_CORE_STEERING_METHOD_HH
ProblemConstPtr_t problem() const
Definition: steering-method.hh:70
const ConstraintSetPtr_t & constraints() const
Get constraint set.
Definition: steering-method.hh:87
pinocchio::ConfigurationIn_t ConfigurationIn_t
Definition: fwd.hh:97
Definition: projection-error.hh:26
shared_ptr< const Problem > ProblemConstPtr_t
Definition: fwd.hh:180
virtual const char * what() const
Definition: projection-error.hh:40
shared_ptr< Path > PathPtr_t
Definition: fwd.hh:170
void init(SteeringMethodWkPtr_t weak)
Store weak pointer to itself.
Definition: steering-method.hh:114
Definition: constraint-set.hh:36
Definition: bi-rrt-planner.hh:24
PathPtr_t steer(ConfigurationIn_t q1, ConfigurationIn_t q2) const
Definition: steering-method.hh:60
Definition: steering-method.hh:38
shared_ptr< ConstraintSet > ConstraintSetPtr_t
Definition: fwd.hh:110
SteeringMethod(const SteeringMethod &other)
Definition: steering-method.hh:102
shared_ptr< SteeringMethod > SteeringMethodPtr_t
Definition: fwd.hh:195
void constraints(const ConstraintSetPtr_t &constraints)
Set constraint set.
Definition: steering-method.hh:81
SteeringMethod(const ProblemConstPtr_t &problem)
Constructor.
Definition: steering-method.hh:95
#define HPP_CORE_DLLAPI
Definition: config.hh:64
virtual ~SteeringMethod()
Definition: steering-method.hh:65