mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-12 06:20:19 +08:00
Rtabmap: Refactored how fake odom is generated in localization mode when no odom is provided. Trigger new map in localization mode also clears last localization pose if RGBD/SavedLocalizationIgnored is true.
This commit is contained in:
@@ -399,10 +399,7 @@ int main(int argc, char * argv[])
|
||||
showLocalizationStats();
|
||||
lastLocalizationOdomPose = info.odomPose;
|
||||
}
|
||||
if(incrementalMemory)
|
||||
{
|
||||
rtabmap.triggerNewMap();
|
||||
}
|
||||
rtabmap.triggerNewMap();
|
||||
}
|
||||
UTimer t;
|
||||
if(!rtabmap.process(data, info.odomPose, info.odomCovariance, info.odomVelocity, globalMapStats))
|
||||
|
||||
Reference in New Issue
Block a user