From 6c12c1f894991ef39d794be9751c45a2322db868 Mon Sep 17 00:00:00 2001 From: Iori Kumagai Date: Thu, 19 Oct 2023 15:59:16 +0900 Subject: [PATCH] Do not reset shared_ptrs to prevent SEGV when changing controllers --- src/MultiContactController.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/MultiContactController.cpp b/src/MultiContactController.cpp index 5c97f4d..6d8324e 100644 --- a/src/MultiContactController.cpp +++ b/src/MultiContactController.cpp @@ -181,9 +181,7 @@ void MultiContactController::stop() // Clean up managers limbManagerSet_->stop(); - limbManagerSet_.reset(); centroidalManager_->stop(); - centroidalManager_.reset(); // Clean up anchor setDefaultAnchor();