Skip to content
Snippets Groups Projects
Commit 4ce0741e authored by Pep Martí Saumell's avatar Pep Martí Saumell
Browse files

icp: small fix related to namespaces

parent 2ff8c13b
No related branches found
No related tags found
1 merge request!1Resolve "icp: develop matching tools"
#include "icp.h"
namespace laserscanutils{
using namespace laserscanutils;
ICPWrapper::ICPWrapper()
{
......@@ -14,7 +14,5 @@ ICPWrapper::~ICPWrapper()
icp_output ICPWrapper::matchPC(LaserScan &_last_ls, LaserScan &_origin_ls, Eigen::Vector3s &_last_transf)
{
return icp_output{};
}
return icp_output();
}
......@@ -2,12 +2,15 @@
#include "laser_scan.h"
// using namespace CSM;
using namespace laserscanutils;
namespace laserscanutils{
struct icp_output{
Eigen::Vector3s res_transf;
int num_points;
int error_points;
};
class ICPWrapper
{
public:
......@@ -16,3 +19,5 @@ class ICPWrapper
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