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
416428f0
Commit
416428f0
authored
4 years ago
by
Sergi Pujol
Browse files
Options
Downloads
Patches
Plain Diff
corrected public inheritance. Added init params to constructor
parent
eeb02a1b
No related branches found
No related tags found
1 merge request
!4
Resolve "Implementation of Falko lib"
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/corner_falko_2d.cpp
+4
-3
4 additions, 3 deletions
src/corner_falko_2d.cpp
src/corner_falko_2d.h
+1
-1
1 addition, 1 deletion
src/corner_falko_2d.h
with
5 additions
and
4 deletions
src/corner_falko_2d.cpp
+
4
−
3
View file @
416428f0
...
@@ -10,8 +10,8 @@
...
@@ -10,8 +10,8 @@
namespace
laserscanutils
{
namespace
laserscanutils
{
CornerFalko2d
::
CornerFalko2d
(
int
_circularSectorNumber
,
int
_radialRingNumber
,
bool
_useKeypointRadius
,
double
_radius
)
:
BSCExtractor
(
_circularSectorNumber
,
_radialRingNumber
,
_useKeypointRadius
,
_radius
)
{
CornerFalko2d
::
CornerFalko2d
(
int
_circularSectorNumber
,
int
_radialRingNumber
,
bool
_useKeypointRadius
,
double
_radius
)
:
BSCExtractor
(
_circularSectorNumber
,
_radialRingNumber
,
_useKeypointRadius
,
_radius
)
{
// FALKO E
XTRACTOR PARAMS
// FALKO E
xtractor Parameters
setMinExtractionRange
(
0.
25
);
setMinExtractionRange
(
0.
1
);
setMaxExtractionRange
(
25
);
setMaxExtractionRange
(
25
);
enableSubbeam
(
true
);
enableSubbeam
(
true
);
setNMSRadius
(
0.1
);
setNMSRadius
(
0.1
);
...
@@ -19,6 +19,8 @@ CornerFalko2d::CornerFalko2d(int _circularSectorNumber, int _radialRingNumber, b
...
@@ -19,6 +19,8 @@ CornerFalko2d::CornerFalko2d(int _circularSectorNumber, int _radialRingNumber, b
setBRatio
(
4
);
setBRatio
(
4
);
setGridSectors
(
16
);
setGridSectors
(
16
);
// Matcher Extractor Parameters
setDistanceThreshold
(
0.1
);
}
}
...
@@ -63,7 +65,6 @@ void CornerFalko2d::findLoopClosure(falkolib::LaserScan scan){
...
@@ -63,7 +65,6 @@ void CornerFalko2d::findLoopClosure(falkolib::LaserScan scan){
int
cols
=
sizeof
(
keypointSets
)
/
(
sizeof
(
int
)
*
rows
);
int
cols
=
sizeof
(
keypointSets
)
/
(
sizeof
(
int
)
*
rows
);
for
(
int
i
=
0
;
i
<
rows
;
i
++
){
for
(
int
i
=
0
;
i
<
rows
;
i
++
){
setDistanceThreshold
(
0.1
);
std
::
vector
<
std
::
pair
<
int
,
int
>
>
assoNN
;
std
::
vector
<
std
::
pair
<
int
,
int
>
>
assoNN
;
matchingNumber
=
match
(
keypointSets
[
i
],
keypointSet2
,
assoNN
);
matchingNumber
=
match
(
keypointSets
[
i
],
keypointSet2
,
assoNN
);
}
}
...
...
This diff is collapsed.
Click to expand it.
src/corner_falko_2d.h
+
1
−
1
View file @
416428f0
...
@@ -41,7 +41,7 @@ namespace laserscanutils
...
@@ -41,7 +41,7 @@ namespace laserscanutils
*
*
*/
*/
class
CornerFalko2d
:
public
falkolib
::
FALKOExtractor
,
falkolib
::
BSCExtractor
<
falkolib
::
FALKO
>
,
falkolib
::
NNMatcher
<
falkolib
::
FALKO
>
class
CornerFalko2d
:
public
falkolib
::
FALKOExtractor
,
public
falkolib
::
BSCExtractor
<
falkolib
::
FALKO
>
,
public
falkolib
::
NNMatcher
<
falkolib
::
FALKO
>
{
{
public:
public:
/**
/**
...
...
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