예제 #1
0
    def __init__(self):
        self.robot = InvertedPendulumSwingup()
        MJCFBaseBulletEnv.__init__(self, self.robot)
        self.stateId = -1

        initial_boundary_path = ROOT + "/initial_space/" + self.__class__.__name__ + "-v0/boundary.npy"
        boundary = np.load(initial_boundary_path)
        self.initial_space = spaces.Box(low=boundary[0], high=boundary[1])
예제 #2
0
    def __init__(self):
        self.robot = InvertedPendulumSwingup()
        MJCFBaseBulletEnv.__init__(self, self.robot)
        self.stateId = -1

        self.torqueForce = 100
        self.gravity = 9.8
        self.poleMass = 5
예제 #3
0
 def __init__(self):
     self.robot = InvertedPendulumSwingup()
     MJCFBaseBulletEnv.__init__(self, self.robot)
     self.stateId = -1
예제 #4
0
 def __init__(self):
     self.robot = InvertedPendulumSwingup()
     MujocoXmlBaseBulletEnv.__init__(self, self.robot)