Commit 3878b257 authored by Florent Lamiraux's avatar Florent Lamiraux Committed by Florent Lamiraux florent@laas.fr
Browse files

[Problem] In constructor, create a GoalConfiguration instance

  This object does not seems very useful, this modification enable users not
  to create themself an instance.
parent 4310e989
Pipeline #3617 failed with stage
in 34 minutes and 9 seconds
......@@ -25,7 +25,7 @@
#include <hpp/core/collision-validation.hh>
#include <hpp/core/joint-bound-validation.hh>
#include <hpp/core/config-validations.hh>
#include <hpp/core/problem-target.hh>
#include <hpp/core/problem-target/goal-configurations.hh>
#include <hpp/core/configuration-shooter/uniform.hh>
#include <hpp/core/steering-method/straight.hh>
#include <hpp/core/weighed-distance.hh>
......@@ -74,7 +74,8 @@ namespace hpp {
Problem::Problem (DevicePtr_t robot) :
robot_ (robot),
distance_ (WeighedDistance::create (robot)),
initConf_ (), goalConfigurations_ (), target_ (),
initConf_ (), goalConfigurations_ (), target_
(problemTarget::GoalConfigurations::create (this)),
steeringMethod_ (steeringMethod::Straight::create (*this)),
configValidations_ (),
pathValidation_ (pathValidation::createDiscretizedCollisionChecking
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment