ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Assuming the camera is mounted on the robot arm somewhere, hand-eye calibration is unavoidable. It will give you the pose of the camera w.r.t. robot base, bTc. Next, you get the pose of the teat w.r.t. camera, tTc. And you know the current position of the end effector (robot end point) w.r.t. robot base, bTe. From these, you can calculate the pose of teat w.r.t. end effector as eTt = inv(bTe) x bTc x cTt. Then you move your end effector by that amount, which should bring it to the teat.

Thanks @samarth, for providing solution