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

GeometricPlanning lib: surpressing compiler warnings

parent bb8b53b4
No related branches found
No related tags found
No related merge requests found
......@@ -26,7 +26,7 @@ namespace simox::geometric_planning
const std::string handleNodeName = nodeSetName + constants::HandleSuffix;
const std::string surfaceProjectionNodeName = nodeSetName + constants::SurfaceSuffix;
const auto checkNodeExists = [&rns, &nodeSetName](const std::string& nodeName)
const auto checkNodeExists = [&rns, &nodeSetName]([[maybe_unused]] const std::string& nodeName)
{
REQUIRE_MESSAGE(rns->hasRobotNode(nodeName),
"Robot node `" << nodeName + "` does not exist within robot node set `"
......
......@@ -65,7 +65,7 @@ namespace simox::geometric_planning
};
// validate assumption
const auto numberMovableParentJoints =
[[maybe_unused]] const auto numberMovableParentJoints =
std::accumulate(parents.begin(),
parents.end(),
0,
......
......@@ -29,7 +29,7 @@ namespace simox::geometric_planning
}
Eigen::Vector3f
Circle::getPositionDerivative(float t) const
Circle::getPositionDerivative([[maybe_unused]] float t) const
{
REQUIRE(parameterRange().isInRange(t));
......
......@@ -26,7 +26,7 @@ namespace simox::geometric_planning
}
Eigen::Vector3f
Line::getPositionDerivative(float t) const
Line::getPositionDerivative([[maybe_unused]] float t) const
{
REQUIRE(parameterRange().isInRange(t));
......
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