From e31b1fb1655bfc745d38330a6b533ace6bc6c205 Mon Sep 17 00:00:00 2001 From: hang-yin Date: Thu, 26 Sep 2024 16:35:01 -0700 Subject: [PATCH] Minor test fix --- tests/test_robot_states_flatcache.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/test_robot_states_flatcache.py b/tests/test_robot_states_flatcache.py index 68fdada17..82d42db7f 100644 --- a/tests/test_robot_states_flatcache.py +++ b/tests/test_robot_states_flatcache.py @@ -210,7 +210,7 @@ def test_robot_load_drive(): og.sim.stop() env.scene.remove_object(obj=robot) - env.close() + og.clear() def test_grasping_mode(): @@ -233,7 +233,6 @@ def test_grasping_mode(): bounding_box=[0.5, 0.5, 0.8], fixed_base=True, position=[0.7, -0.1, 0.6], - orientation=[0, 0, 0.707, 0.707], ) ) objects_cfg.append( @@ -323,4 +322,4 @@ def object_is_in_hand(robot, obj): og.sim.stop() env.scene.remove_object(obj=robot) - env.close() + og.clear()