From 5b829b26bf56c4697f6c17674bf185b81d2a762d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mirko=20W=C3=A4chter?= <mirko.waechter@kit.edu> Date: Wed, 1 May 2019 19:51:18 +0200 Subject: [PATCH] fixed debug compilation --- MotionPlanning/CSpace/CSpace.cpp | 2 +- VirtualRobot/IK/PoseQualityMeasurement.cpp | 2 +- VirtualRobot/Workspace/VoxelTreeND.hpp | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/MotionPlanning/CSpace/CSpace.cpp b/MotionPlanning/CSpace/CSpace.cpp index 7f72f2418..40a496b56 100644 --- a/MotionPlanning/CSpace/CSpace.cpp +++ b/MotionPlanning/CSpace/CSpace.cpp @@ -406,7 +406,7 @@ namespace Saba return d; } - float CSpace::getDirectedMaxMovement(const Eigen::VectorXf& /*config*/, const Eigen::VectorXf& /*nextConfig*/) + float CSpace::getDirectedMaxMovement(const Eigen::VectorXf& config, const Eigen::VectorXf& nextConfig) { SABA_ASSERT(config.rows() == dimension) SABA_ASSERT(nextConfig.rows() == dimension) diff --git a/VirtualRobot/IK/PoseQualityMeasurement.cpp b/VirtualRobot/IK/PoseQualityMeasurement.cpp index c6c19271e..fa1d0116d 100644 --- a/VirtualRobot/IK/PoseQualityMeasurement.cpp +++ b/VirtualRobot/IK/PoseQualityMeasurement.cpp @@ -29,7 +29,7 @@ namespace VirtualRobot return 0.0f; } - float PoseQualityMeasurement::getPoseQuality(const Eigen::VectorXf& /*direction*/) + float PoseQualityMeasurement::getPoseQuality(const Eigen::VectorXf& direction) { VR_ASSERT(direction.rows() == 3 || direction.rows() == 6); VR_WARNING << "Please use derived classes..." << endl; diff --git a/VirtualRobot/Workspace/VoxelTreeND.hpp b/VirtualRobot/Workspace/VoxelTreeND.hpp index 36f827516..b0b2e1400 100644 --- a/VirtualRobot/Workspace/VoxelTreeND.hpp +++ b/VirtualRobot/Workspace/VoxelTreeND.hpp @@ -312,7 +312,6 @@ namespace VirtualRobot idElementMapping[(unsigned int)(i + 1)] = e; // we start with 1, but root is already created! } - VR_ASSERT(tree->currentElementID == (unsigned int)expectedID); FileIO::readString(tmpString, file); THROW_VR_EXCEPTION_IF(tmpString != "DATA_START", "Bad file format, expecting DATA_START"); -- GitLab