mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-12 22:40:19 +08:00
Report: ignore total slam time on intermediate nodes
This commit is contained in:
@@ -259,14 +259,14 @@ int main(int argc, char * argv[])
|
||||
|
||||
if(uContains(stat, std::string("RtabmapROS/TotalTime/ms")))
|
||||
{
|
||||
if(w>=0 || stat.at("RtabmapROS/TotalTime/ms") > 10.0f)
|
||||
if(w>=0)
|
||||
{
|
||||
slamTime.push_back(stat.at("RtabmapROS/TotalTime/ms"));
|
||||
}
|
||||
}
|
||||
else if(uContains(stat, Statistics::kTimingTotal()))
|
||||
{
|
||||
if(w>=0 || stat.at(Statistics::kTimingTotal()) > 10.0f)
|
||||
if(w>=0)
|
||||
{
|
||||
slamTime.push_back(stat.at(Statistics::kTimingTotal()));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user