Skip to content
Snippets Groups Projects
Commit 7f3ce1ca authored by Fabian Reister's avatar Fabian Reister
Browse files

fixing build (doctest version)

parent 857e159f
No related branches found
No related tags found
No related merge requests found
...@@ -21,7 +21,7 @@ namespace simox::geometric_planning ...@@ -21,7 +21,7 @@ namespace simox::geometric_planning
ArticulatedObjectDoorHelper::planInteraction(const std::string& nodeSetName) const ArticulatedObjectDoorHelper::planInteraction(const std::string& nodeSetName) const
{ {
const auto rns = object->getRobotNodeSet(nodeSetName); const auto rns = object->getRobotNodeSet(nodeSetName);
CHECK_MESSAGE(rns != nullptr, "Robot node set `" + nodeSetName + "` does not exist!"); CHECK_MESSAGE(rns != nullptr, std::string("Robot node set `" + nodeSetName + "` does not exist!"));
const std::string jointNodeName = nodeSetName + constants::JointSuffix; const std::string jointNodeName = nodeSetName + constants::JointSuffix;
const std::string handleNodeName = nodeSetName + constants::HandleSuffix; const std::string handleNodeName = nodeSetName + constants::HandleSuffix;
...@@ -30,8 +30,8 @@ namespace simox::geometric_planning ...@@ -30,8 +30,8 @@ namespace simox::geometric_planning
const auto checkNodeExists = [&rns, &nodeSetName]([[maybe_unused]] const std::string& nodeName) const auto checkNodeExists = [&rns, &nodeSetName]([[maybe_unused]] const std::string& nodeName)
{ {
CHECK_MESSAGE(rns->hasRobotNode(nodeName), CHECK_MESSAGE(rns->hasRobotNode(nodeName),
"Robot node `" + nodeName + "` does not exist within robot node set `" std::string("Robot node `" + nodeName + "` does not exist within robot node set `"
+ nodeSetName + "`!"); + nodeSetName + "`!"));
}; };
for (const auto& nodeName : {jointNodeName, handleNodeName, surfaceProjectionNodeName}) 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