mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-03 01:50:24 +08:00
minor fix
This commit is contained in:
@@ -2295,7 +2295,7 @@ bool Rtabmap::computePath(
|
|||||||
const std::map<int, Transform> & nodes,
|
const std::map<int, Transform> & nodes,
|
||||||
const std::multimap<int, rtabmap::Link> & constraints)
|
const std::multimap<int, rtabmap::Link> & constraints)
|
||||||
{
|
{
|
||||||
if(_memory->getWorkingMem().size() <= 1 || !_memory->getLastWorkingSignature()) // ignore virtual place
|
if(!_memory->getLastWorkingSignature())
|
||||||
{
|
{
|
||||||
UWARN("Working memory is empty... cannot compute a path");
|
UWARN("Working memory is empty... cannot compute a path");
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user