Skip to content

Commit b5e657e

Browse files
committed
Call reset before initializing the task
Signed-off-by: Paul Gesel <[email protected]>
1 parent 325c401 commit b5e657e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/src/task.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,7 @@ moveit::core::MoveItErrorCode Task::plan(size_t max_solutions) {
248248
auto guard = sg::make_scope_guard([this]() noexcept { this->resetPreemptRequest(); });
249249

250250
auto impl = pimpl();
251+
reset();
251252
init();
252253

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

0 commit comments

Comments
 (0)