Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
laser_scan_utils
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
labrobotica
algorithms
laser_scan_utils
Commits
4ce0741e
Commit
4ce0741e
authored
6 years ago
by
Pep Martí Saumell
Browse files
Options
Downloads
Patches
Plain Diff
icp: small fix related to namespaces
parent
2ff8c13b
No related branches found
No related tags found
1 merge request
!1
Resolve "icp: develop matching tools"
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/icp.cpp
+2
-4
2 additions, 4 deletions
src/icp.cpp
src/icp.h
+6
-1
6 additions, 1 deletion
src/icp.h
with
8 additions
and
5 deletions
src/icp.cpp
+
2
−
4
View file @
4ce0741e
#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
();
}
This diff is collapsed.
Click to expand it.
src/icp.h
+
6
−
1
View file @
4ce0741e
...
...
@@ -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
);
};
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment