RoboDK Forum
How to transforming coordinates (yaskawa[MotoMan])- Printable Version

+- 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: How to transforming coordinates (yaskawa[MotoMan]) (/Thread-How-to-transforming-coordinates-yaskawa-MotoMan)



How to transforming coordinates (yaskawa[MotoMan])-fleem-06-02-2022

Hi.

I operate automated manufacturing line that consist of Yaskawa(MotoMan) robots. (GP25, YRC1000)

I collect each axis's data that speed, position, torque, temperature by using customized collecting data program.

In position data, because I didn't know the option that 'cartesian position mode', all of my position data was saved with encoder pulse value.

To analyzing data, I have to transform that position value to xyz coordinates value.
(Of course I can get xyz position value by toggle cart pos mode option. But old data must be transformed either.)

Is there any module or function that can transform coordinates in RoboDK API?

[attachment=3423]


RE: How to transforming coordinates (yaskawa[MotoMan])-Albert-06-13-2022

You can convert from joint values to Cartesian values using SolveFK (Solve Forward Kinematics) and you can convert Cartesian values to Joint values using SolveIK (Solve Inverse Kinematics). This example shows how to use SolveFK and SolveIK:
//www.sinclairbody.com/doc/en/PythonAPI/examples.html#move-robot-using-a-keyboard

Also, for Yaskawa Motoman robots specifically, you should convert pulse data to joint values in degrees using the Pulses/degree ratio. More information here:
//www.sinclairbody.com/doc/en/Robots-Motoman.html#MotomanPulses


RE: How to transforming coordinates (yaskawa[MotoMan])-fleem-06-13-2022

Thank you for your kind reply. I will review the method you suggested.


RE: How to transforming coordinates (yaskawa[MotoMan])-Albert-06-14-2022

Let us know if you need help. We can help you make a Python script to iterate through the list of joint values, convert them to joint values given the pulses/degree and calculate the Cartesian position.

We would need the ALL.PRM file of your Yaskawa Motoman robot, the robot model and the list of targets as a CSV file or other readable text format.