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

[unittest][URDF] Fix non retrocompatible API usage.

parent 1002170c
No related branches found
No related tags found
No related merge requests found
......@@ -99,7 +99,7 @@ BOOST_AUTO_TEST_CASE ( build_model_from_UDRFTree )
::urdf::ModelInterfaceSharedPtr urdfTree = ::urdf::parseURDFFile(filename);
pinocchio::Model model;
pinocchio::urdf::buildModel(urdfTree, model);
pinocchio::urdf::buildModel(urdfTree.get(), model);
BOOST_CHECK(model.nq == 31);
}
......@@ -140,7 +140,7 @@ BOOST_AUTO_TEST_CASE ( build_model_with_joint_from_UDRFTree )
::urdf::ModelInterfaceSharedPtr urdfTree = ::urdf::parseURDFFile(filename);
pinocchio::Model model;
pinocchio::urdf::buildModel(urdfTree, pinocchio::JointModelFreeFlyer(), model);
pinocchio::urdf::buildModel(urdfTree.get(), pinocchio::JointModelFreeFlyer(), model);
BOOST_CHECK(model.nq == 38);
}
......
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