16 #ifndef __PBMAPMAKER_H 17 #define __PBMAPMAKER_H 19 #include <mrpt/config.h> 24 #include <pcl/visualization/cloud_viewer.h> 25 #include <pcl/visualization/pcl_visualizer.h> 97 pcl::PointCloud<PointT>::Ptr& pointCloudPtr_arg,
98 Eigen::Matrix4f& poseKF,
double distThreshold,
double angleThreshold,
104 Plane& plane1,
Plane& plane2,
const float distThreshold);
116 Plane& plane1,
Plane& plane2,
const float& cosAngleThreshold,
117 const float& distThreshold,
const float& proxThreshold);
147 void viz_cb(pcl::visualization::PCLVisualizer& viz);
PlaneInferredInfo * mpPlaneInferInfo
std::set< unsigned > observedPlanes
A class used to store a planar feature (Plane for short).
PbMapLocaliser * mpPbMapLocaliser
bool areSamePlane(Plane &plane1, Plane &plane2, const float &cosAngleThreshold, const float &distThreshold, const float &proxThreshold)
void checkProximity(Plane &plane, float proximity)
void serializePbMap(std::string path)
boost::mutex mtx_pbmap_busy
void viz_cb(pcl::visualization::PCLVisualizer &viz)
void watchProperties(std::set< unsigned > &observedPlanes, Plane &observedPlane)
double dist_THRESHOLDFull = 1.2; double dist_THRESHOLDFull_inv = 1/dist_THRESHOLDFull; ...
A class used to infer some semantic meaning to the planes of a PbMap.
void mergePlanes(Plane &updatePlane, Plane &discardPlane)
SemanticClustering * clusterize
GLsizei const GLchar ** string
PbMapMaker(const std::string &config_file)
bool arePlanesNearby(Plane &plane1, Plane &plane2, const float distThreshold)
std::set< unsigned > sQueueObservedPlanes
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
void detectPlanesCloud(pcl::PointCloud< PointT >::Ptr &pointCloudPtr_arg, Eigen::Matrix4f &poseKF, double distThreshold, double angleThreshold, double minInliersF)
pcl::PointCloud< PointT >::Ptr cloudPtr
std::vector< frameRGBDandPose > frameQueue
A class used to store a Plane-based Map (PbMap).
pcl::visualization::CloudViewer cloudViewer