RoboDK Forum
Generate points relative robotic base可打印版本

+- 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: Generate points relative robotic base (/Thread-Generate-points-relative-robotic-base)



Generate points relative robotic base-VladOS-10-29-2019

Hello friends! I have a robot that not in online library and I try to write my own post processor. Please tell me how to generate a program for a robot with points relative to the robot base. All my points are relative for reference coordinate system now.


RE: Generate points relative robotic base-Albert-10-30-2019

If you look at the post processor called Epson RC you'll see an example to calculate the absolute pose (position of the tool relative to the robot base). For every new movement (MoveL and MoveC) you should calculate the absolute position like this:

Code:
pose_abs = self.FRAME * pose

You should make sure you keep a copy of the reference coordinate system (inside setFrame).


RE: Generate points relative robotic base-VladOS-10-30-2019

谢谢you for answer! Yes it write, I guessed it today by mysalf)