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

Incorrect orientation format in examples/objects/load_objects.py #326

Open
sanghongrui opened this issue Apr 20, 2023 · 0 comments
Open

Comments

@sanghongrui
Copy link

Hi,
As shown in examples/objects/load_objects.py #L91-L104 :

# Objects to load: two tables, the first one is predefined model, the second, random for the same category
table_objects_to_load = {
"table_1": {
"category": "breakfast_table",
"model": "1b4e6f9dd22a8c628ef9d976af675b86",
"pos": (0.0, -0.2, 1.01),
"orn": (0, 0, 90),
},
"table_2": {
"category": "breakfast_table",
"pos": (0.5, -2.0, 1.01),
"orn": (0, 0, 45),
},
}

the ori attribute for objects is defined in degree format and transform to quatation using quat_from_euler. However, it is based on p.getQuaternionFromEuler, which needs rad angle format.
Although the codes can normally run, this could cause some misunderstandings.

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

1 participant