Category : point-clouds

I get this error just by including the header file to my code. I’m using visual studio 2019 and c++17, I’ve included the linker files and all but it doesn’t want to work. What could it be? Error C4996 ‘std::iterator<std::forward_iterator_tag,const pcl::octree::OctreeNode,void,const pcl::octree::OctreeNode *,const pcl::octree::OctreeNode &>’: warning STL4015: The std::iterator class template (used as a base ..

Read more

Im trying to read data from this file: Which contains both ascii text and float numbers stored in binary. I’m trying to read it by doing the following: QTextStream in(file); QString line; line = in.readLine(); while (!line.startsWith(QString("element vertex"))) { line = in.readLine(); } point_count = line.split(QString(" ")).last().toInt(); qDebug() << "PC: " << point_count; while (line ..

Read more

int main(int argc, char** argv) { // Object for storing the point cloud. pcl::PointCloud<pcl::PointXYZ>::Ptr cloud(new pcl::PointCloud<pcl::PointXYZ>); // Read a PCD file from disk. if (pcl::io::loadPCDFile<pcl::PointXYZ>(argv[1], *cloud) != 0) { return -1; } std::cout << *cloud << std::endl; /*This is the output of the cloud from the above code i need to know how can i ..

Read more