mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 09:30:25 +08:00
Grid/OctoMap: updated update() interface to return boolean to know if the map has been updated
This commit is contained in:
@@ -97,7 +97,7 @@ public:
|
||||
const cv::Mat & ground,
|
||||
const cv::Mat & obstacles,
|
||||
const cv::Mat & empty);
|
||||
void update(const std::map<int, Transform> & poses);
|
||||
bool update(const std::map<int, Transform> & poses); // return true if map has changed
|
||||
cv::Mat getMap(float & xMin, float & yMin) const;
|
||||
cv::Mat getProbMap(float & xMin, float & yMin) const;
|
||||
const pcl::PointCloud<pcl::PointXYZRGB>::Ptr & getMapGround() const {return assembledGround_;}
|
||||
|
||||
@@ -185,7 +185,7 @@ public:
|
||||
const cv::Mat & obstacles,
|
||||
const cv::Mat & empty,
|
||||
const cv::Point3f & viewPoint);
|
||||
void update(const std::map<int, Transform> & poses);
|
||||
bool update(const std::map<int, Transform> & poses); // return true if map has changed
|
||||
|
||||
const RtabmapColorOcTree * octree() const {return octree_;}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user