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

Set to move in a two-dimensional plane #95

Open
ChenyangRan opened this issue Jun 14, 2024 · 6 comments
Open

Set to move in a two-dimensional plane #95

ChenyangRan opened this issue Jun 14, 2024 · 6 comments
Labels
question Further information is requested

Comments

@ChenyangRan
Copy link

Hi, I'm using the panda-gym to create my UR3 Reach. But when I set the initial pos, and set_action(np.array(0,0,0)), the ur3 switch its pos automatically. It seems to automatically align tcp with xyz in the environment. Could you please tell me how to fixed the initial pos and just move in 2D?

Before:
2024-06-14 18-46-59 的屏幕截图

set action is [0,0,0]
2024-06-14 18-47-25 的屏幕截图

@ChenyangRan ChenyangRan added the question Further information is requested label Jun 14, 2024
@qgallouedec
Copy link
Owner

No 100% to understand. 0,0,0 is the position reached by the ee in the second image?

@ChenyangRan
Copy link
Author

No 100% to understand. 0,0,0 is the position reached by the ee in the second image?

No, I want to do nothing. But the ee change its position.

@qgallouedec
Copy link
Owner

How have you set the neutral position? With self.neutral_joint_values?

self.neutral_joint_values = np.array([0.00, 0.41, 0.00, -1.85, 0.00, 2.26, 0.79, 0.00, 0.00])

@ChenyangRan
Copy link
Author

self.neutral_joint_values = np.array([0.00, 0.41, 0.00, -1.85, 0.00, 2.26, 0.79, 0.00, 0.00])

I just have tested the neutral_joint_values, but it still hapeended.
Start
2024-06-14 20-50-48 的屏幕截图

After
2024-06-14 20-52-11 的屏幕截图

@qgallouedec
Copy link
Owner

can you share the code of your robot?

@ChenyangRan
Copy link
Author

It's ok. Thank you very much.
upload.zip

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

No branches or pull requests

2 participants