radiusPosesFiltering default keepLatest=true

git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1550 f169173b-cf89-36c8-b27e-44dbe73f0c83
This commit is contained in:
matlabbe
2014-07-13 17:59:38 +00:00
parent 6e3303654e
commit 16058dcbbe
4 changed files with 30 additions and 13 deletions

View File

@@ -393,7 +393,8 @@ bool RTABMAP_EXP loadTOROGraph(const std::string & fileName,
std::map<int, Transform> RTABMAP_EXP radiusPosesFiltering(
const std::map<int, Transform> & poses,
float radius,
float angle);
float angle,
bool keepLatest = true);
cv::Mat RTABMAP_EXP create2DMap(const std::map<int, Transform> & poses,
const std::map<int, pcl::PointCloud<pcl::PointXYZ>::Ptr > & scans,