You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to initialize an OctreePointCloudChangeDetector with the following code:
#include <pcl/point_cloud.h>
#include <pcl/octree/octree_pointcloud_changedetector.h>
#include <pcl/octree/octree_pointcloud_density.h>
#include <pcl/octree/octree2buf_base.h>
#include <iostream>
#include <vector>
#include <ctime>
int
main (int argc, char** argv)
{
srand ((unsigned int) time (NULL));
// Octree resolution - side length of octree voxels
float resolution = 32.0f;
// Instantiate octree-based point cloud change detection class
pcl::octree::OctreePointCloudChangeDetector<pcl::PointXYZ> octree (resolution);
}
But while compiling this error appears:
/usr/include/pcl-1.7/pcl/octree/octree_pointcloud_changedetector.h:64:43: error: ‘Octree2BufBase’ was not declared in this scope
LeafContainerT, BranchContainerT, Octree2BufBase<LeafContainerT, BranchContainerT>>
I think the issue might be caused by a wrong initialization of the object but I don't know how to initialize it. Can you help me with the issue?? Thank you
The text was updated successfully, but these errors were encountered:
Your Environment
Context
I am trying to initialize an OctreePointCloudChangeDetector with the following code:
But while compiling this error appears:
I think the issue might be caused by a wrong initialization of the object but I don't know how to initialize it.
Can you help me with the issue?? Thank you
The text was updated successfully, but these errors were encountered: