Skip to content

Commit

Permalink
temp save
Browse files Browse the repository at this point in the history
  • Loading branch information
hanruihua committed Nov 27, 2024
1 parent 27b7504 commit db36053
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 45 deletions.
17 changes: 0 additions & 17 deletions irsim/test_collision_avoidance.py

This file was deleted.

16 changes: 0 additions & 16 deletions irsim/test_keyboard_control.py

This file was deleted.

23 changes: 11 additions & 12 deletions tests/test_all_objects.py
Original file line number Diff line number Diff line change
@@ -1,30 +1,29 @@
import irsim

def test_collision_avoidance():
def test_all_objects():

env = irsim.make("test_collision_avoidance.yaml", save_ani=False, full=False, display=False)

for i in range(100):

for i in range(10):
env.step()
env.render(0.01)

env.end()


def test_all_objects():


env = irsim.make('test_all_objects.yaml', display=False)

for i in range(100):

for i in range(10):
env.step()
env.render(0.01)
env.end()

env = irsim.make('test_keyboard_control.yaml', save_ani=False, display=False)

for i in range(10):
env.step()
env.render(0.01)
env.end()


if __name__ == "__main__":
test_collision_avoidance()
test_all_objects()
File renamed without changes.

0 comments on commit db36053

Please sign in to comment.