Using omni.anim.people in the Python API

Hello Nvidians,

I’m using Isaac Sim using the Python API in a standalone workflow to generate synthetic data for a scene. I can use replicator, etc. to randomly position static objects. The examples posted online use the interactive GUI to use omni.anim.people.

Is it possible to spawn people, set their commands, animate them, and generate a nav mesh through the Python API? That way, I could have people moving naturally and avoiding dynamic objects in reproducible scripts.

2 Likes

Hello,

We don’t have dedicated API for those, but you can import the modules from the omni.anim.people extension and call functions in those modules in your SDG scripts. To check the functions, in the extension window search for omni.anim.people and click on the folder icon.

Hello @KrishnaK have you found any solution?

Hi, @KrishnaK, I have the same question to ask refer to @jrb2 Is it possible to spawn people, set their commands, animate them, and generate a nav mesh through the Python API?

I found some useful code refer to Ag.get_character() does not work when trying to run as an extension?

code.txt (2.2 KB)
But I was wondering how to code the other part.