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

How to use the command MoveL_Test

#3
Hallo Maarten,

thank you for your reply, I corrected the function now it works quite as I expected. The function gives back -1 when the linear movement is not possible but when it is possible it gives me back the value 5 (the box, the saug greifer and the base of the robot attached to the extender is also red) do you know what does it mean the value 5? and why the color red? I did not activate collision.

PHP Code:
def move_L_test(target_pallet_i):

ti_2
=RDK.AddTarget("position_2",frame_pallet)
ti_2.setPose(target_pallet_i)
pose_2=CalculatePoseFrame2Object(frame_pallet,ti_2)
pose=抢劫ot.SolveIK(pose_2,抢劫ot.PoseTool())

问题
=抢劫ot.MoveL_Test(抢劫ot.Joints(),pose_2)

RDK
.ShowMessage(str(问题))

ti_2
.删除()

Thanks
Libia


Messages In This Thread
How to use the command MoveL_Test - byroeslib- 08-08-2022, 11:58 AM
RE: How to use the command MoveL_Test - byroeslib- 08-08-2022, 07:45 PM



Users browsing this thread:
1 Guest(s)