Commit b098a991 authored by limingbo's avatar limingbo

test

parent c8543d67
Pipeline #866 canceled with stages
......@@ -140,7 +140,7 @@ vector<PointCloudExport::Ptr> multiThreadGetPointCloud(
vector<PointCloudExport::Ptr> pointClouds;
pointClouds.resize(trajectories.size());
for(uint8_t thread_index = 0; thread_index < trajectories.size(); thread_index++){
pointClouds[thread_index].reset(new PointCloudExport);
thread_vec.emplace_back(ThreadPtr(new boost::thread(boost::bind(&getPointCloud,
proj,
trajectories[thread_index],
......@@ -157,7 +157,6 @@ void getPointCloud(boost::shared_ptr<LocalCartesian> proj,
boost::shared_ptr<Trajectory> &trajectory,
PointCloudExport::Ptr& pointCloud)
{
pointCloud.reset(new PointCloudExport);
vector<TrajPoint> traj = trajectory->getTrajectory();
for(const TrajPoint& trajPoint : traj){
PointExport point;
......
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