mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 01:20:25 +08:00
Added debug info for time required to get links from database when planning
This commit is contained in:
@@ -1278,9 +1278,9 @@ std::list<std::pair<int, Transform> > computePath(
|
||||
if(lookInDatabase)
|
||||
{
|
||||
// Faster to load all links in one query
|
||||
//UTimer t;
|
||||
UTimer t;
|
||||
allLinks = memory->getAllLinks(lookInDatabase);
|
||||
//UWARN("getting all %d links time = %f s", (int)allLinks.size(), t.ticks());
|
||||
UINFO("getting all %d links time = %f s", (int)allLinks.size(), t.ticks());
|
||||
}
|
||||
|
||||
//dijkstra
|
||||
|
||||
Reference in New Issue
Block a user