[fix] duplicated _create_envs() process

* This results in an error report by isaacgym
"[Error] [carb.gym.plugin] Incompatible size of DOF force tensor in function GymSetDofActuationForceTensor"
This commit is contained in:
Ziwen Zhuang 2023-11-20 09:08:59 +08:00 committed by GitHub
parent 1ab4639f15
commit 7addc38702
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -659,7 +659,7 @@ class LeggedRobotField(LeggedRobot):
for i, name in enumerate(hip_names):
self.hip_indices[i] = self.dof_names.index(name)
return super()._create_envs()
return return_
def _process_rigid_shape_props(self, props, env_id):
props = super()._process_rigid_shape_props(props, env_id)