Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

请求添加RELATIVE MOVE

#2
This should be simple using the Python API and some math.

For example, the following code applies an offset of [100,200,300] mm along [X,Y,Z] coordinates.
Code:
# Define your relative move as an XYZABC offset
pose_delta = KUKA_2_Pose([100,200,300,0,0,0])

# get the current object pose:
pose = m1.Pose()
new_pose = pose * pose_delta

# update the new pose:
m1.setPose(new_pose)


Messages In This Thread
请求添加RELATIVE MOVE - bysig.johnnson- 01-12-2023, 10:57 PM
RE: REQUEST TO ADD RELATIVE MOVE - byAlbert- 01-13-2023, 12:27 PM



Users browsing this thread:
1 Guest(s)