reduce stack usage (cause some crashes in low-stack tests)

fix crashing bug in changeVisualShape
add differential gear version of racecar (only 2 back wheels are powered)
This commit is contained in:
Erwin Coumans
2017-06-20 20:22:14 -07:00
parent 61f27a5c72
commit 71170d6384
7 changed files with 857 additions and 33 deletions

View File

@@ -72,9 +72,10 @@ class Kuka:
state = p.getLinkState(self.kukaUid,self.kukaEndEffectorIndex)
pos = state[0]
orn = state[1]
euler = p.getEulerFromQuaternion(orn)
observation.extend(list(pos))
observation.extend(list(orn))
observation.extend(list(euler))
return observation