I am trying to animate people using anim.people in a standalone simulation. My final goal would be to use the tool like discussed in this forum discussion).
But even when first starting the simulation first, stoping it and adding the people using the GUI, the characters are loaded correctly (and the animation scripts are applied), but the character behavior (character_behavior.py) is never executed and the humans are therefore never moving
python code:
from omni.isaac.kit import SimulationApp
simulation_app = SimulationApp({"headless": False})
from omni.isaac.core import World
from omni.isaac.core.utils.nucleus import get_assets_root_path
import carb
from omni.isaac.core.utils.extensions import enable_extension
enable_extension("omni.anim.people")
my_world = World(stage_units_in_meters=1.0)
assets_root_path = get_assets_root_path()
if assets_root_path is None:
carb.log_error("Could not find Isaac Sim assets folder")
my_world.scene.add_default_ground_plane()
my_world.reset()
i = 0
while simulation_app.is_running():
my_world.step(render=True)
if my_world.is_playing():
if my_world.current_time_step_index == 0:
my_world.reset()
simulation_app.close()
Am I missing something?