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.
This commit is contained in:
nayabrasul
2017-10-06 16:57:30 +02:00
committed by GitHub
parent 0b8ff7cc01
commit d927f1886c
+3 -4
View File
@@ -161,12 +161,12 @@ public:
void getGraph(std::map<int, Transform> & poses,
std::multimap<int, Link> & constraints,
bool optimized,
bool global,
bool global,
std::map<int, Signature> * 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_ */