Example #1
0
    def __init__(self, args, enable_draw):
        super().__init__(args, enable_draw)

        self._core = DeepMimicCore.cDeepMimicCore(enable_draw)

        rand_seed = np.random.randint(np.iinfo(np.int32).max)
        self._core.SeedRand(rand_seed)

        self._core.ParseArgs(args)
        self._core.Init()
        return
Example #2
0
    def __init__(self, args, enable_draw):
        super().__init__(args, enable_draw)

        self._core = DeepMimicCore.cDeepMimicCore(enable_draw)
        ##self._core = DeepMimicCore.cDeepMimicCore(False)
        rand_seed = np.random.randint(np.iinfo(np.int32).max)
        self._core.SeedRand(rand_seed)
        print("##################",
              sys._getframe().f_code.co_name, "###################")
        print(args)
        self._core.ParseArgs(args)
        self._core.Init()
        print("##################",
              sys._getframe().f_code.co_name, "###################")
        return