Skip to content

Commit

Permalink
Fix robot navigator params getting overriden (#3562)
Browse files Browse the repository at this point in the history
  • Loading branch information
nakai-omer committed May 9, 2023
1 parent 4b9bd86 commit e5394ae
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ def _getPathImpl(self, start, goal, planner_id='', use_start=False):

def getPath(self, start, goal, planner_id='', use_start=False):
"""Send a `ComputePathToPose` action request."""
rtn = self._getPathImpl(start, goal, planner_id='', use_start=False)
rtn = self._getPathImpl(start, goal, planner_id, use_start)
if not rtn:
return None
else:
Expand Down Expand Up @@ -426,7 +426,7 @@ def _smoothPathImpl(self, path, smoother_id='', max_duration=2.0, check_for_coll
def smoothPath(self, path, smoother_id='', max_duration=2.0, check_for_collision=False):
"""Send a `SmoothPath` action request."""
rtn = self._smoothPathImpl(
self, path, smoother_id='', max_duration=2.0, check_for_collision=False)
self, path, smoother_id, max_duration, check_for_collision)
if not rtn:
return None
else:
Expand Down

0 comments on commit e5394ae

Please sign in to comment.