Skip to content

Commit

Permalink
node_name change during initialization (ros-navigation#3387)
Browse files Browse the repository at this point in the history
  • Loading branch information
austin-InDro authored Jan 27, 2023
1 parent db4571b commit e75612f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ class TaskResult(Enum):

class BasicNavigator(Node):

def __init__(self):
super().__init__(node_name='basic_navigator')
def __init__(self, node_name='basic_navigator'):
super().__init__(node_name=node_name)
self.initial_pose = PoseStamped()
self.initial_pose.header.frame_id = 'map'
self.goal_handle = None
Expand Down

0 comments on commit e75612f

Please sign in to comment.