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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user