Skip to content
Snippets Groups Projects
Commit 2ff8c13b authored by Joaquim Casals Buñuel's avatar Joaquim Casals Buñuel
Browse files

Modified function definition

parent 98e77627
No related branches found
No related tags found
1 merge request!1Resolve "icp: develop matching tools"
This commit is part of merge request !1. Comments created here will be created in the context of that merge request.
......@@ -12,10 +12,9 @@ ICPWrapper::~ICPWrapper()
}
void ICPWrapper::matchPC(LaserScan &_last_ls, LaserScan &_origin_ls, Eigen::Vector3s &_last_transf,
Eigen::Vector3s &_res_transf, int &num_points, int &error_points)
icp_output ICPWrapper::matchPC(LaserScan &_last_ls, LaserScan &_origin_ls, Eigen::Vector3s &_last_transf)
{
return icp_output{};
}
}
......@@ -3,13 +3,16 @@
// using namespace CSM;
using namespace laserscanutils;
struct icp_output{
Eigen::Vector3s res_transf;
int num_points;
int error_points;
};
class ICPWrapper
{
public:
ICPWrapper();
~ICPWrapper();
void matchPC(LaserScan &_last_ls, LaserScan &_reference_ls, Eigen::Vector3s &_last_transf,
Eigen::Vector3s &_res_transf, int &num_points, int &error_points);
icp_output matchPC(LaserScan &_last_ls, LaserScan &_reference_ls, Eigen::Vector3s &_last_transf);
};
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