Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
vision
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
vision
Commits
ac48d108
Commit
ac48d108
authored
3 years ago
by
Joan Vallvé Navarro
Browse files
Options
Downloads
Patches
Plain Diff
Hotfix
parent
fab8fab6
No related branches found
No related tags found
1 merge request
!25
Hotfix
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+1
-1
1 addition, 1 deletion
.gitlab-ci.yml
demos/demo_processor_bundle_adjustment.cpp
+8
-8
8 additions, 8 deletions
demos/demo_processor_bundle_adjustment.cpp
with
9 additions
and
9 deletions
.gitlab-ci.yml
+
1
−
1
View file @
ac48d108
...
...
@@ -101,7 +101,7 @@ stages:
-
cd $CI_PROJECT_DIR
-
mkdir -pv build
-
cd build
-
cmake -DCMAKE_BUILD_TYPE=release -DBUILD_TESTS=ON ..
-
cmake -DCMAKE_BUILD_TYPE=release -DBUILD_TESTS=ON
-DBUILD_DEMOS=ON
..
-
make -j$(nproc)
-
ctest -j$(nproc)
-
make install
...
...
This diff is collapsed.
Click to expand it.
demos/demo_processor_bundle_adjustment.cpp
+
8
−
8
View file @
ac48d108
...
...
@@ -31,15 +31,15 @@
#include
"vision/sensor/sensor_camera.h"
#include
"vision/capture/capture_image.h"
#include
<core/ceres_wrapper/solver_ceres.h>
#include
"vision/landmark/landmark_
HP
.h"
#include
"vision/landmark/landmark_
hp
.h"
#include
"vision/internal/config.h"
// Vision utils includes
#include
<
vision_utils.h
>
#include
<
sensors.h
>
#include
<
common_class/buffer.h
>
#include
<
common_class/frame.h
>
#include
"vision_utils/
vision_utils.h
"
#include
"vision_utils/
sensors.h
"
#include
"vision_utils/
common_class/buffer.h
"
#include
"vision_utils/
common_class/frame.h
"
////Mvbluefox includes
//#include <iri/mvbluefox3/mvbluefox3.h>
...
...
@@ -138,7 +138,7 @@ int main(int argc, char** argv)
camera
->
setImgHeight
(
img_height
);
// Install processor
Processor
Params
BundleAdjustmentPtr
params
=
std
::
make_shared
<
Processor
Params
BundleAdjustment
>
();
Params
ProcessorBundleAdjustmentPtr
params
=
std
::
make_shared
<
Params
ProcessorBundleAdjustment
>
();
params
->
delete_ambiguities
=
true
;
params
->
yaml_file_params_vision_utils
=
wolf_vision_root
+
"/demos/processor_bundle_adjustment_vision_utils.yaml"
;
params
->
pixel_noise_std
=
1.0
;
...
...
@@ -173,9 +173,9 @@ int main(int argc, char** argv)
camera
->
process
(
image
);
// solve only when new KFs are added
if
(
problem
->
getTrajectory
()
->
getFrame
List
().
size
()
>
number_of_KFs
)
if
(
problem
->
getTrajectory
()
->
getFrame
Map
().
size
()
>
number_of_KFs
)
{
number_of_KFs
=
problem
->
getTrajectory
()
->
getFrame
List
().
size
();
number_of_KFs
=
problem
->
getTrajectory
()
->
getFrame
Map
().
size
();
std
::
string
report
=
solver
->
solve
(
wolf
::
SolverManager
::
ReportVerbosity
::
BRIEF
);
std
::
cout
<<
report
<<
std
::
endl
;
if
(
number_of_KFs
>
5
)
...
...
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