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

what does the array [0, -0.005, 0.16] mean? #7

Open
whynpt opened this issue Dec 8, 2021 · 1 comment
Open

what does the array [0, -0.005, 0.16] mean? #7

whynpt opened this issue Dec 8, 2021 · 1 comment

Comments

@whynpt
Copy link

whynpt commented Dec 8, 2021

I want apply MujocoController with kinova jaco2, then got trouble in open_griper(). robot run wrong.In the function move_group_to_joint_target() in MujocoController, there is temp = self.sim.data.body_xpos[self.model.body_name2id('ee_link')] - [0, -0.005, 0.16]. so i want to know what does [0, -0.005, 0.16] mean to UR5?

@PaulDanielML
Copy link
Owner

Hi,

I just used this temp variable to calculate the rough position where the grippers fingers would touch each other when the gripper closes. I then used this to display a marker in the rendering. It is purely for visualization purposes, the idea was that I can see which height above the table the agents are "targeting".

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