Skip to content

Commit

Permalink
object tf prefix defaults to the node name
Browse files Browse the repository at this point in the history
  • Loading branch information
douglasrizzo committed Nov 9, 2018
1 parent 77a6532 commit 4eea956
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/detector.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def __init__(self):
point_cloud_topic = rospy.get_param('~point_cloud_topic', None)

self._global_frame = rospy.get_param('~global_frame', None)
self._tf_prefix = rospy.get_param('~tf_prefix', None)
self._tf_prefix = rospy.get_param('~tf_prefix', rospy.get_name())

# create a transform listener so we get the fixed frame the user wants
# to publish object tfs related to
Expand Down

0 comments on commit 4eea956

Please sign in to comment.