MapsManager: don't republish maps when latching is enabled and maps didn't change

This commit is contained in:
matlabbe
2019-03-19 14:12:20 -04:00
parent ab23e651bf
commit 5e74c244a4
2 changed files with 181 additions and 55 deletions
+5
View File
@@ -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_ */