manual_collision=True
This commit is contained in:
parent
025e774516
commit
27ebe4ffc1
@ -7,7 +7,7 @@ for maze_id in MAZE_IDS:
|
|||||||
gym.envs.register(
|
gym.envs.register(
|
||||||
id="AntMaze{}-v0".format(maze_id),
|
id="AntMaze{}-v0".format(maze_id),
|
||||||
entry_point="mujoco_maze.ant_maze_env:AntMazeEnv",
|
entry_point="mujoco_maze.ant_maze_env:AntMazeEnv",
|
||||||
kwargs=dict(maze_id=maze_id),
|
kwargs=dict(maze_id=maze_id, manual_collision=True),
|
||||||
max_episode_steps=1000,
|
max_episode_steps=1000,
|
||||||
reward_threshold=-1000,
|
reward_threshold=-1000,
|
||||||
)
|
)
|
||||||
@ -16,7 +16,7 @@ for maze_id in MAZE_IDS:
|
|||||||
gym.envs.register(
|
gym.envs.register(
|
||||||
id="PointMaze{}-v0".format(maze_id),
|
id="PointMaze{}-v0".format(maze_id),
|
||||||
entry_point="mujoco_maze.point_maze_env:PointMazeEnv",
|
entry_point="mujoco_maze.point_maze_env:PointMazeEnv",
|
||||||
kwargs=dict(maze_id=maze_id),
|
kwargs=dict(maze_id=maze_id, manual_collision=True),
|
||||||
max_episode_steps=1000,
|
max_episode_steps=1000,
|
||||||
reward_threshold=-1000,
|
reward_threshold=-1000,
|
||||||
)
|
)
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
</asset>
|
</asset>
|
||||||
<worldbody>
|
<worldbody>
|
||||||
<light directional="true" cutoff="100" exponent="1" diffuse="1 1 1" specular=".1 .1 .1" pos="0 0 1.3" dir="-0 0 -1.3" />
|
<light directional="true" cutoff="100" exponent="1" diffuse="1 1 1" specular=".1 .1 .1" pos="0 0 1.3" dir="-0 0 -1.3" />
|
||||||
<geom name='floor' pos='0 0 0' size='40 40 40' type='plane' conaffinity='1' rgba='0.8 0.9 0.8 1' condim='3' />
|
<geom name='floor' material="MatPlane" pos='0 0 0' size='40 40 40' type='plane' conaffinity='1' rgba='0.8 0.9 0.8 1' condim='3' />
|
||||||
<body name="torso" pos="0 0 0">
|
<body name="torso" pos="0 0 0">
|
||||||
<geom name="pointbody" type="sphere" size="0.5" pos="0 0 0.5" />
|
<geom name="pointbody" type="sphere" size="0.5" pos="0 0 0.5" />
|
||||||
<geom name="pointarrow" type="box" size="0.5 0.1 0.1" pos="0.6 0 0.5" />
|
<geom name="pointarrow" type="box" size="0.5 0.1 0.1" pos="0.6 0 0.5" />
|
||||||
|
Loading…
Reference in New Issue
Block a user