mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-03 01:50:24 +08:00
API achange (0.11.8): computeNormals returns only pcl::Normal cloud, not pcl::PointNormal or pcl::PointXYZRGBNormal types. MainWindow: Normals are not kept in cache to save RAM. ProgressDialog: check if auto-close is still checked when close() slot is called.
This commit is contained in:
@@ -286,8 +286,8 @@ private:
|
||||
std::multimap<int, Link> _currentLinksMap; // <nodeFromId, link>
|
||||
std::map<int, int> _currentMapIds; // <nodeId, mapId>
|
||||
std::map<int, std::string> _currentLabels; // <nodeId, label>
|
||||
std::map<int, std::pair<pcl::PointCloud<pcl::PointXYZRGBNormal>::Ptr, pcl::IndicesPtr> > _createdClouds;
|
||||
std::pair<int, std::pair<pcl::PointCloud<pcl::PointXYZRGBNormal>::Ptr, pcl::IndicesPtr> > _previousCloud; // used for subtraction
|
||||
std::map<int, std::pair<pcl::PointCloud<pcl::PointXYZRGB>::Ptr, pcl::IndicesPtr> > _createdClouds;
|
||||
std::pair<int, std::pair<std::pair<pcl::PointCloud<pcl::PointXYZRGB>::Ptr, pcl::PointCloud<pcl::PointXYZRGBNormal>::Ptr>, pcl::IndicesPtr> > _previousCloud; // used for subtraction
|
||||
|
||||
std::map<int, cv::Mat> _createdScans;
|
||||
std::map<int, std::pair<cv::Mat, cv::Mat> > _projectionLocalMaps; // <ground, obstacles>
|
||||
|
||||
@@ -173,6 +173,7 @@ public:
|
||||
int getSubtractFilteringMinPts() const;
|
||||
double getSubtractFilteringRadius() const;
|
||||
double getSubtractFilteringAngle() const;
|
||||
int getNormalKSearch() const;
|
||||
|
||||
bool getGridMapShown() const;
|
||||
double getGridMapResolution() const;;
|
||||
|
||||
@@ -63,6 +63,9 @@ public slots:
|
||||
void clear();
|
||||
void resetProgress();
|
||||
|
||||
private slots:
|
||||
void closeDialog();
|
||||
|
||||
private:
|
||||
QLabel * _text;
|
||||
QTextEdit * _detailedText;
|
||||
|
||||
Reference in New Issue
Block a user