mirror of
https://github.com/introlab/rtabmap.git
synced 2026-10-07 10:37:47 +08:00
Fixing getNodeData missing compressed grids
This commit is contained in:
@@ -5920,6 +5920,11 @@ Signature Rtabmap::getSignatureCopy(int id, bool images, bool scan, bool userDat
|
||||
s.sensorData().setGlobalDescriptors(globalDescriptors);
|
||||
}
|
||||
}
|
||||
if(!withGlobalDescriptors)
|
||||
{
|
||||
// Node data taken from memory comes with its global descriptors.
|
||||
s.sensorData().clearGlobalDescriptors();
|
||||
}
|
||||
if(velocity.size()==6)
|
||||
{
|
||||
s.setVelocity(velocity[0], velocity[1], velocity[2], velocity[3], velocity[4], velocity[5]);
|
||||
|
||||
Reference in New Issue
Block a user