def __init__(self, xml, param, powercoeffs=[1., 1., 1.], is_eval=False, render=False, max_episode_steps=1e3): self.robot = Walker2D(xml, param, env=self, powercoeffs=powercoeffs) self.is_eval = is_eval self.max_episode_steps = max_episode_steps WalkerBaseBulletEnv.__init__(self, self.robot, render) self.camera = MyCamera(self)
def __init__(self, render=False): self.robot = Walker2DWithVision() WalkerBaseBulletEnv.__init__(self, self.robot, render)
def __init__(self, xml, render=False): self.robot = Ant(xml=xml) self.xml = xml WalkerBaseBulletEnv.__init__(self, self.robot, render)