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
f09f2d07
Commit
f09f2d07
authored
5 years ago
by
Joan Solà Ortega
Browse files
Options
Downloads
Patches
Plain Diff
Remove sensor from processor creators
parent
dd8fa00f
No related branches found
No related tags found
2 merge requests
!30
Release after RAL
,
!29
After 2nd RAL submission
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
include/laser/processor/processor_tracker_feature_polyline_2D.h
+1
-2
1 addition, 2 deletions
...e/laser/processor/processor_tracker_feature_polyline_2D.h
src/processor/processor_tracker_feature_polyline_2D.cpp
+4
-3
4 additions, 3 deletions
src/processor/processor_tracker_feature_polyline_2D.cpp
with
5 additions
and
5 deletions
include/laser/processor/processor_tracker_feature_polyline_2D.h
+
1
−
2
View file @
f09f2d07
...
@@ -244,8 +244,7 @@ class ProcessorTrackerFeaturePolyline2D : public ProcessorTrackerFeature
...
@@ -244,8 +244,7 @@ class ProcessorTrackerFeaturePolyline2D : public ProcessorTrackerFeature
/// @brief Factory method
/// @brief Factory method
static
ProcessorBasePtr
create
(
const
std
::
string
&
_unique_name
,
static
ProcessorBasePtr
create
(
const
std
::
string
&
_unique_name
,
const
ProcessorParamsBasePtr
_params
,
const
ProcessorParamsBasePtr
_params
);
const
SensorBasePtr
_sensor_ptr
);
const
FeatureBasePtrList
&
getLastNewFeatures
()
const
const
FeatureBasePtrList
&
getLastNewFeatures
()
const
{
{
...
...
This diff is collapsed.
Click to expand it.
src/processor/processor_tracker_feature_polyline_2D.cpp
+
4
−
3
View file @
f09f2d07
...
@@ -1364,13 +1364,14 @@ void ProcessorTrackerFeaturePolyline2D::computeTransformations()
...
@@ -1364,13 +1364,14 @@ void ProcessorTrackerFeaturePolyline2D::computeTransformations()
}
}
ProcessorBasePtr
ProcessorTrackerFeaturePolyline2D
::
create
(
const
std
::
string
&
_unique_name
,
ProcessorBasePtr
ProcessorTrackerFeaturePolyline2D
::
create
(
const
std
::
string
&
_unique_name
,
const
ProcessorParamsBasePtr
_params
,
const
ProcessorParamsBasePtr
_params
)
const
SensorBasePtr
_sensor_ptr
)
{
{
auto
params
=
std
::
static_pointer_cast
<
ProcessorParamsTrackerFeaturePolyline2D
>
(
_params
);
auto
params
=
std
::
static_pointer_cast
<
ProcessorParamsTrackerFeaturePolyline2D
>
(
_params
);
auto
prc_ptr
=
std
::
make_shared
<
ProcessorTrackerFeaturePolyline2D
>
(
params
);
auto
prc_ptr
=
std
::
make_shared
<
ProcessorTrackerFeaturePolyline2D
>
(
params
);
prc_ptr
->
setName
(
_unique_name
);
prc_ptr
->
setName
(
_unique_name
);
prc_ptr
->
configure
(
_sensor_ptr
);
return
prc_ptr
;
return
prc_ptr
;
}
}
...
...
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