From 332186873253d495e576d4656029499bef40340e Mon Sep 17 00:00:00 2001
From: Fabian Reister <fabian.reister@kit.edu>
Date: Thu, 30 Sep 2021 10:45:03 +0200
Subject: [PATCH] fix: copy c'tor of GoalReachedMonitor not working atm

---
 source/armarx/navigation/server/Navigator.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/source/armarx/navigation/server/Navigator.cpp b/source/armarx/navigation/server/Navigator.cpp
index caa6426f..3120704c 100644
--- a/source/armarx/navigation/server/Navigator.cpp
+++ b/source/armarx/navigation/server/Navigator.cpp
@@ -468,6 +468,7 @@ namespace armarx::navigation::server
 
         ARMARX_TRACE;
 
+        goalReachedMonitor = std::nullopt;
         goalReachedMonitor =
             GoalReachedMonitor(graphBuilder.goalPose(), *config.scene, GoalReachedMonitorConfig());
 
-- 
GitLab