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) { ...@@ -80,12 +80,11 @@ void initialize(bool ur5) {
hpp::manipulation::ProblemPtr_t problem( hpp::manipulation::ProblemPtr_t problem(
hpp::manipulation::Problem::create(robot)); hpp::manipulation::Problem::create(robot));
if (ur5) { if (ur5) {
hpp::pinocchio::urdf::loadModel( hpp::pinocchio::urdf::loadModel(robot, 0, "ur5/", "anchor",
robot, 0, "ur5/", "anchor", "package://ur_description/urdf/"
"package://example-robot-data/robots/ur_description/urdf/" "ur5_joint_limited_robot.urdf",
"ur5_joint_limited_robot.urdf", "package://ur_description/srdf/"
"package://example-robot-data/robots/ur_description/srdf/" "ur5_joint_limited_robot.srdf");
"ur5_joint_limited_robot.srdf");
} }
SteeringMethodPtr_t sm( SteeringMethodPtr_t sm(
hpp::manipulation::steeringMethod::Graph::create(problem)); 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