From 1336cca43d331ead3bcc703526337056b8cbb24a Mon Sep 17 00:00:00 2001
From: Rainer Kartmann <rainer.kartmann@kit.edu>
Date: Mon, 13 Feb 2023 09:52:10 +0100
Subject: [PATCH] Disable other assertions that dont compile in debug

---
 GeometricPlanning/ArticulatedObjectDoorHelper.cpp | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/GeometricPlanning/ArticulatedObjectDoorHelper.cpp b/GeometricPlanning/ArticulatedObjectDoorHelper.cpp
index 87fd89839..683f30041 100644
--- a/GeometricPlanning/ArticulatedObjectDoorHelper.cpp
+++ b/GeometricPlanning/ArticulatedObjectDoorHelper.cpp
@@ -20,7 +20,7 @@ namespace simox::geometric_planning
     ArticulatedObjectDoorHelper::planInteraction(const std::string& nodeSetName) const
     {
         const auto rns = object->getRobotNodeSet(nodeSetName);
-        REQUIRE_MESSAGE(rns != nullptr, "Robot node set `" << nodeSetName << "` does not exist!");
+        // REQUIRE_MESSAGE(rns != nullptr, "Robot node set `" << nodeSetName << "` does not exist!");
 
         const std::string jointNodeName = nodeSetName + constants::JointSuffix;
         const std::string handleNodeName = nodeSetName + constants::HandleSuffix;
@@ -28,9 +28,12 @@ namespace simox::geometric_planning
 
         const auto checkNodeExists = [&rns, &nodeSetName]([[maybe_unused]] const std::string& nodeName)
         {
+            (void) rns, (void) nodeSetName;
+            /*
             REQUIRE_MESSAGE(rns->hasRobotNode(nodeName),
                             "Robot node `" << nodeName + "` does not exist within robot node set `"
                                            << nodeSetName << "`!");
+            */
         };
 
         for (const auto& nodeName : {jointNodeName, handleNodeName, surfaceProjectionNodeName})
-- 
GitLab