import gym
import dmc2gym
import time
from dm_control import  suite
import local_dm_control_suite

for domain_name , task_name in local_dm_control_suite.BENCHMARKING:
    print(domain_name, task_name)
# make the dm_control environment

# env = dmc2gym.make(domain_name="manipulator", task_name="bring_ball")
env = dmc2gym.make(domain_name="manipulation", task_name="stack_2_bricks_vision")


print(env.observation_space)

# use same syntax as in gym
env.reset()
for t in range(1000):
    observation, reward, done, info = env.step(env.action_space.sample()) # take a random action
    env.render(mode="rgb_array")
    time.sleep(1)
    print(t, observation)


f541e04382b19a88ac34c42e0d5d74ae19126bf3
<mask token>

<mask token>
for domain_name, task_name in local_dm_control_suite.BENCHMARKING:
    print(domain_name, task_name)
<mask token>
print(env.observation_space)
env.reset()
for t in range(1000):
    observation, reward, done, info = env.step(env.action_space.sample())
    env.render(mode='rgb_array')
    time.sleep(1)
    print(t, observation)

<mask token>
for domain_name, task_name in local_dm_control_suite.BENCHMARKING:
    print(domain_name, task_name)
env = dmc2gym.make(domain_name='manipulation', task_name=
    'stack_2_bricks_vision')
print(env.observation_space)
env.reset()
for t in range(1000):
    observation, reward, done, info = env.step(env.action_space.sample())
    env.render(mode='rgb_array')
    time.sleep(1)
    print(t, observation)

import gym
import dmc2gym
import time
from dm_control import suite
import local_dm_control_suite
for domain_name, task_name in local_dm_control_suite.BENCHMARKING:
    print(domain_name, task_name)
env = dmc2gym.make(domain_name='manipulation', task_name=
    'stack_2_bricks_vision')
print(env.observation_space)
env.reset()
for t in range(1000):
    observation, reward, done, info = env.step(env.action_space.sample())
    env.render(mode='rgb_array')
    time.sleep(1)
    print(t, observation)

import gym
import dmc2gym
import time
from dm_control import  suite
import local_dm_control_suite

for domain_name , task_name in local_dm_control_suite.BENCHMARKING:
    print(domain_name, task_name)
# make the dm_control environment

# env = dmc2gym.make(domain_name="manipulator", task_name="bring_ball")
env = dmc2gym.make(domain_name="manipulation", task_name="stack_2_bricks_vision")


print(env.observation_space)

# use same syntax as in gym
env.reset()
for t in range(1000):
    observation, reward, done, info = env.step(env.action_space.sample()) # take a random action
    env.render(mode="rgb_array")
    time.sleep(1)
    print(t, observation)

