Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ class TebLocalPlannerROS : public nav2_core::Controller
void activate() override;
void deactivate() override;
void cleanup() override;
void reset() override;

/**
* @brief Initializes the teb plugin
Expand Down
5 changes: 5 additions & 0 deletions teb_local_planner/src/teb_local_planner_ros.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1139,6 +1139,11 @@ void TebLocalPlannerROS::cleanup() {
return;
}

void TebLocalPlannerROS::reset() {
planner_->clearPlanner();
return;
}

} // end namespace teb_local_planner

// register this planner as a nav2_core::Controller plugin
Expand Down