fixes for RemoteGUIHelper

This commit is contained in:
Erwin Coumans
2019-06-14 14:34:56 -07:00
parent ced65ce3e3
commit ee3680765e
11 changed files with 79 additions and 39 deletions

View File

@@ -104,7 +104,7 @@ def drawInertiaBox(parentUid, parentLinkIndex, color):
toeConstraint = True
useMaximalCoordinates = False
useRealTime = 1
useRealTime = 0
#the fixedTimeStep and numSolverIterations are the most important parameters to trade-off quality versus performance
fixedTimeStep = 1. / 100
@@ -123,7 +123,7 @@ kp = 1
kd = .5
maxKneeForce = 1000
physId = p.connect(p.SHARED_MEMORY)
physId = p.connect(p.SHARED_MEMORY_GUI)
if (physId < 0):
p.connect(p.GUI)
#p.resetSimulation()