0.13.3: scan2d normal support

This commit is contained in:
matlabbe
2017-09-09 22:46:37 -04:00
parent b772fce84b
commit 4d0423c538
12 changed files with 259 additions and 44 deletions
+1
View File
@@ -199,6 +199,7 @@ private:
double genScanMinDepth_;
int scanCloudMaxPoints_;
int scanCloudNormalK_;
float scanCloudNormalRadius_;
rtabmap::Transform mapToOdom_;
boost::mutex mapToOdomMutex_;
+6 -3
View File
@@ -205,18 +205,21 @@ bool convertScanMsg(
cv::Mat & scan,
rtabmap::Transform & scanLocalTransform,
tf::TransformListener & listener,
double waitForTransform);
double waitForTransform,
int scanCloudNormalK = 0,
float scanCloudNormalRadius = 0.0f);
bool convertScan3dMsg(
const sensor_msgs::PointCloud2ConstPtr & scan3dMsg,
const std::string & frameId,
const std::string & odomFrameId,
const ros::Time & odomStamp,
int scanCloudNormalK,
cv::Mat & scan,
rtabmap::Transform & scanLocalTransform,
tf::TransformListener & listener,
double waitForTransform);
double waitForTransform,
int scanCloudNormalK = 0,
float scanCloudNormalRadius = 0.0f);
}