Skip to content

Commit

Permalink
[effort_controllers] JointGroupPositionController: Load URDF from nam…
Browse files Browse the repository at this point in the history
…espace

Mimics #245
  • Loading branch information
wxmerkt authored and bmagyar committed Aug 26, 2020
1 parent 1fd8d25 commit b603275
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion effort_controllers/src/joint_group_position_controller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ namespace effort_controllers

// Get URDF
urdf::Model urdf;
if (!urdf.initParam("robot_description"))
if (!urdf.initParamWithNodeHandle("robot_description", n))
{
ROS_ERROR("Failed to parse urdf file");
return false;
Expand Down

0 comments on commit b603275

Please sign in to comment.