Skip to content
Snippets Groups Projects
Commit 55ed9ff6 authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

fix example-robot-data use

parent 199d81f9
No related branches found
No related tags found
No related merge requests found
Pipeline #33963 failed
......@@ -80,12 +80,11 @@ void initialize(bool ur5) {
hpp::manipulation::ProblemPtr_t problem(
hpp::manipulation::Problem::create(robot));
if (ur5) {
hpp::pinocchio::urdf::loadModel(
robot, 0, "ur5/", "anchor",
"package://example-robot-data/robots/ur_description/urdf/"
"ur5_joint_limited_robot.urdf",
"package://example-robot-data/robots/ur_description/srdf/"
"ur5_joint_limited_robot.srdf");
hpp::pinocchio::urdf::loadModel(robot, 0, "ur5/", "anchor",
"package://ur_description/urdf/"
"ur5_joint_limited_robot.urdf",
"package://ur_description/srdf/"
"ur5_joint_limited_robot.srdf");
}
SteeringMethodPtr_t sm(
hpp::manipulation::steeringMethod::Graph::create(problem));
......
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