Skip to content

Commit

Permalink
Call reset before initializing the task
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Gesel <[email protected]>
  • Loading branch information
pac48 committed Jan 7, 2025
1 parent 325c401 commit b5e657e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/src/task.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@ moveit::core::MoveItErrorCode Task::plan(size_t max_solutions) {
auto guard = sg::make_scope_guard([this]() noexcept { this->resetPreemptRequest(); });

auto impl = pimpl();
reset();
init();

// Print state and return success if there are solutions otherwise the input error_code
Expand Down

0 comments on commit b5e657e

Please sign in to comment.