Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
Falkolib
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
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
Falkolib
Commits
4f15d722
Commit
4f15d722
authored
3 years ago
by
Joan Vallvé Navarro
Browse files
Options
Downloads
Plain Diff
Merge branch 'devel' into 'master'
Devel MG See merge request mobile_robotics/falkolib!1
parents
327bafa8
0017c6c5
No related branches found
Branches containing commit
No related tags found
1 merge request
!1
Devel MG
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitignore
+3
-0
3 additions, 0 deletions
.gitignore
CMakeLists.txt
+1
-0
1 addition, 0 deletions
CMakeLists.txt
include/falkolib/Matching/AHTMatcher.h
+2
-0
2 additions, 0 deletions
include/falkolib/Matching/AHTMatcher.h
with
6 additions
and
0 deletions
.gitignore
+
3
−
0
View file @
4f15d722
...
@@ -26,3 +26,6 @@
...
@@ -26,3 +26,6 @@
*.exe
*.exe
*.out
*.out
*.app
*.app
build
bin
This diff is collapsed.
Click to expand it.
CMakeLists.txt
+
1
−
0
View file @
4f15d722
...
@@ -2,6 +2,7 @@ cmake_minimum_required(VERSION 2.8)
...
@@ -2,6 +2,7 @@ cmake_minimum_required(VERSION 2.8)
project
(
falkolib
)
project
(
falkolib
)
set
(
CMAKE_BUILD_TYPE Release
)
set
(
CMAKE_BUILD_TYPE Release
)
add_definitions
(
-std=c++0x
)
# Enabling c++11
add_definitions
(
-std=c++0x
)
# Enabling c++11
set
(
CMAKE_POSITION_INDEPENDENT_CODE ON
)
SET
(
falkolib_RUNTIME_OUTPUT_DIRECTORY
${
falkolib_SOURCE_DIR
}
/bin CACHE PATH
"Target for the binaries"
)
SET
(
falkolib_RUNTIME_OUTPUT_DIRECTORY
${
falkolib_SOURCE_DIR
}
/bin CACHE PATH
"Target for the binaries"
)
SET
(
falkolib_LIBRARY_OUTPUT_DIRECTORY
${
falkolib_SOURCE_DIR
}
/lib CACHE PATH
"Target for the libraries"
)
SET
(
falkolib_LIBRARY_OUTPUT_DIRECTORY
${
falkolib_SOURCE_DIR
}
/lib CACHE PATH
"Target for the libraries"
)
...
...
This diff is collapsed.
Click to expand it.
include/falkolib/Matching/AHTMatcher.h
+
2
−
0
View file @
4f15d722
...
@@ -138,6 +138,8 @@ namespace falkolib {
...
@@ -138,6 +138,8 @@ namespace falkolib {
/** @brief get best matching given point and an initial guest associations list*/
/** @brief get best matching given point and an initial guest associations list*/
int
getBestMatching
(
const
std
::
vector
<
T
>&
v1
,
const
std
::
vector
<
T
>&
v2
,
const
std
::
vector
<
std
::
pair
<
int
,
int
>
>&
init
,
std
::
vector
<
std
::
pair
<
int
,
int
>
>&
match
)
{
int
getBestMatching
(
const
std
::
vector
<
T
>&
v1
,
const
std
::
vector
<
T
>&
v2
,
const
std
::
vector
<
std
::
pair
<
int
,
int
>
>&
init
,
std
::
vector
<
std
::
pair
<
int
,
int
>
>&
match
)
{
for
(
auto
&
cell
:
matchesGrid
)
cell
.
clear
();
for
(
auto
&
asso
:
init
)
{
for
(
auto
&
asso
:
init
)
{
for
(
int
it
=
0
;
it
<
thetaSize
;
++
it
)
{
for
(
int
it
=
0
;
it
<
thetaSize
;
++
it
)
{
double
theta
=
thetaRes
*
(
it
-
thetaSize
/
2
);
double
theta
=
thetaRes
*
(
it
-
thetaSize
/
2
);
...
...
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