Skip to content

[Question] Problems with Collisions in Pusher-v4 #950

@HernandezEduin

Description

@HernandezEduin

Question

I'm testing out the RL training with cleanRL, but I noticed in the video provided below that the robotic arm goes through both the table and the object it is supposed to be pushing.

The code below also has a similar behaviour:

import gymnasium as gym
env = gym.make("Pusher-v4", render_mode="human")
observation, info = env.reset(seed=39)
for _ in range(1000):
   action = env.action_space.sample()  # this is where you would insert your policy
   observation, reward, terminated, truncated, info = env.step(action)

   if terminated or truncated:
      observation, info = env.reset()

env.close()

Any idea what is going on or what might be missing?


System info

Installed via pip version 0.29.1

Python 3.8.12
Gymnasium 0.29.1
Mujoco 3.1.2

rl-video-episode-9000.mp4

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions