Skip to content
Snippets Groups Projects
Commit 465d0902 authored by Joan Solà Ortega's avatar Joan Solà Ortega
Browse files

Rename matchPC --> align

parent 3fc3e4b4
No related branches found
No related tags found
1 merge request!1Resolve "icp: develop matching tools"
......@@ -7,7 +7,7 @@ std::uniform_real_distribution<double> dis(0.0, 1.0);
class LDWrapper {
public:
LDP laser_data;
LDWrapper(LaserScan& scan, LaserScanParams& scan_params)
LDWrapper(const LaserScan& scan, const LaserScanParams& scan_params)
{
int num_rays = scan.ranges_raw_.size();
laser_data = ld_alloc_new(num_rays);
......@@ -53,7 +53,7 @@ ICP::~ICP()
}
icpOutput ICP::matchPC(LaserScan &_last_ls, LaserScan &_origin_ls, LaserScanParams& scan_params, icpParams &icp_params, Eigen::Vector3s &_last_transf)
icpOutput ICP::align(const LaserScan &_last_ls, const LaserScan &_origin_ls, const LaserScanParams& scan_params, const icpParams &icp_params, Eigen::Vector3s &_last_transf)
{
// Uncomment to enable debug messages from the CSM library
// sm_debug_write(true);
......
......@@ -33,7 +33,7 @@ class ICP
ICP();
~ICP();
static icpOutput matchPC(LaserScan &_last_ls, LaserScan &_reference_ls, LaserScanParams& scan_params, icpParams &icp_params, Eigen::Vector3s &_last_transf);
static icpOutput align(const LaserScan &_last_ls, const LaserScan &_reference_ls, const LaserScanParams& scan_params, const icpParams &icp_params, Eigen::Vector3s &_last_transf);
static void printTwoLaserData(sm_params &params);
static void printLaserData(LDP &laser_data);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment