-
Notifications
You must be signed in to change notification settings - Fork 58
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
No "loadRobotGraspData" called in "simple pick place" demo hydro #6
Comments
Dave, we are not sure of the parameters: It's not clear what they mean. Are these distances along the x-axis away from the centroid of the object to be grapsed? And similarly for |
@ltaoist , thanks for your effort, I'm impressed what you have figured out so far. My original project, However, because I don't maintain the ClamArm project anymore all those changes hadn't been synced back downstream. I spent a couple hours today (and I'm kicking myself for it) trying to port those changes back to the ClamArm for you. I can't promise much other time. Here is the commit: I essentially made a whole new file, and its very simple: All the functionality for block pick place has been moved to Note you will need to merge this PR under review as well: There are sill some issues with the controllers, but they are because of MoveIt changes (not this code) and I don't have time / will power to work on them because I work on other robots these days. |
Hi Dave,
I am running movit and pick_place on ROS Hydro.
Currently, when Itry to run the pick and place demo, I get an error message stating "no motion planning found".
When I compare the
clam_pick_place/src/simple_pick_place.cpp
in hydro and groovy, I saw that the "loadRobotGraspData" function is not called in the hydro version.For this reason,
grasp_data_
is not initialized and then pick or place cannot compute any motion plan. I saw that for the Hydro version, you deleted this call in the following commit: c341a81)I also found that in hydro,
loadRobotGraspData
became a part of the moveit API and it is now a method ofgrasp_data_
.It seems the functionality is the same as in Groovy. Except that in Hydro, the grasp data values are assigned through a yaml file while in groovy they are assigned within the code.
I tried to fix this. So I modified simple_pick_place.cpp by adding
grasp_data_. loadRobotGraspData(nh, EE_GROUP)
before the linemoveit_simple_grasps_.reset
. I also added a config file like the following one: reem_grasp_data.yaml and baxter_grasp_data.yaml and finally loaded through roslaunch.My code currently works, but the blocks are picked up by the wrist. I think the clam gripper posture is incorrect. I think the error maybe in my config file.
Here are my changes to "simple_pick_place.cpp" :
And here is my launch file:
And here is the yaml file :
I would appreciate any feedback on this. We almost got this working!
The text was updated successfully, but these errors were encountered: