Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
laser
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor 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
mobile_robotics
wolf_projects
wolf_lib
plugins
laser
Commits
5c528c49
Commit
5c528c49
authored
2 years ago
by
Víctor Sainz Ubide
Browse files
Options
Downloads
Patches
Plain Diff
relocated function loadData()
parent
bd4f9511
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!41
Draft: Resolve "New branch laser 3d"
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
include/laser/utils/laser3d_tools.h
+8
-0
8 additions, 0 deletions
include/laser/utils/laser3d_tools.h
test/gtest_laser3d_tools.cpp
+0
-7
0 additions, 7 deletions
test/gtest_laser3d_tools.cpp
test/gtest_processor_odom_icp_3d.cpp
+0
-7
0 additions, 7 deletions
test/gtest_processor_odom_icp_3d.cpp
with
8 additions
and
14 deletions
include/laser/utils/laser3d_tools.h
+
8
−
0
View file @
5c528c49
...
@@ -40,6 +40,14 @@ typedef pcl::Registration<pcl::PointXYZ, pcl::PointXYZ>::Ptr RegistrationPtr;
...
@@ -40,6 +40,14 @@ typedef pcl::Registration<pcl::PointXYZ, pcl::PointXYZ>::Ptr RegistrationPtr;
namespace
wolf
namespace
wolf
{
{
void
loadData
(
std
::
string
fname
,
pcl
::
PointCloud
<
pcl
::
PointXYZ
>&
cloud
)
{
pcl
::
io
::
loadPCDFile
(
fname
,
cloud
);
// remove NAN points from the cloud
pcl
::
Indices
indices
;
pcl
::
removeNaNFromPointCloud
(
cloud
,
cloud
,
indices
);
};
// _cloud_ref: first PointCloud
// _cloud_ref: first PointCloud
// _cloud_other: second PointCloud
// _cloud_other: second PointCloud
inline
void
pairAlign
(
const
pcl
::
PointCloud
<
pcl
::
PointXYZ
>::
Ptr
_cloud_ref
,
inline
void
pairAlign
(
const
pcl
::
PointCloud
<
pcl
::
PointXYZ
>::
Ptr
_cloud_ref
,
...
...
This diff is collapsed.
Click to expand it.
test/gtest_laser3d_tools.cpp
+
0
−
7
View file @
5c528c49
...
@@ -51,13 +51,6 @@ using namespace Eigen;
...
@@ -51,13 +51,6 @@ using namespace Eigen;
std
::
string
laser_root_dir
=
_WOLF_LASER_ROOT_DIR
;
std
::
string
laser_root_dir
=
_WOLF_LASER_ROOT_DIR
;
void
loadData
(
std
::
string
fname
,
pcl
::
PointCloud
<
pcl
::
PointXYZ
>&
cloud
)
{
pcl
::
io
::
loadPCDFile
(
fname
,
cloud
);
// remove NAN points from the cloud
pcl
::
Indices
indices
;
pcl
::
removeNaNFromPointCloud
(
cloud
,
cloud
,
indices
);
};
TEST
(
pairAlign
,
identity
)
TEST
(
pairAlign
,
identity
)
{
{
...
...
This diff is collapsed.
Click to expand it.
test/gtest_processor_odom_icp_3d.cpp
+
0
−
7
View file @
5c528c49
...
@@ -48,13 +48,6 @@ using namespace wolf;
...
@@ -48,13 +48,6 @@ using namespace wolf;
std
::
string
laser_root_dir
=
_WOLF_LASER_ROOT_DIR
;
std
::
string
laser_root_dir
=
_WOLF_LASER_ROOT_DIR
;
void
loadData
(
std
::
string
fname
,
pcl
::
PointCloud
<
pcl
::
PointXYZ
>&
cloud
)
{
pcl
::
io
::
loadPCDFile
(
fname
,
cloud
);
// remove NAN points from the cloud
pcl
::
Indices
indices
;
pcl
::
removeNaNFromPointCloud
(
cloud
,
cloud
,
indices
);
};
class
Test_ProcessorOdomIcp3D_yaml
:
public
testing
::
Test
class
Test_ProcessorOdomIcp3D_yaml
:
public
testing
::
Test
{
{
...
...
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