(self)
Loads the URDF file for the robot.
Loads the URDF file for the robot.
Loads the URDF file for the robot .
def _LoadRobotURDF(self):
    """Loads the URDF file for the robot."""
    urdf_file = self.GetURDFFile()
    if self._self_collision_enabled:
      self.quadruped = self._pybullet_client.loadURDF(
          urdf_file,
          self._GetDefaultInitPosition(),
          self._GetDefaultInitOrientation(),
          flags=self._pybullet_client.URDF_USE_SELF_COLLISION)
    else:
      self.quadruped = self._pybullet_client.loadURDF(
          urdf_file, self._GetDefaultInitPosition(),
          self._GetDefaultInitOrientation())
def _LoadRobotURDF ( self ) : urdf_file = self . GetURDFFile ( ) if self . _self_collision_enabled : self . quadruped = self . _pybullet_client . loadURDF ( urdf_file , self . _GetDefaultInitPosition ( ) , self . _GetDefaultInitOrientation ( ) , flags = self . _pybullet_client . URDF_USE_SELF_COLLISION ) else : self . quadruped = self . _pybullet_client . loadURDF ( urdf_file , self . _GetDefaultInitPosition ( ) , self . _GetDefaultInitOrientation ( ) )