Commit b1edbb75 authored by juefx's avatar juefx

fix traj error exception

parent 7dc9fec7
......@@ -52,6 +52,7 @@ bool PcdReader::getNextFrame(PointCloud*& frame) {
PointCloudI tempFrame;
double time;
while (!suceess) {
if (pcdIndex_ >= pcdPathVec_.size()) return false;
string pcdPath = pcdPathVec_.at(pcdIndex_);
pcdIndex_++;
pcl::io::loadPCDFile(pcdPath, tempFrame);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment