iamlab-cmu / isaacgym-utils

Wrappers and utilities for Nvidia IsaacGym
Apache License 2.0
93 stars 19 forks source link

GymCamera.get_transform may give incorrect orientation for attached cameras #18

Closed tabula-rosa closed 3 years ago

tabula-rosa commented 3 years ago

The IsaacGym method get_camera_transform will provide the orientation relative to the attached rigid body for attached cameras (added via attach_camera), not the local environment frame. Therefore, GymCamera.get_transform will return the same, although the expectation I think is it returning relative to the local environment frame. The position from get_camera_transform appears to work as expected.

get_camera_transform (and therefore GymCamera.get_transform) appears to work as expected for cameras added via add_standalone_camera. This issue is just noting the problem for attached cameras.

Workaround for attached cameras:

This is tested on 1.0rc2.

tabula-rosa commented 3 years ago

Standby on this now. I may have found an unrelated issue. I may delete this issue.

tabula-rosa commented 3 years ago

@jacky-liang can you delete this issue? It isn't an issue, I misinterpreted some of my code.