Commit 22f96b2a authored by Florent Lamiraux's avatar Florent Lamiraux
Browse files

Fix test on roadmap.

parent 003dd6a2
...@@ -78,9 +78,9 @@ BOOST_AUTO_TEST_CASE (Roadmap1) { ...@@ -78,9 +78,9 @@ BOOST_AUTO_TEST_CASE (Roadmap1) {
// Create steering method // Create steering method
SteeringMethodStraightPtr_t sm = SteeringMethodStraight::create (robot); SteeringMethodStraightPtr_t sm = SteeringMethodStraight::create (robot);
// create roadmap // create roadmap
RoadmapPtr_t r = Roadmap::create (WeighedDistance::create hpp::core::DistancePtr_t distance (WeighedDistance::create
(robot, boost::assign::list_of (1)(1)), (robot, boost::assign::list_of (1)(1)));
robot); RoadmapPtr_t r = Roadmap::create (distance, robot);
std::vector <NodePtr_t> nodes; std::vector <NodePtr_t> nodes;
......
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