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());
62 return this->operator() (q1, q2);
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)
125 SteeringMethodWkPtr_t weak_;
130 #endif // HPP_CORE_STEERING_METHOD_HH boost::shared_ptr< Path > PathPtr_t
Definition: fwd.hh:170
pinocchio::ConfigurationIn_t ConfigurationIn_t
Definition: fwd.hh:97
#define hppDout(channel, data)
Definition: problem.hh:48
virtual ~SteeringMethod()
Definition: steering-method.hh:65
Definition: steering-method.hh:38
boost::shared_ptr< ConstraintSet > ConstraintSetPtr_t
Definition: fwd.hh:110
const ConstraintSetPtr_t & constraints() const
Get constraint set.
Definition: steering-method.hh:87
#define HPP_DYNAMIC_PTR_CAST(t, x)
SteeringMethod(const Problem &problem)
Constructor.
Definition: steering-method.hh:95
Definition: projection-error.hh:26
virtual const char * what() const
Definition: projection-error.hh:40
assert(d.lhs()._blocks()==d.rhs()._blocks())
void init(SteeringMethodWkPtr_t weak)
Store weak pointer to itself.
Definition: steering-method.hh:114
PathPtr_t steer(ConfigurationIn_t q1, ConfigurationIn_t q2) const
Definition: steering-method.hh:60
SteeringMethod(const SteeringMethod &other)
Definition: steering-method.hh:102
const Problem & problem() const
Definition: steering-method.hh:70
boost::shared_ptr< SteeringMethod > SteeringMethodPtr_t
Definition: fwd.hh:194
Definition: constraint-set.hh:36
const Problem & problem_
Definition: steering-method.hh:119
void constraints(const ConstraintSetPtr_t &constraints)
Set constraint set.
Definition: steering-method.hh:81