Skip to content

Commit

Permalink
updata example
Browse files Browse the repository at this point in the history
  • Loading branch information
YoruCathy committed Apr 7, 2024
1 parent b8e5ee6 commit 7921207
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pyrcareworld/Examples/example_load_object.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
from pyrcareworld.envs import RCareWorld

env = RCareWorld(assets=["Cube"])
cube = env.create_object(id=2333, name="Cube", is_in_scene=False)
cube = env.create_object(id=12345, name="Cube", is_in_scene=False)
cube.load()
print(env.instance_channel.data)
# env.close()
while True:
for i in range(500):
env._step()
print(env.instance_channel.data)
env.close()

0 comments on commit 7921207

Please sign in to comment.