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
Guilhem Saurel
test-hpp
Commits
171f8199
Commit
171f8199
authored
Apr 24, 2014
by
Florent Lamiraux
Browse files
Update to new interface of hpp-model-urdf.
parent
4e7cb211
Changes
3
Hide whitespace changes
Inline
Side-by-side
tests/body-positions-mesh.cc.in
View file @
171f8199
...
...
@@ -67,9 +67,10 @@ BOOST_AUTO_TEST_CASE (body_positions_mesh)
}
fileConfig.close ();
// Load hrp2
hpp::model::HumanoidRobotPtr_t humanoidRobot;
hpp::model::urdf::loadRobotModel
(humanoidRobot, "freeflyer", "hrp2_14", "", "");
hpp::model::HumanoidRobotPtr_t humanoidRobot =
hpp::model::urdf::loadHumanoidModel("hrp2_14", "freeflyer",
"hrp2_14_description", "hrp2_14",
"", "");
configSize = humanoidRobot->configSize ();
// Check size of config
if (dofs.size () != configSize) {
...
...
tests/interbody-distances-capsule.cc.in
View file @
171f8199
...
...
@@ -131,9 +131,10 @@ BOOST_AUTO_TEST_CASE (interbody_distances_capsule)
}
fileConfig.close ();
// Load hrp2
hpp::model::HumanoidRobotPtr_t humanoidRobot;
hpp::model::urdf::loadRobotModel
(humanoidRobot, "freeflyer", "hrp2_14", "_capsule", "_capsule");
hpp::model::HumanoidRobotPtr_t humanoidRobot =
hpp::model::urdf::loadHumanoidModel("hrp2_14", "freeflyer",
"hrp2_14_description", "hrp2_14",
"_capsule", "_capsule");
configSize = humanoidRobot->configSize ();
// Check size of config
if (dofs.size () != configSize) {
...
...
tests/interbody-distances-mesh.cc.in
View file @
171f8199
...
...
@@ -131,9 +131,10 @@ BOOST_AUTO_TEST_CASE (interbody_distances_mesh)
}
fileConfig.close ();
// Load hrp2
hpp::model::HumanoidRobotPtr_t humanoidRobot;
hpp::model::urdf::loadRobotModel
(humanoidRobot, "freeflyer", "hrp2_14", "", "");
hpp::model::HumanoidRobotPtr_t humanoidRobot =
hpp::model::urdf::loadHumanoidModel("hrp2_14", "freeflyer",
"hrp2_14_description", "hrp2_14",
"", "");
configSize = humanoidRobot->configSize ();
// Check size of config
if (dofs.size () != configSize) {
...
...
Write
Preview
Markdown
is supported
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