Skip to content

Commit e5394ae

Browse files
authored
Fix robot navigator params getting overriden (#3562)
1 parent 4b9bd86 commit e5394ae

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

nav2_simple_commander/nav2_simple_commander/robot_navigator.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ def _getPathImpl(self, start, goal, planner_id='', use_start=False):
353353

354354
def getPath(self, start, goal, planner_id='', use_start=False):
355355
"""Send a `ComputePathToPose` action request."""
356-
rtn = self._getPathImpl(start, goal, planner_id='', use_start=False)
356+
rtn = self._getPathImpl(start, goal, planner_id, use_start)
357357
if not rtn:
358358
return None
359359
else:
@@ -426,7 +426,7 @@ def _smoothPathImpl(self, path, smoother_id='', max_duration=2.0, check_for_coll
426426
def smoothPath(self, path, smoother_id='', max_duration=2.0, check_for_collision=False):
427427
"""Send a `SmoothPath` action request."""
428428
rtn = self._smoothPathImpl(
429-
self, path, smoother_id='', max_duration=2.0, check_for_collision=False)
429+
self, path, smoother_id, max_duration, check_for_collision)
430430
if not rtn:
431431
return None
432432
else:

0 commit comments

Comments
 (0)