Update camera eye using set_world_pose_from_view #829
Unanswered
balaprenithreddy
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I implemented a USD camera sensor using the sensor listed in omni.isaac.lab.sensors and attached it to a cube. I wanted the camera to always look at the target, so I used the function set_world_pose_from_view from the camera class to look at the target in the get_observation function. When I tested my env with a random agent, sometimes I see only the target but most of the times I see my cube as well in the camera. I am also updating the eye position using the cube root_pos_w and am setting the offset to position my camera above the cube.
Currently, I am confused and not sure what i missed or am doing something wrong.
Any help is appreciated.
Beta Was this translation helpful? Give feedback.
All reactions