Skip to content
Snippets Groups Projects
Commit 8b23a94a authored by Joseph Mirabel's avatar Joseph Mirabel Committed by Joseph Mirabel
Browse files

Add parameter ManipulationPlanner/ExtendStep

parent 0b88bd47
No related branches found
No related tags found
No related merge requests found
......@@ -116,7 +116,7 @@ namespace hpp {
};
static const std::vector<Reason> reasons_;
const value_type extendStep_;
value_type extendStep_;
mutable Configuration_t qProj_;
};
......
......@@ -449,7 +449,7 @@ namespace hpp {
core::PathPlanner (problem, roadmap),
shooter_ (problem.configurationShooter()),
problem_ (problem), roadmap_ (roadmap),
extendStep_ (1),
extendStep_ (problem.getParameter<value_type>("ManipulationPlanner/ExtendStep", 1)),
qProj_ (problem.robot ()->configSize ())
{}
......
......@@ -30,6 +30,8 @@ namespace hpp {
Parent::steeringMethod (GraphSteeringMethod::create (this));
distance (WeighedDistance::create (robot, graph_));
setPathValidationFactory(core::DiscretizedCollisionChecking::create, 0.05);
// add<boost::any>("ManipulationPlanner/ExtendStep", (value_type)1);
}
void Problem::constraintGraph (const graph::GraphPtr_t& graph)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment