Skip to content
Snippets Groups Projects
Commit 3c8e149a authored by Joaquim Casals Buñuel's avatar Joaquim Casals Buñuel
Browse files

getFrameList -> getFrameMap

parent 4751e928
No related branches found
No related tags found
2 merge requests!4new release,!3New release
......@@ -72,7 +72,7 @@ pcl::PointCloud<pcl::PointXYZRGB> PublisherPointcloud::buildPointCloud(const Pro
std::ofstream file;
pcl::PointCloud<pcl::PointXYZRGB> agg_cloud;
auto prb_trajectory = problem->getTrajectory();
auto end = std::next(prb_trajectory->rbegin(), min(prb_trajectory->getFrameList().size(), max_frames_ + 1));
auto end = std::next(prb_trajectory->rbegin(), min(prb_trajectory->getFrameMap().size(), max_frames_ + 1));
if(max_frames_ == 0)
end = prb_trajectory->rend();
std::list<FrameBasePtr> trajectory(prb_trajectory->rbegin(), end);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment