02-10-2021, 04:28 PM
Hi,
In my Python API:
I've created a Tool like so:
self.robot = self.RDK.Item('KUKA KR 60-3', ITEM_TYPE_ROBOT)
tool_array = Mat([[ 1.000, 0.000, 0.000, 0.000 ],
[ 0.000, 1.000, 0.000, 0.000 ],
[ -0.000, 0.000, 1.000, 167.000 ],
[ 0.000, 0.000, 0.000, 1.000 ]])
self.robot.setPoseTool(tool_array)
Then I created a target in RoboDK simulation called 'Calib_Area'.
Interestingly, calling:
self.robot.MoveJ(self.calib_area)
self.robot.MoveL(self.calib_area)
DOES TWO DIFFERENT THINGS!!
MoveJ moves the specified TCP (PoseTool()) to the calib_area target. BUT MoveL, moves the Robot Flange to the target instead?!
Anyone know why this is? I'm very curious.
In my Python API:
I've created a Tool like so:
self.robot = self.RDK.Item('KUKA KR 60-3', ITEM_TYPE_ROBOT)
tool_array = Mat([[ 1.000, 0.000, 0.000, 0.000 ],
[ 0.000, 1.000, 0.000, 0.000 ],
[ -0.000, 0.000, 1.000, 167.000 ],
[ 0.000, 0.000, 0.000, 1.000 ]])
self.robot.setPoseTool(tool_array)
Then I created a target in RoboDK simulation called 'Calib_Area'.
Interestingly, calling:
self.robot.MoveJ(self.calib_area)
self.robot.MoveL(self.calib_area)
DOES TWO DIFFERENT THINGS!!
MoveJ moves the specified TCP (PoseTool()) to the calib_area target. BUT MoveL, moves the Robot Flange to the target instead?!
Anyone know why this is? I'm very curious.