Skip to content

Commit 992723b

Browse files
committed
Kill all gazebo harmonic before
1 parent 4c9f178 commit 992723b

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

manager/manager/manager.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,12 @@ def on_launch_world(self, event):
245245
The method logs the start of the launch transition and the configuration details for debugging and traceability.
246246
"""
247247

248+
try:
249+
self.terminate_harmonic_processes()
250+
LogManager.logger.info("Removing old processes")
251+
except:
252+
pass
253+
248254
cfg_dict = event.kwargs.get("data", {})
249255
world_cfg = cfg_dict['world']
250256
robot_cfg = cfg_dict['robot']

0 commit comments

Comments
 (0)