mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-04 00:37:46 +08:00
MapsManager: don't republish maps when latching is enabled and maps didn't change
This commit is contained in:
@@ -123,11 +123,16 @@ private:
|
||||
std::map<int, cv::Point3f> gridMapsViewpoints_;
|
||||
|
||||
rtabmap::OccupancyGrid * occupancyGrid_;
|
||||
bool gridUpdated_;
|
||||
|
||||
rtabmap::OctoMap * octomap_;
|
||||
int octomapTreeDepth_;
|
||||
bool octomapUpdated_;
|
||||
|
||||
rtabmap::ParametersMap parameters_;
|
||||
|
||||
bool latching_;
|
||||
std::map<void*, bool> latched_;
|
||||
};
|
||||
|
||||
#endif /* MAPSMANAGER_H_ */
|
||||
|
||||
Reference in New Issue
Block a user