Merge pull request #2535 from erwincoumans/master

Googley colors for xarm (debugging) and tweak example with table etc.…
This commit is contained in:
erwincoumans
2019-12-09 09:26:47 -08:00
committed by GitHub
4 changed files with 221 additions and 8 deletions

View File

@@ -7,7 +7,12 @@ p.setAdditionalSearchPath(pd.getDataPath())
useFixedBase = True
flags = p.URDF_INITIALIZE_SAT_FEATURES#0#p.URDF_USE_SELF_COLLISION
xarm = p.loadURDF("xarm/xarm6_with_gripper.urdf", flags = flags, useFixedBase=useFixedBase)
#plane_pos = [0,0,0]
#plane = p.loadURDF("plane.urdf", plane_pos, flags = flags, useFixedBase=useFixedBase)
table_pos = [0,0,-0.625]
table = p.loadURDF("table/table.urdf", table_pos, flags = flags, useFixedBase=useFixedBase)
xarm = p.loadURDF("xarm/xarm6_robot.urdf", flags = flags, useFixedBase=useFixedBase)
while (1):
p.stepSimulation()