Skip to content

skip non-actuated joints for trajectory execution - #753

Merged
rhaschke merged 2 commits into
moveit:indigo-develfrom
rkeatin3:indigo-devel
Feb 14, 2018
Merged

rhaschke merged 2 commits into
moveit:indigo-develfrom
rkeatin3:indigo-devel

Conversation

@rkeatin3

Copy link
Copy Markdown
Contributor

Description

I have made two modifications for treatment of passive joints:

  1. They are no longer output as part of a trajectory for whichever group they belong to.
  2. They are no longer included in the joint list for the group's fake controller.

See Issue 640 for more information.

Checklist

  • Required: Code is auto formatted using clang-format
  • Extended the tutorials / documentation, if necessary reference

Exclude passive joints from trajectories to execute and the lists for fake controllers.
Reformatting changes with clang-format-3.8.
@rkeatin3 rkeatin3 changed the title Indigo devel Remove passive joints from trajectories Jan 30, 2018

@rhaschke rhaschke 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.

For Indigo I approve this PR. For Kinetic I suggest to exploit C++11 features to make the source less verbose.

@rhaschke rhaschke changed the title Remove passive joints from trajectories skip non-actuated joints for trajectory execution Jan 30, 2018
rhaschke added a commit to ubi-agni/moveit that referenced this pull request Jan 30, 2018
@rhaschke

rhaschke commented Feb 9, 2018

Copy link
Copy Markdown
Contributor

@davetcoleman @v4hn Could someone please approve and merge this and #754? It's a tiny change.

@davetcoleman

Copy link
Copy Markdown
Member

I like this change but will configurations of existing fake controllers already generated in the MSA throw an error if the passive/mimic/fixed joints are no longer included?

@rhaschke

Copy link
Copy Markdown
Contributor

@davetcoleman The fake controllers don't care about the joint list they received during setup. They simply forward the joint list received from a RobotTrajectory:
https://github.com/ros-planning/moveit/blob/kinetic-devel/moveit_plugins/moveit_fake_controller_manager/src/moveit_fake_controllers.cpp#L87
https://github.com/ros-planning/moveit/blob/kinetic-devel/moveit_plugins/moveit_fake_controller_manager/src/moveit_fake_controllers.cpp#L168

Hence, passive and mimic joints are no longer commanded by the fake controllers. However, joint_state_publisher takes care of computing mimic joints.

@rhaschke
rhaschke merged commit 1f56289 into moveit:indigo-devel Feb 14, 2018
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