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
0ed40827
Commit
0ed40827
authored
4 years ago
by
Joan Vallvé Navarro
Browse files
Options
Downloads
Patches
Plain Diff
adapted to core
parent
e0aa7bc8
No related branches found
Branches containing commit
No related tags found
Tags containing commit
3 merge requests
!39
release after RAL
,
!38
After 2nd RAL submission
,
!23
Processor imu2d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/imu/factor/factor_imu2d.h
+9
-13
9 additions, 13 deletions
include/imu/factor/factor_imu2d.h
with
9 additions
and
13 deletions
include/imu/factor/factor_imu2d.h
+
9
−
13
View file @
0ed40827
...
...
@@ -20,18 +20,13 @@ class FactorImu2d : public FactorAutodiff<FactorImu2d, 8, 2, 1, 2, 3, 2, 1, 2, 3
{
public:
FactorImu2d
(
const
FeatureImu2dPtr
&
_ftr_ptr
,
const
CaptureImuPtr
&
_capture_origin_ptr
,
const
ProcessorBasePtr
&
_processor_ptr
,
bool
_apply_loss_function
,
FactorStatus
_status
=
FAC_ACTIVE
);
const
CaptureImuPtr
&
_capture_origin_ptr
,
const
ProcessorBasePtr
&
_processor_ptr
,
bool
_apply_loss_function
,
FactorStatus
_status
=
FAC_ACTIVE
);
~
FactorImu2d
()
override
=
default
;
std
::
string
getTopology
()
const
override
{
return
std
::
string
(
"MOTION"
);
}
/** \brief : compute the residual from the state blocks being iterated by the solver.
-> computes the expected measurement
-> corrects actual measurement with new bias
...
...
@@ -97,12 +92,13 @@ class FactorImu2d : public FactorAutodiff<FactorImu2d, 8, 2, 1, 2, 3, 2, 1, 2, 3
///////////////////// IMPLEMENTAITON ////////////////////////////
inline
FactorImu2d
::
FactorImu2d
(
const
FeatureImu2dPtr
&
_ftr_ptr
,
const
CaptureImuPtr
&
_cap_origin_ptr
,
const
ProcessorBasePtr
&
_processor_ptr
,
bool
_apply_loss_function
,
FactorStatus
_status
)
:
const
CaptureImuPtr
&
_cap_origin_ptr
,
const
ProcessorBasePtr
&
_processor_ptr
,
bool
_apply_loss_function
,
FactorStatus
_status
)
:
FactorAutodiff
<
FactorImu2d
,
8
,
2
,
1
,
2
,
3
,
2
,
1
,
2
,
3
>
(
// ...
"FactorImu2d"
,
TOP_MOTION
,
_ftr_ptr
,
_cap_origin_ptr
->
getFrame
(),
_cap_origin_ptr
,
...
...
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