TL,DR:
I get a position with rotation from the vision camera, how do I move the robot with this rotation without rotating the tool flange?
Hi!
I’m experimenting with a SICK Inspector vision camera. After I find the object, I want the robot to move linear to the rotation of the object.
After locating the object, I get a variable SICK_Pos from the camera that I translate to a point (obj_pose) in the base plane. (see attached code).
When I move to obj_pose, the tool flange lines up with the found object, and I can then move parallell to the object using Direction with Tool as feature.
However, to avoid having the tool flange rotate after every picture taken, I want to keep the same rotation on the tool flange but still move according to the rotation found by the camera.
I am able to fix the tool flange’s rotation by setting it to a specific value, but I havn’t figured out how to move with the rotation of the found object.
I’ve tried to assign the value of the point recieved from the camera to a plane, and then move according to that plane, but it doesn’t seem to work.
Is there a way to move according to the found object without having to rotate the tool flange?
Kind Regards,
Tor