Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 1441

Orientation to grasp object from y axis

$
0
0
Hello, I’m trying to achieve pick and place in gazebo by sending trajectory from moveit. I noticed in moveit pick and place tutorial that orientation is given as follows: orientation.setRPY(-M_PI / 2, -M_PI / 4, -M_PI / 2) This orientation tries to pick the object from x-axis direction ( considering x axis is forward, y axis is pointing to the left and z axis is upwards.) Below image demonstartes how my robot arm positions itself when given above orienatation ![image description](/upfiles/15511031625995238.png) ![image description](/upfiles/15511031918544046.png) I want to grasp the object from y axis side i.e parallel to the yellow axis shown in the image. What can be the orientation of the robot?? I have came till this orientation: orientation.setRPY(-M_PI / 4, -M_PI/2 , -M_PI /4) below is the image representing robot arm with this orientation. ![image description](/upfiles/1551103415786332.png) ![image description](/upfiles/15511034992474081.png) if you see then gripper is still inclined and not exactly horizontal. can anyone tell me what can be orientation to grasp the object from y axis direction??

Viewing all articles
Browse latest Browse all 1441

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>