From 28d9235e0e68579544d1947e54558c04ab03f9e9 Mon Sep 17 00:00:00 2001 From: Max Hunt Date: Mon, 10 Feb 2020 17:59:00 +0000 Subject: [PATCH] Update --- object_tf_service.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/object_tf_service.py b/object_tf_service.py index 37b47af..551b589 100755 --- a/object_tf_service.py +++ b/object_tf_service.py @@ -24,7 +24,10 @@ class tf_service(): # Get index for object_name in self._nodes: '''HORRIBLE HACK BEGIN''' - if SIGKILL: exit(0) + print(SIGKILL) + if SIGKILL: + print('MURDARING') + exit(0) if object_name == 'baxter::base': spawn_name = 'base' else: @@ -52,6 +55,3 @@ def init(): x = tf_service() x.gazebo_link_subscriber() -def deinit(): - global SIGKILL - SIGKILL = True