Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UR5 Robot Implementation #33

Open
feup-jmc opened this issue Mar 21, 2022 · 1 comment
Open

UR5 Robot Implementation #33

feup-jmc opened this issue Mar 21, 2022 · 1 comment

Comments

@feup-jmc
Copy link

Hello,
First of all, thanks for the great work.

I would like to know how to add the UR5 robot to the environment. From what I could gather in #10, I only need the MJCF XML, pybullet URDF and ik_controller files. However, no existing implementation seems to have all of these elements. I would like to use the referred https://github.com/clvrai/furniture/blob/dev/furniture-unity/Assets/Scripts/MJImport.cs script to solve the issue, but cannot understand how to run it using the provided unity binary (in google drive).

@youngwoon
Copy link
Member

Hi, to add a new robot to our environment, a dedicated ik_controller should be implemented (please refer to https://github.com/clvrai/furniture/tree/master/furniture/env/controllers) and you need to add controller initialization and robot control code in furniture.py:

if self._agent_type == "Sawyer":

def _load_model_robot(self):

elif self._control_type in ["ik", "position_orientation"]:

def _do_ik_step(self, action):

def _do_controller_step(self, action):

def _setup_action(self, action):

We may include UR5 for the next update (possibly around June).

The MuJoCo-Unity integration is simply to render a scene in Unity; this is not for adding a new robot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants