This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tutorials:objects_modeling [2011/02/16 20:55] – pangerci | tutorials:objects_modeling [2015/01/20 17:54] (current) – [Preface] amaldo | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Preface ====== | ||
+ | This tutorial will teach you how to get the PR2 to rotate the object in front of one of its cameras in order to obtain the object model. | ||
+ | ====== Steps to reproduce the experiments: | ||
+ | * bring up the robot | ||
+ | * install and compile // | ||
+ | * roslaunch ias_drawer_executive wopcl.launch | ||
+ | * position the robot in front of the neutral background (e.g. white wall) (joystick is on) | ||
+ | * bring the hand in the position in front of the camera: | ||
+ | |||
+ | bin/ | ||
+ | |||
+ | * note: you can also use different positions for the object, put the arm into a nice position with the gripper approximately upright, then run >rosun tf tf_echo base_link l_gripper_tool_frame, | ||
+ | * point the head: you can point get again the coordinate of the hand with rosrun tf tf_echo base_link l_gripper_tool_frame and then point the head there, you will notice that the gripper does not end up in the middle of the image, so some values that could go well with the above joint angles: bin/ | ||
+ | * open the gripper: | ||
+ | |||
+ | bin/ | ||
+ | | ||
+ | * close the gripper gently: | ||
+ | |||
+ | bin/ | ||
+ | |||
+ | * squeeze the gripper tightly (here the left one=1): | ||
+ | |||
+ | bin/ | ||
+ | bin/ | ||
+ | |||
+ | * record images and TF in a bag: | ||
+ | |||
+ | rosbag record / | ||
+ | |||
+ | * run object modeler: | ||
+ | |||
+ | **TBD!** |