From d927f1886c06198c4d008a6b882b69e7fe85914f Mon Sep 17 00:00:00 2001 From: nayabrasul Date: Fri, 6 Oct 2017 16:57:30 +0200 Subject: [PATCH] Update Rtabmap.h Proper closing of name space with in the #RTABMAP_H_. Multiple includes of "Rtabmap.h" with in the application causing the compilation problem. --- corelib/include/rtabmap/core/Rtabmap.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/corelib/include/rtabmap/core/Rtabmap.h b/corelib/include/rtabmap/core/Rtabmap.h index c452a21e..9281c4da 100644 --- a/corelib/include/rtabmap/core/Rtabmap.h +++ b/corelib/include/rtabmap/core/Rtabmap.h @@ -161,12 +161,12 @@ public: void getGraph(std::map & poses, std::multimap & constraints, bool optimized, - bool global, + bool global, std::map * signatures = 0); int detectMoreLoopClosures(float clusterRadius = 0.5f, float clusterAngle = M_PI/6.0f, int iterations = 1, const ProgressState * state = 0); int refineLinks(); - int getPathStatus() const {return _pathStatus;} // -1=failed 0=idle/executing 1=success + int getPathStatus() const {return _pathStatus;} // -1=failed 0=idle/executing 1=success void clearPath(int status); // -1=failed 0=idle/executing 1=success bool computePath(int targetNode, bool global); bool computePath(const Transform & targetPose); // only in current optimized map @@ -293,6 +293,5 @@ private: }; -#endif /* RTABMAP_H_ */ - } // namespace rtabmap +#endif /* RTABMAP_H_ */