Skip to content

How to use the trained policy? #10

Description

@nimesh00

I trained the policy for widowGo1 environment and terminated it manually on saturation. I tried testing the trained policy using the script play.py but I'm confused how to command the robot. The robot just stands in place with the yellow cubes (that I'm assuming is the target ee region) moving around the robot but I cannot really understand how it is working. It just keeps moving along the red dotted line near the robot. I tried adding the following parameters to `play.py' but I did not see any change.

env.commands[:, 0] = 0.3
env.commands[:, 1] = 0.0
env.commands[:, 2] = 0.3
env.curr_ee_goal_sphere[:, 0] = 0.3
env.curr_ee_goal_sphere[:, 1] = 0.0
env.curr_ee_goal_sphere[:, 2] = 0.0

Can anyone guide me on what I'm doing wrong and how should I command the policy to move the end effector to a particular position?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions