Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
imu
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
imu
Commits
20500bec
Commit
20500bec
authored
3 years ago
by
Joan Solà Ortega
Browse files
Options
Downloads
Patches
Plain Diff
Fix PrcImu constructor (was creating another params object)
parent
88bc0838
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!54
devel->main
,
!50
Resolve "Bootstrap sequence"
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/processor/processor_imu.cpp
+2
-1
2 additions, 1 deletion
src/processor/processor_imu.cpp
with
2 additions
and
1 deletion
src/processor/processor_imu.cpp
+
2
−
1
View file @
20500bec
...
@@ -31,7 +31,7 @@ namespace wolf {
...
@@ -31,7 +31,7 @@ namespace wolf {
ProcessorImu
::
ProcessorImu
(
ParamsProcessorImuPtr
_params_motion_imu
)
:
ProcessorImu
::
ProcessorImu
(
ParamsProcessorImuPtr
_params_motion_imu
)
:
ProcessorMotion
(
"ProcessorImu"
,
"POV"
,
3
,
10
,
10
,
9
,
6
,
6
,
_params_motion_imu
),
ProcessorMotion
(
"ProcessorImu"
,
"POV"
,
3
,
10
,
10
,
9
,
6
,
6
,
_params_motion_imu
),
params_motion_Imu_
(
std
::
make_shared
<
ParamsProcessorImu
>
(
*
_params_motion_imu
)
)
params_motion_Imu_
(
_params_motion_imu
)
{
{
bootstrapping_
=
params_motion_Imu_
->
bootstrap_enable
;
bootstrapping_
=
params_motion_Imu_
->
bootstrap_enable
;
list_fac_inactive_bootstrap_
.
clear
();
list_fac_inactive_bootstrap_
.
clear
();
...
@@ -55,6 +55,7 @@ bool ProcessorImu::voteForKeyFrame() const
...
@@ -55,6 +55,7 @@ bool ProcessorImu::voteForKeyFrame() const
return
true
;
return
true
;
}
}
// buffer length
// buffer length
WOLF_INFO
(
"buff size: "
,
getBuffer
().
size
(),
" max: "
,
params_motion_Imu_
->
max_buff_length
);
if
(
getBuffer
().
size
()
>
params_motion_Imu_
->
max_buff_length
)
if
(
getBuffer
().
size
()
>
params_motion_Imu_
->
max_buff_length
)
{
{
WOLF_DEBUG
(
"PM: vote: buffer length"
);
WOLF_DEBUG
(
"PM: vote: buffer length"
);
...
...
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