May I know how to import a USD scene in python?
For example, I have used GUI to design a USD scene, like a scene with a robot and a bunch of obstacles.
And now, how I want to import this USD scene in python because I want to operate the robot in python.
Is that possible?
Thank you so much! I ran and reviewed the code.
But I am still clueless about how to access the robot.
For example, the example only loads a USD scene describing the environment. It does not tell us how to access a robot in a USD scene in python.
Thank you so much for your reply. I think I need to clarify my question.
What I mean is I already have a USD WITH ROBOT.
So, may I know how I import that USD, and access that robot in the USD scene to control the robot?
Initially, the robot is already in the USD scene, I do not need to import it in python again, but access it.
The Robot class, or the other classes implemented in Manipulators or WheeledRobot (that inherit from the Robot or Articulation classes) will allow you to access and control existing robots in the stage.
The files I indicated above show hot to use those classes for that, among others things such compose a state by importing assets.
In your case you can ignore the latter and proceed with the use of the classes to control the robots.
In any case you can check the following example that shows how to import a previously saved scene and control a robot. Download both files for any folder and run the script using Isaac Sim 's Python environment as any other standalone app.
Note: the actions applied to the robot do not respect the limits, applied as it only for testing purposes.