I have a Meca500 and I'm programming with the python api.
When I run with RUNMODE_RUN_ROBOT the position of the robot in robodk is different than the physical position of the robot. The difference seems to be equal to the "Tool Frame with respect to robot flange". I suspect the issue is that robodk is interpreting MoveL taking into account the TRF while its not getting set before running on the robot it self.
Interestingly, when I generate a program instead by setting RUNMODE_MAKE_ROBOTPROG it does emit a
before sending linear moves.
my program consists of one moveL. When it runs the screen shots below show both robodk and the meca500 web interface show the robot at the same coordinates but the joint angles disagree.
When I run with RUNMODE_RUN_ROBOT the position of the robot in robodk is different than the physical position of the robot. The difference seems to be equal to the "Tool Frame with respect to robot flange". I suspect the issue is that robodk is interpreting MoveL taking into account the TRF while its not getting set before running on the robot it self.
Interestingly, when I generate a program instead by setting RUNMODE_MAKE_ROBOTPROG it does emit a
Code:
robot.Run('SetTRF', [16.000, 0.000, 46.000, -0.000, 0.000, -0.000])
before sending linear moves.
my program consists of one moveL. When it runs the screen shots below show both robodk and the meca500 web interface show the robot at the same coordinates but the joint angles disagree.
Code:
p = Pose( 200.0, 0.0, 210.0, 0.0, 90.0, 0.0)
robot.MoveL(p)