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
Merge requests
!34
Resolve "Adapt to const nonconst new API"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve "Adapt to const nonconst new API"
22-adapt-to-const-nonconst-new-api
into
devel
Overview
0
Commits
5
Pipelines
0
Changes
14
Merged
Joan Vallvé Navarro
requested to merge
22-adapt-to-const-nonconst-new-api
into
devel
3 years ago
Overview
0
Commits
5
Pipelines
0
Changes
14
Expand
Closes
#22 (closed)
Edited
3 years ago
by
Joan Vallvé Navarro
0
0
Merge request reports
Compare
devel
version 4
761b2713
3 years ago
version 3
4d7ffa91
3 years ago
version 2
31dd4d31
3 years ago
version 1
d59f51b9
3 years ago
devel (base)
and
latest version
latest version
67fb26c5
5 commits,
3 years ago
version 4
761b2713
4 commits,
3 years ago
version 3
4d7ffa91
3 commits,
3 years ago
version 2
31dd4d31
2 commits,
3 years ago
version 1
d59f51b9
1 commit,
3 years ago
14 files
+
160
−
172
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
14
Search (e.g. *.vue) (Ctrl+P)
include/laser/capture/capture_laser_2d.h
+
6
−
0
Options
@@ -47,6 +47,7 @@ class CaptureLaser2d : public CaptureBase
CaptureLaser2d
(
const
TimeStamp
&
_ts
,
SensorBasePtr
_sensor_ptr
,
const
std
::
vector
<
float
>&
_ranges
);
~
CaptureLaser2d
()
override
=
default
;
const
laserscanutils
::
LaserScan
&
getScan
()
const
;
laserscanutils
::
LaserScan
&
getScan
();
void
setSensor
(
const
SensorBasePtr
sensor_ptr
)
override
;
@@ -57,6 +58,11 @@ class CaptureLaser2d : public CaptureBase
};
inline
const
laserscanutils
::
LaserScan
&
CaptureLaser2d
::
getScan
()
const
{
return
scan_
;
}
inline
laserscanutils
::
LaserScan
&
CaptureLaser2d
::
getScan
()
{
return
scan_
;
Loading