-
Notifications
You must be signed in to change notification settings - Fork 688
Pick plan tutorial #182
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
Merged
mlautman
merged 9 commits into
moveit:kinetic-devel
from
Ridhwanluthra:pick_plan_tutorial
Jul 13, 2018
Merged
Pick plan tutorial #182
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
96596c5
A very basic implimentation of pick and place is working
6440c37
Added support surfaces and now we have a sensible looking pipeline
539d784
streamlining
9afa903
Merge branch 'kinetic-devel' of https://github.com/ros-planning/movei…
1172e26
Built Tutorial for pick_place
07862ad
Merge remote-tracking branch 'upstream/kinetic-devel' into pick_plan_…
82ad19d
handling reviews and improving formating
8665f8c
fixing spelling and adding a note and todo for a known issue
662440d
fixing styling, typos and naming
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,50 @@ | ||
| Pick and Place Tutorial | ||
| ============================ | ||
|
|
||
| In MoveIt!, grasping is done using the MoveGroup interface. In order to grasp an object we need to create ``moveit_msgs::Grasp`` msg which will allow defining the various poses and postures involved in a grasping operation. | ||
| Watch this video to see the output of this tutorial: | ||
|
|
||
| .. raw:: html | ||
|
|
||
| <div style="position: relative; padding-bottom: 5%; height: 0; overflow: hidden; max-width: 100%; height: auto;"> | ||
| <iframe width="700px" height="400px" src="https://www.youtube.com/embed/cHxkQwSyrgY?rel=0" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe> | ||
| </div> | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Nice! |
||
|
|
||
| Getting Started | ||
| --------------- | ||
| If you haven't already done so, make sure you've completed the steps in `Getting Started <../getting_started/getting_started.html>`_. | ||
|
|
||
| Running The Demo | ||
| ---------------- | ||
| Open two terminals. In the first terminal start RViz and wait for everything to finish loading: :: | ||
|
|
||
| roslaunch panda_moveit_config demo.launch | ||
|
|
||
| In the second terminal run the pick and place tutorial: :: | ||
|
|
||
| rosrun moveit_tutorials pick_place_tutotrial | ||
|
|
||
| You should see something similar to the video at the beginning of this tutorial. | ||
|
|
||
| Understanding ``moveit_msgs::Grasp`` | ||
| ------------------------------------ | ||
| For complete documentation refer to `moveit_msgs/Grasp.msg. <http://docs.ros.org/kinetic/api/moveit_msgs/html/msg/Grasp.html>`_ | ||
|
|
||
| The relevant fields of the message are:- | ||
|
|
||
| * ``trajectory_msgs/JointTrajectory pre_grasp_posture`` - This defines the trajectory position of the joints in the end effector group before we go in for the grasp. | ||
| * ``trajectory_msgs/JointTrajectory grasp_posture`` - This defines the trajectory position of the joints in the end effector group for grasping the object. | ||
| * ``geometry_msgs/PoseStamped grasp_pose`` - Pose of the end effector in which it should attempt grasping. | ||
| * ``moveit_msgs/GripperTranslation pre_grasp_approach`` - This is used to define the direction from which to approach the object and the distance to travel. | ||
| * ``moveit_msgs/GripperTranslation post_grasp_retreat`` - This is used to define the direction in which to move once the object is grasped and the distance to travel. | ||
| * ``moveit_msgs/GripperTranslation post_place_retreat`` - This is used to define the direction in which to move once the object is placed at some location and the distance to travel. | ||
|
|
||
| The Entire Code | ||
| --------------- | ||
| The entire code can be seen :codedir:`here <pick_place>` in the moveit_tutorials GitHub project. | ||
|
|
||
| .. |br| raw:: html | ||
|
|
||
| <br /> | ||
|
|
||
| .. tutorial-formatter:: ./src/pick_place_tutorial.cpp | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes!!!!