Skip to content

Commit 9566763

Browse files
clean if-else
Co-authored-by: Janna Lin <jnl77@cornell.edu>
1 parent a937047 commit 9566763

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

hello_helpers/src/hello_helpers/hello_misc.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,7 @@ def main(self, node_name, node_topic_namespace, wait_for_first_pointcloud=True):
243243

244244
self.tf2_buffer = tf2_ros.Buffer()
245245
self.tf2_listener = tf2_ros.TransformListener(self.tf2_buffer)
246+
246247
if self.robot_name == None:
247248
self._joint_states_subscriber = rospy.Subscriber('/stretch/joint_states', JointState, self._joint_states_callback)
248249
self._tool_subscriber = rospy.Subscriber('/tool', String, self._tool_callback)

0 commit comments

Comments
 (0)