Frame Transformations可打印版本 +- RoboDK Forum (//www.sinclairbody.com/forum) +-- Forum: RoboDK (EN) (//www.sinclairbody.com/forum/Forum-RoboDK-EN) +--- Forum: RoboDK API (//www.sinclairbody.com/forum/Forum-RoboDK-API) +--- Thread: Frame Transformations (/Thread-Frame-Transformations) |
Frame Transformations-Ruud-03-17-2020 Hi! I have created a Target in a Camera frame that is attached to the TCP of the robot. However, I would like to translate the Target from the Camera frame to the Robot frame or Reference Frame so that the Robot can move to that point in space. Is there a function to transform a coordinate from one frame to coordinates in another frame? RE: Frame Transformations-Jeremy-03-18-2020 Hi Ruud, You can use "RDK.setParentStatic" or "RDK.setParent" to achieve that goal. See documentation: setParent://www.sinclairbody.com/doc/en/PythonAPI/robolink.html#robolink.Item.setParent setParentStatic://www.sinclairbody.com/doc/en/PythonAPI/robolink.html#robolink.Item.setParentStatic Have a great day. Jeremy RE: Frame Transformations-Ruud-03-19-2020 That worked great, thank you for pointing that out! |