RoboDK Forum
运动曲线怎么走吗- Printable Version

+- RoboDK Forum (//www.sinclairbody.com/forum)
+-- Forum: RoboDK (EN) (//www.sinclairbody.com/forum/Forum-RoboDK-EN)
+ - - -论坛:一般questions about RoboDK (//www.sinclairbody.com/forum/Forum-General-questions-about-RoboDK)
+--- Thread: how to get motion curve (/Thread-how-to-get-motion-curve)



运动曲线怎么走吗-robotguy-02-06-2019

Is there a way to get a list of points that makeup the motion curve from targetA to targetB via the API?

I want to be able to stream the robot joint angles to a log file as the robot is moving.


RE: how to get motion curve-mnurpeiissov-02-07-2019

Hi robotguy,

You want the list of points or joint angles? I am newbie here too, but I can suggest some solution for you. In the macros that are already saved in the RoboDK, there is one that allows to monitor the joints of a robot every 50 ms. If you want the joint angles, it is already done there. But if you want the points ,you could solve the forward kinematics of the robot using robot.SolveFK(joints) and get the homogenous matrx and extract x,y,z position of robotic tip from there.

P.S. I am looking into the right answer if I am wrong.


Best Regards