Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
gnss
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
gnss
Merge requests
!38
Resolve "follow core 465 Migrate from StateBlock to StateDerived"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve "follow core 465 Migrate from StateBlock to StateDerived"
24-follow-core-465-migrate-from-stateblock-to-statederived
into
devel
Overview
0
Commits
1
Pipelines
0
Changes
2
Merged
Joan Solà Ortega
requested to merge
24-follow-core-465-migrate-from-stateblock-to-statederived
into
devel
2 years ago
Overview
0
Commits
1
Pipelines
0
Changes
2
Expand
Closes
#24 (closed)
Edited
2 years ago
by
Joan Solà Ortega
0
0
Merge request reports
Compare
devel
devel (base)
and
latest version
latest version
9ceeffb2
1 commit,
2 years ago
2 files
+
12
−
12
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
src/capture/capture_gnss.cpp
+
5
−
5
Options
@@ -20,7 +20,7 @@
//
//--------LICENSE_END--------
#include
"gnss/capture/capture_gnss.h"
#include
<core/state_block/state_block_derived.h>
namespace
wolf
{
@@ -30,18 +30,18 @@ CaptureGnss::CaptureGnss(const TimeStamp& _ts, SensorBasePtr _sensor_ptr, GnssUt
{
// Clock bias
assert
(
_sensor_ptr
->
getStateBlock
(
'T'
)
!=
nullptr
and
_sensor_ptr
->
isStateBlockDynamic
(
'T'
));
addStateBlock
(
'T'
,
std
::
make_shared
<
State
Block
>
(
1
,
true
),
nullptr
);
addStateBlock
(
'T'
,
std
::
make_shared
<
State
Params1
>
(
Vector1d
()
,
true
),
nullptr
);
// interconstellation clock bias
assert
(
_sensor_ptr
->
getStateBlock
(
'G'
)
!=
nullptr
);
if
(
_sensor_ptr
->
isStateBlockDynamic
(
'G'
))
addStateBlock
(
'G'
,
std
::
make_shared
<
State
Block
>
(
1
,
true
),
nullptr
);
addStateBlock
(
'G'
,
std
::
make_shared
<
State
Params1
>
(
Vector1d
()
,
true
),
nullptr
);
assert
(
_sensor_ptr
->
getStateBlock
(
'E'
)
!=
nullptr
);
if
(
_sensor_ptr
->
isStateBlockDynamic
(
'E'
))
addStateBlock
(
'E'
,
std
::
make_shared
<
State
Block
>
(
1
,
true
),
nullptr
);
addStateBlock
(
'E'
,
std
::
make_shared
<
State
Params1
>
(
Vector1d
()
,
true
),
nullptr
);
assert
(
_sensor_ptr
->
getStateBlock
(
'M'
)
!=
nullptr
);
if
(
_sensor_ptr
->
isStateBlockDynamic
(
'M'
))
addStateBlock
(
'M'
,
std
::
make_shared
<
State
Block
>
(
1
,
true
),
nullptr
);
addStateBlock
(
'M'
,
std
::
make_shared
<
State
Params1
>
(
Vector1d
()
,
true
),
nullptr
);
}
Loading