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