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

An issue about the object rotation. #37

Open
Zhangwenyao1 opened this issue Oct 1, 2024 · 3 comments
Open

An issue about the object rotation. #37

Zhangwenyao1 opened this issue Oct 1, 2024 · 3 comments

Comments

@Zhangwenyao1
Copy link

Thanks for your greate work!
When I run the code in the notebooks such as “custom_object_example.py”, it does not work when reset the rotation of the LiberoMug. So can you give some advice about how to set the rotation of the objects.

@Zhangwenyao1
Copy link
Author

follow

@zhuyifengzju
Copy link
Contributor

Can you provide more details here? When you say it does not work, does it mean: 1) the code failed? 2) the orientation does not change using the code as it is? 3) you made your own changes, but it does not work. More details explaining this will be helpful for us to answer.

@Zhangwenyao1
Copy link
Author

Can you provide more details here? When you say it does not work, does it mean: 1) the code failed? 2) the orientation does not change using the code as it is? 3) you made your own changes, but it does not work. More details explaining this will be helpful for us to answer.

Thanks for your reply.
I have solved this problem through setting the quat of the object in the base_regio_sampler.py.
By the way, there is an issue in class MultiRegionRandomSampler, dimension order of the quat should be the w,x,y,z in the robosuit following https://robosuite.ai/docs/source/robosuite.utils.html?highlight=sample#module-robosuite.utils.placement_samplers, but I found your setting order is x,y,z,w in MultiRegionRandomSampler.

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