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
1349f681
Commit
1349f681
authored
2 years ago
by
Joan Vallvé Navarro
Browse files
Options
Downloads
Patches
Plain Diff
proper const/non-const getters
parent
4969af54
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
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
include/laser/capture/capture_laser_3d.h
+2
-1
2 additions, 1 deletion
include/laser/capture/capture_laser_3d.h
src/capture/capture_laser_3d.cpp
+6
-1
6 additions, 1 deletion
src/capture/capture_laser_3d.cpp
with
8 additions
and
2 deletions
include/laser/capture/capture_laser_3d.h
+
2
−
1
View file @
1349f681
...
@@ -41,7 +41,8 @@ class CaptureLaser3d : public CaptureBase
...
@@ -41,7 +41,8 @@ class CaptureLaser3d : public CaptureBase
public:
public:
CaptureLaser3d
(
const
TimeStamp
&
_timestamp
,
SensorBasePtr
_sensor
,
pcl
::
PointCloud
<
pcl
::
PointXYZ
>::
Ptr
_point_cloud
);
CaptureLaser3d
(
const
TimeStamp
&
_timestamp
,
SensorBasePtr
_sensor
,
pcl
::
PointCloud
<
pcl
::
PointXYZ
>::
Ptr
_point_cloud
);
~
CaptureLaser3d
();
~
CaptureLaser3d
();
pcl
::
PointCloud
<
pcl
::
PointXYZ
>::
Ptr
getPointCloud
()
const
;
pcl
::
PointCloud
<
pcl
::
PointXYZ
>::
Ptr
getPointCloud
();
pcl
::
PointCloud
<
pcl
::
PointXYZ
>::
ConstPtr
getPointCloud
()
const
;
private:
private:
...
...
This diff is collapsed.
Click to expand it.
src/capture/capture_laser_3d.cpp
+
6
−
1
View file @
1349f681
...
@@ -33,7 +33,12 @@ CaptureLaser3d::CaptureLaser3d(const TimeStamp& _timestamp, SensorBasePtr _senso
...
@@ -33,7 +33,12 @@ CaptureLaser3d::CaptureLaser3d(const TimeStamp& _timestamp, SensorBasePtr _senso
CaptureLaser3d
::~
CaptureLaser3d
()
{}
CaptureLaser3d
::~
CaptureLaser3d
()
{}
pcl
::
PointCloud
<
pcl
::
PointXYZ
>::
Ptr
CaptureLaser3d
::
getPointCloud
()
const
pcl
::
PointCloud
<
pcl
::
PointXYZ
>::
Ptr
CaptureLaser3d
::
getPointCloud
()
{
return
point_cloud_
;
}
pcl
::
PointCloud
<
pcl
::
PointXYZ
>::
ConstPtr
CaptureLaser3d
::
getPointCloud
()
const
{
{
return
point_cloud_
;
return
point_cloud_
;
}
}
...
...
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