Skip to content
Snippets Groups Projects
Commit 7c659227 authored by Amira Abdel-Rahman's avatar Amira Abdel-Rahman
Browse files

ur10 debugiinh

parent 4c3046da
Branches
No related tags found
No related merge requests found
Pipeline #6371 passed
......@@ -97,10 +97,10 @@ for node in setup["nodes"]:
roy.set_pose(roy_trans, acc = a, vel = v)
# move roy (nodes) to node from reference location
roy_trans.pos.x += ((globalSetup["nodeRelativeDistance"]["x"]))+node["x"]*latticePitch["x"]
roy_trans.pos.y += ((globalSetup["nodeRelativeDistance"]["y"]))+node["y"]*latticePitch["y"]
roy_trans.pos.x += ((globalSetup["nodeRelativeDistance"]["x"])-globalSetup["programmingRelativeDistance"]["x"])+node["x"]*latticePitch["x"]
roy_trans.pos.y += ((globalSetup["nodeRelativeDistance"]["y"])-globalSetup["programmingRelativeDistance"]["y"])+node["y"]*latticePitch["y"]
roy.set_pose(roy_trans, acc = a, vel = v)
roy_trans.pos.z -= (globalSetup["nodeRelativeDistance"]["z"])-node["z"]*latticePitch["z"]
roy_trans.pos.z -= (globalSetup["nodeRelativeDistance"]["z"]-globalSetup["programmingRelativeDistance"]["z"])-node["z"]*latticePitch["z"]
roy.set_pose(roy_trans, acc = a, vel = v)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment