mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-06 01:37:46 +08:00
Added /rtabmap/initialpose input topic, added use_saved_map parameters (default true).
This commit is contained in:
+2
-1
@@ -433,6 +433,7 @@ std::map<int, rtabmap::Transform> MapsManager::updateMapCaches(
|
||||
}
|
||||
|
||||
bool longUpdate = false;
|
||||
UTimer longUpdateTimer;
|
||||
if(filteredPoses.size() > 20)
|
||||
{
|
||||
if(updateGridCache && gridMaps_.size() < 5)
|
||||
@@ -685,7 +686,7 @@ std::map<int, rtabmap::Transform> MapsManager::updateMapCaches(
|
||||
|
||||
if(longUpdate)
|
||||
{
|
||||
ROS_WARN("Map(s) updated!");
|
||||
ROS_WARN("Map(s) updated! (%f s)", longUpdateTimer.ticks());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user