mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 09:30:25 +08:00
report: added --gt option to input external ground truth file. DBViewer: fixed crash when unchecking "Ignore intermediate nodes".
This commit is contained in:
@@ -430,7 +430,7 @@ bool importPoses(
|
||||
else if(format == 1 || format==10 || format==11) // rgbd-slam format
|
||||
{
|
||||
std::list<std::string> strList = uSplit(str);
|
||||
if((strList.size() == 8 && format!=11) || (strList.size() == 9 && format==11))
|
||||
if((strList.size() >= 8 && format!=11) || (strList.size() == 9 && format==11))
|
||||
{
|
||||
double stamp = uStr2Double(strList.front());
|
||||
strList.pop_front();
|
||||
|
||||
@@ -163,7 +163,7 @@ cv::Mat Link::uncompressUserDataConst() const
|
||||
|
||||
Link Link::merge(const Link & link, Type outputType) const
|
||||
{
|
||||
UASSERT(to_ == link.from());
|
||||
UASSERT_MSG(to_ == link.from(), uFormat("merging this=%d->%d to link=%d->%d", from_, to_, link.from(), link.to()).c_str());
|
||||
UASSERT(outputType != Link::kUndef);
|
||||
UASSERT((link.transform().isNull() && transform_.isNull()) || (!link.transform().isNull() && !transform_.isNull()));
|
||||
UASSERT(infMatrix_.cols == 6 && infMatrix_.rows == 6 && infMatrix_.type() == CV_64FC1);
|
||||
|
||||
@@ -552,7 +552,7 @@ Transform RegistrationVis::computeTransformationImpl(
|
||||
}
|
||||
}
|
||||
|
||||
UDEBUG("Pprojected %d/%ld points inside %d cameras (time=%fs)",
|
||||
UDEBUG("Projected %d/%ld points inside %d cameras (time=%fs)",
|
||||
inFrame, cornersTo.size(), nCameras, t.ticks());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user