It looks like the target is a joint target but you are moving using a linear movement and Cartesian coordinates.
If you want to use Cartesian coordinates I would recommend you to first set the reference frame of that target (target's parent item). Something like:
If you can provide the RDK file we can better look into this issue.
If you want to use Cartesian coordinates I would recommend you to first set the reference frame of that target (target's parent item). Something like:
Code:
home_target = RDK.Item("KR210-2 - Home")
ref = home_target.Parent()
robot2.setPoseFrame(ref)
home_pose = home_target.Pose()
robot2.MoveL(home * transl(100,0,-300))
If you can provide the RDK file we can better look into this issue.