From 685e41dde2b90d7a06198bf8de7eac6f9f6d3bad Mon Sep 17 00:00:00 2001 From: Michel Breyer Date: Tue, 17 Aug 2021 16:43:11 +0200 Subject: [PATCH] Explicitly initialize tf broadcaster --- active_grasp/controller.py | 1 + 1 file changed, 1 insertion(+) diff --git a/active_grasp/controller.py b/active_grasp/controller.py index 42ae435..dd8a80a 100644 --- a/active_grasp/controller.py +++ b/active_grasp/controller.py @@ -31,6 +31,7 @@ class GraspController: self.T_grasp_ee = Transform.from_list(rospy.get_param("~ee_grasp_offset")).inv() def lookup_transforms(self): + tf.init() self.T_ee_cam = tf.lookup(self.ee_frame, self.cam_frame) def init_robot_connection(self):