fix loadpanda video generation

remove duplicate code (formerly Windows ffpmeg needed different settings?)
This commit is contained in:
Erwin Coumans
2020-01-12 08:07:54 -08:00
parent 84e2ea918c
commit 1be6a1d16b
3 changed files with 9 additions and 21 deletions

View File

@@ -39,7 +39,7 @@ class PandaSim(object):
self.panda = self.bullet_client.loadURDF("franka_panda/panda.urdf", np.array([0,0,0])+self.offset, orn, useFixedBase=True, flags=flags)
index = 0
self.state = 0
self.control_dt = 1./120.
self.control_dt = 1./240.
self.finger_target = 0
self.gripper_height = 0.2
#create a constraint to keep the fingers centered