Skip to content
Snippets Groups Projects
Commit 1336cca4 authored by Rainer Kartmann's avatar Rainer Kartmann
Browse files

Disable other assertions that dont compile in debug

parent d2daea40
No related branches found
No related tags found
No related merge requests found
......@@ -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})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment