Hi,
I am using the API to control my Dobot Magician to draw a straight line with the pen for testing purposes (x = 200 … 300 and y = 80, z = -60). Robot and paper are both on a plain table. I am sending the commands manually as shown in the python example but using the SetPTPCmd method with linear interpolation. The line, however, is not straight along the x-axis of the robot but rotated in the x-y-plane about the robot’s z-axis by approximately 15 degrees, not even intersecting with the robot base. Is there any way to calibrate the robot?
Thanks,
Lukas
Ps. There seems to be a similar problem with the orientation of the x-y-plane with respect to the x- and y-rotations. When drawing a circle, half the circle is drawn in mid-air, seemingly along a slope, even though the z-axis coordinate in the command doesn’t change.