From e71b1c217f1b0e3d7148eff3d057c2bca9d35ca7 Mon Sep 17 00:00:00 2001 From: Netceor <45135347+Netceor@users.noreply.github.com> Date: Fri, 17 Nov 2023 13:18:09 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=9D=E5=A7=8B=E5=8C=96=E6=97=B6=E6=B8=85?= =?UTF-8?q?=E7=A9=BA=E8=A1=8C=E4=BA=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- robowaiter/scene/scene.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/robowaiter/scene/scene.py b/robowaiter/scene/scene.py index 98d2041..05e4c72 100644 --- a/robowaiter/scene/scene.py +++ b/robowaiter/scene/scene.py @@ -180,9 +180,10 @@ class Scene: def reset_sim(self): # reset world + stub.CleanWalkers(GrabSim_pb2.SceneID(value=self.sceneID)) init_world() stub.Reset(GrabSim_pb2.ResetParams(scene=self.sceneID)) - stub.CleanWalkers(GrabSim_pb2.SceneID(value=self.sceneID)) + def _reset(self): # 场景自定义的reset