Skip to content

fix remaining issues in #94#151

Merged
rhaschke merged 2 commits intomoveit:kinetic-develfrom
rhaschke:fix#94
Aug 26, 2016
Merged

fix remaining issues in #94#151
rhaschke merged 2 commits intomoveit:kinetic-develfrom
rhaschke:fix#94

Conversation

@rhaschke
Copy link
Copy Markdown
Contributor

We missed two issues before merging #94:

  • assignment doesn't work with ==
  • Switching to the correct WallDuration interface for MoveGroupInterface, made the constructors ambigue if not the full signature is specified. Hence, I propose to remove the default values for the old constructor. This will automatically choose the new version, which is preferred anyway.

Please also cherry-pick into Jade. #94 was not yet merged into Indigo. I will integrate this patch into #144 as well, which is the corresponding PR for Indigo.

.. to allow correctly waiting infinite time for move_group's
capabilities to come up
Switching to the correct WallDuration interface for MoveGroup,
make the constructor ambigue if not the full signature is used.

Removing the default values for the old constructor solves this issue.
This will automatically choose the new version in this case.
MOVEIT_DEPRECATED MoveGroup(const Options &opt, const boost::shared_ptr<tf::Transformer> &tf = boost::shared_ptr<tf::Transformer>(),
const ros::Duration &wait_for_servers = ros::Duration());
MOVEIT_DEPRECATED MoveGroup(const Options &opt, const boost::shared_ptr<tf::Transformer> &tf,
const ros::Duration &wait_for_servers);
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

does this break API?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

According to abi compliance checker this is fine: REPORT

@v4hn
Copy link
Copy Markdown
Contributor

v4hn commented Aug 25, 2016

This is neither an API nor an ABI problem, nifty.

LGTM +1

@rhaschke rhaschke merged commit 5968b63 into moveit:kinetic-devel Aug 26, 2016
@rhaschke rhaschke deleted the fix#94 branch August 26, 2016 08:29
@rhaschke
Copy link
Copy Markdown
Contributor Author

Cherry-picked into Jade.

JafarAbdi pushed a commit to JafarAbdi/moveit that referenced this pull request Mar 24, 2022
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