How to add other cameras perspective in one robot #1004
-
Thanks for grate work! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Hi @ClorisUcas , this is a great question! For example, here's how you can add a wrist camera to Fetch:
You can specify how you want to position the camera in relation to the link on the robot with the position and orientation args. Please let me know if this works for you! |
Beta Was this translation helpful? Give feedback.
-
Hello @ClorisUcas , I talked to my team this morning, and it turns out that the correct way of adding a wrist camera is by creating a custom robot. I just tried it out myself, and it's super easy! Let me walk you through what I did:
Note that you will need to install from source to edit this file. For your reference, here's an example usd file I got from adding a camera to the gripper link: https://drive.google.com/file/d/1WZJwMkfuHsbDr794LNXcCftj-ovi9dGc/view?usp=sharing |
Beta Was this translation helpful? Give feedback.
Hello @ClorisUcas , I talked to my team this morning, and it turns out that the correct way of adding a wrist camera is by creating a custom robot. I just tried it out myself, and it's super easy! Let me walk you through what I did:
Convert from URDF to USD
step because we already have the USD of all the robots in OmniGibson, we just need to modify them.Process USD Model
step 1 and import the USD file we just found.Process USD Model
step 5 and add a camera to the link you want, e.g. the gripper link on Fetch.Process USD Model
step 6 to save this…