mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-03 01:50:24 +08:00
fixed runtime errors for single depth camera and stereo
This commit is contained in:
@@ -149,7 +149,7 @@ void DBReader::mainLoopBegin()
|
||||
void DBReader::mainLoop()
|
||||
{
|
||||
OdometryEvent odom = this->getNextData();
|
||||
if(odom.isValid())
|
||||
if(odom.data().id())
|
||||
{
|
||||
int goalId = 0;
|
||||
double previousStamp = odom.data().stamp();
|
||||
|
||||
Reference in New Issue
Block a user