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
Commits
54c36c32
Commit
54c36c32
authored
1 year ago
by
Joan Solà Ortega
Browse files
Options
Downloads
Patches
Plain Diff
Substitute getLast()->getFrame() by getLastFrame()
parent
f455a0a6
No related branches found
Branches containing commit
No related tags found
1 merge request
!43
Devel
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/processor/processor_tracker_gnss.cpp
+3
-3
3 additions, 3 deletions
src/processor/processor_tracker_gnss.cpp
with
3 additions
and
3 deletions
src/processor/processor_tracker_gnss.cpp
+
3
−
3
View file @
54c36c32
...
...
@@ -339,7 +339,7 @@ void ProcessorTrackerGnss::establishFactors()
// initialize frame state with antenna position in map coordinates
// (since we don't have orientation for removing extrinsics)
if
(
params_tracker_gnss_
->
init_frames
and
fix_last_
.
success
)
last_
ptr_
->
getFrame
()
->
getP
()
->
setState
(
sensor_gnss_
->
getQEnuMap
().
conjugate
()
*
(
sensor_gnss_
->
getQEnuEcef
()
*
fix_last_
.
pos
+
sensor_gnss_
->
gettEnuEcef
()
-
sensor_gnss_
->
gettEnuMap
()));
last_
frame_ptr_
->
getP
()
->
setState
(
sensor_gnss_
->
getQEnuMap
().
conjugate
()
*
(
sensor_gnss_
->
getQEnuEcef
()
*
fix_last_
.
pos
+
sensor_gnss_
->
gettEnuEcef
()
-
sensor_gnss_
->
gettEnuMap
()));
FactorBasePtrList
new_factors
;
...
...
@@ -408,7 +408,7 @@ void ProcessorTrackerGnss::establishFactors()
// Displacement factor from batch TDCP (FactorGnssTdcp3d)
if
(
params_tracker_gnss_
->
tdcp_params
.
batch
)
{
WOLF_DEBUG
(
"TDCP BATCH frame "
,
last_
ptr_
->
getFrame
()
->
id
());
WOLF_DEBUG
(
"TDCP BATCH frame "
,
last_
frame_ptr_
->
id
());
FactorBasePtr
last_fac_ptr
=
nullptr
;
auto
frame_map
=
getProblem
()
->
getTrajectory
()
->
getFrameMap
();
...
...
@@ -420,7 +420,7 @@ void ProcessorTrackerGnss::establishFactors()
WOLF_DEBUG
(
"TDCP BATCH ref frame "
,
ref_KF
->
id
());
// discard non-key frames, last-last pair and frames without CaptureGnss
if
(
ref_KF
==
last_
ptr_
->
getFrame
()
or
if
(
ref_KF
==
last_
frame_ptr_
or
ref_KF
->
getCaptureOf
(
getSensor
(),
"CaptureGnss"
)
==
nullptr
)
continue
;
...
...
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