RoboDK Forum
Tool pointing at the XYZ while moving可打印版本

+- RoboDK Forum (//m.sinclairbody.com/forum)
+-- Forum: RoboDK (EN) (//m.sinclairbody.com/forum/Forum-RoboDK-EN)
+---Forum: RoboDK API (//m.sinclairbody.com/forum/Forum-RoboDK-API)
+---Thread: Tool pointing at the XYZ while moving (/Thread-Tool-pointing-at-the-XYZ-while-moving)



Tool pointing at the XYZ while moving-dsitnik-01-23-2020

Hi,

I am using your Python API for KUKA robot online programming. Let's say I have a camera (or some other tool) attached to a robot. No matter how the robot moves, I want that the camera always keeps pointed at the XYZ point in space. Is it possible to define that movement using the kinematics calculation?

Thank you!


RE: Tool pointing at the XYZ while moving-Albert-01-23-2020

If you want to maintain a constant distance between the XYZ point and the camera you can define the TCP at the XYZ location. The TCP will not move so the camera will always be pointing there.

If you want to change the distance while moving it may require some coding to add targets that make the camera face the XYZ point.