Skip to content

Latest commit

 

History

History
20 lines (11 loc) · 1.11 KB

add_objects.md

File metadata and controls

20 lines (11 loc) · 1.11 KB

Adding Objects

Import the object to Isaac Sim with the use of the GUI and save it as .usd. Refer to the Isaac Sim manual for more information about the supported formats.

Steps to Add objects:

  1. Import the Object and save as .usd. Preferably using instanceable meshes.

  1. Prepare the .usd object by checking that the attributes are correct, i.e. colliders, correct masses or densities, etc.
  2. Test the object's collider preferably by visualizing within the simulation.

Note: the directories used by Isaac Sim may become invalid when using objects transformed to .usds in other PCs, make sure to use relative directories instead of complete directories. (i.e Albedo maps in .usd files)

Important: the standalone checks for the objects .usd files within a directory with a specific structure:

def _check_object_usd(self,object_path):
""" Check if the object usds are readable by program
Args:
objects_path: Path to directory containing all object files. Make sure every object.urdf is within a folder with the same name
"""
i = self.object
self.object_path = os.path.join(object_path, i, i+".usd")
if (os.path.exists(self.object_path)) :
print("Found Object")
else:
raise LookupError("Couldn't find object .usd file for " + self.object_path )
return