Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove deprecated ExecuteTrajectoryServiceCapability in Melodic #833

Merged
merged 1 commit into from
May 18, 2018

Conversation

davetcoleman
Copy link
Member

Description

Final step for #60

I also created a migration document to help users move to Melodic

Checklist

  • Required: Code is auto formatted using clang-format
  • Extended the tutorials / documentation, if necessary reference
    Checked - none applicable
  • Include a screenshot if changing a GUI
    No GUI
  • Optional: Created tests, which fail without this PR reference
  • Optional: Decide if this should be cherry-picked to other current ROS branches (Indigo, Jade, Kinetic)
    Do not cherry pick

Copy link
Contributor

@v4hn v4hn left a comment

Choose a reason for hiding this comment

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

Looks pretty good!
I guess there are a number of similar things around, we might want to clean up for melodic.

I added two minor changes and some requests/comments.

@@ -6,6 +6,7 @@ Please explain the changes you made, including a reference to the related issue
- [ ] **Required**: Code is auto formatted using [clang-format](http://moveit.ros.org/documentation/contributing/code)
- [ ] Extended the tutorials / documentation, if necessary [reference](http://moveit.ros.org/documentation/contributing/)
- [ ] Include a screenshot if changing a GUI
- [ ] Document major API changes in the moveit/MIGRATION.md notes
Copy link
Contributor

Choose a reason for hiding this comment

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

👍 👍 👍
should have been a separate commit though...

MIGRATION Outdated
@@ -0,0 +1,7 @@
# Migration Notes
Copy link
Contributor

Choose a reason for hiding this comment

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

shouldn't this be MIGRATION.md?

Copy link
Member Author

Choose a reason for hiding this comment

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

thanks for changing this

MIGRATION Outdated
## ROS Melodic

The move_group capability "ExecuteTrajectoryServiceCapability" has been removed in favor of the improved "ExecuteTrajectoryActionCapability" capability.
Since indigo, both capabilities were supported. If you still load default capabilities in your config/launch/move_group.launch, you can just remove them from the capabilities parameter. The correct default capabilities will be loaded automatically.
Copy link
Contributor

Choose a reason for hiding this comment

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

I added some explanation for users.

Copy link
Member Author

Choose a reason for hiding this comment

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

thanks

@@ -240,14 +240,10 @@ class MoveGroupInterface::MoveGroupInterfaceImpl
{
Copy link
Contributor

Choose a reason for hiding this comment

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

please rename this function too.

Copy link
Member Author

Choose a reason for hiding this comment

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

done

ROS_ERROR_STREAM_NAMED("planning_interface", "Unable to find execution action on topic: "
<< node_handle_.getNamespace() + move_group::EXECUTE_ACTION_NAME
<< " - perhaps you are still using the removed (in Melodic) "
"execute service?");
Copy link
Contributor

Choose a reason for hiding this comment

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

I would remove the last part here.
It is meant as support for the user, but the much more likely reason for this warning is simply that the move_group node is not running/died.

Copy link
Member Author

Choose a reason for hiding this comment

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

done

MIGRATION Outdated
@@ -0,0 +1,8 @@
# Migration Notes

API changes in MoveIt releases
Copy link
Contributor

Choose a reason for hiding this comment

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

Also this file should really be documented somewhere everyone will look when transitioning their code.
Otherwise it might as well not exist. ⚠️

MIGRATION Outdated
The move_group capability "ExecuteTrajectoryServiceCapability" has been removed in favor of the improved "ExecuteTrajectoryActionCapability" capability.
Since indigo, both capabilities were supported. If you still load default capabilities in your config/launch/move_group.launch, you can just remove them from the capabilities parameter. The correct default capabilities will be loaded automatically.
Copy link
Contributor

Choose a reason for hiding this comment

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

Indigo (captial)?

@v4hn v4hn mentioned this pull request Apr 25, 2018
@davetcoleman davetcoleman force-pushed the melodic-execute-service branch 2 times, most recently from 1bfd193 to fb4c6cd Compare May 14, 2018 06:06
@rhaschke
Copy link
Contributor

@davetcoleman Can you please rebase?
@v4hn Can you please approve?

@rhaschke rhaschke added the melodic PRs to be merged into melodic branch label May 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
melodic PRs to be merged into melodic branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants