Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Humanoid Path Planner
hpp-core
Commits
6c5449e3
Commit
6c5449e3
authored
Aug 03, 2016
by
Pierre Fernbach
Browse files
fix error in unit test roadmap
parent
64dbc6d4
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/roadmap-1.cc
View file @
6c5449e3
...
...
@@ -82,7 +82,7 @@ BOOST_AUTO_TEST_CASE (Roadmap1) {
Problem
p
=
Problem
(
robot
);
SteeringMethodStraightPtr_t
sm
=
SteeringMethodStraight
::
create
(
&
p
);
// create roadmap
hpp
::
core
::
DistancePtr_t
distance
(
WeighedDistance
::
create
hpp
::
core
::
DistancePtr_t
distance
(
WeighedDistance
::
create
WithWeight
(
robot
,
boost
::
assign
::
list_of
(
1
)(
1
)));
RoadmapPtr_t
r
=
Roadmap
::
create
(
distance
,
robot
);
...
...
@@ -306,7 +306,7 @@ BOOST_AUTO_TEST_CASE (nearestNeighbor) {
Problem
p
(
robot
);
SteeringMethodStraightPtr_t
sm
=
SteeringMethodStraight
::
create
(
&
p
);
// create roadmap
hpp
::
core
::
DistancePtr_t
distance
(
WeighedDistance
::
create
hpp
::
core
::
DistancePtr_t
distance
(
WeighedDistance
::
create
WithWeight
(
robot
,
boost
::
assign
::
list_of
(
1
)(
1
)));
RoadmapPtr_t
r
=
Roadmap
::
create
(
distance
,
robot
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment