From 0aa11d8dcbe9302a955856b2422f4e6d2454a2f4 Mon Sep 17 00:00:00 2001 From: cadop Date: Tue, 17 Jan 2023 11:03:34 -0500 Subject: [PATCH] change demo agents size --- exts/siborg.simulate.crowd/siborg/simulate/crowd/extension.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/exts/siborg.simulate.crowd/siborg/simulate/crowd/extension.py b/exts/siborg.simulate.crowd/siborg/simulate/crowd/extension.py index a4d2b75..3f3d02b 100644 --- a/exts/siborg.simulate.crowd/siborg/simulate/crowd/extension.py +++ b/exts/siborg.simulate.crowd/siborg/simulate/crowd/extension.py @@ -6,7 +6,7 @@ from . import window from . import simulator from .env import Environment - + class SFsim(omni.ext.IExt): # ext_id is current extension id. It can be used with extension manager to query # additional information, like where this extension is located on filesystem. @@ -59,7 +59,7 @@ def api_example(self): def demo_api_call(self, Sim): # Use the builtin function for demo agents Sim.rigidbody = self.rigid_flag - Sim.init_demo_agents(m=2,n=2,s=1.1) + Sim.init_demo_agents(m=3,n=3,s=1.1) if not Sim.rigidbody: Sim.create_geompoints() # Create a usdgeom point instance for easy visualization