Skip to content

Use lookupParam() in kinematics plugins - #714

Merged
130s merged 7 commits into
moveit:kinetic-develfrom
henningkayser:kinetic-devel_lookup-param
Dec 18, 2017
Merged

130s merged 7 commits into
moveit:kinetic-develfrom
henningkayser:kinetic-devel_lookup-param

Conversation

@henningkayser

Copy link
Copy Markdown
Member

This PR replaces the param() calls inside moveit_kinematics plugins with the lookup function lookupParam() introduced here.

The lookup function looks for the parameters in the following locations:

  • ~/<group_name>/
  • ~/
  • robot_description_kinematics/<group_name>/
  • robot_description_kinematics/

Using this function allows setting the required parameters inside the kinematics.yaml either with or without the corresponding group name.

Since all of the plugins query some parameters under group_name in their private namespace, this location is added to lookupParam() with this commit.

@v4hn

@v4hn v4hn left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I discussed these changes with @henhenhen before he filed the request.

I approve.

I believe we also want this back in indigo. It changes behavior, but it only looks at more locations for the parameters and will still work with the previous parameter locations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants