Skip to content

Commit

Permalink
change demo agents size
Browse files Browse the repository at this point in the history
  • Loading branch information
cadop committed Jan 17, 2023
1 parent 199e481 commit 0aa11d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions exts/siborg.simulate.crowd/siborg/simulate/crowd/extension.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 0aa11d8

Please sign in to comment.