mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 09:30:25 +08:00
fixed scan-only nodes wrongly set as intermediate nodes by default
This commit is contained in:
@@ -4131,7 +4131,7 @@ Signature * Memory::createSignature(const SensorData & inputData, const Transfor
|
||||
float t;
|
||||
std::vector<cv::KeyPoint> keypoints;
|
||||
cv::Mat descriptors;
|
||||
bool isIntermediateNode = data.id() < 0 || (data.imageRaw().empty() && data.keypoints().empty());
|
||||
bool isIntermediateNode = data.id() < 0 || (data.imageRaw().empty() && data.keypoints().empty() && data.laserScanRaw().empty());
|
||||
int id = data.id();
|
||||
if(_generateIds)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user