This commit is contained in:
Max Hunt 2020-02-10 17:59:00 +00:00
parent 684349bc42
commit 28d9235e0e

View File

@ -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