I’m using the Python API to load my robot (in this case, the example ur10 robot), add lighting + a ground plane, and spawn in a camera:
editor = omni.kit.editor.get_editor_interface() editor.set_camera_position("/OmniverseKit_Persp", 300, 300, 300, True) editor.set_camera_target("/OmniverseKit_Persp", 0, 0, 0, True)
However, it seems like the camera is not oriented correctly. If I load my robot URDF via the GUI rather than with Python API, it is shown to be upright, but not in this case. I’m also not sure if this is a case of my camera settings being weird or if my model is somehow misaligned with the axes. I tried doing import_config.set_up_vector(0, 0, 1) in order to have it be along the positive z-axis, but that did not end up changing anything. Any help would be appreciated!