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
e049ce55
Commit
e049ce55
authored
4 years ago
by
Joan Vallvé Navarro
Browse files
Options
Downloads
Patches
Plain Diff
working
parent
d16f7425
No related branches found
No related tags found
3 merge requests
!39
release after RAL
,
!38
After 2nd RAL submission
,
!27
Resolve "Adapt to new generic factors API"
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitignore
+1
-0
1 addition, 0 deletions
.gitignore
include/imu/factor/factor_fix_bias.h
+1
-5
1 addition, 5 deletions
include/imu/factor/factor_fix_bias.h
include/imu/factor/factor_imu.h
+1
-5
1 addition, 5 deletions
include/imu/factor/factor_imu.h
with
3 additions
and
10 deletions
.gitignore
+
1
−
0
View file @
e049ce55
...
@@ -34,3 +34,4 @@ build_release/
...
@@ -34,3 +34,4 @@ build_release/
IMU.found
IMU.found
est.csv
est.csv
/imu.found
This diff is collapsed.
Click to expand it.
include/imu/factor/factor_fix_bias.h
+
1
−
5
View file @
e049ce55
...
@@ -21,6 +21,7 @@ class FactorFixBias: public FactorAutodiff<FactorFixBias,6,3,3>
...
@@ -21,6 +21,7 @@ class FactorFixBias: public FactorAutodiff<FactorFixBias,6,3,3>
public:
public:
FactorFixBias
(
FeatureBasePtr
_ftr_ptr
,
bool
_apply_loss_function
,
FactorStatus
_status
=
FAC_ACTIVE
)
:
FactorFixBias
(
FeatureBasePtr
_ftr_ptr
,
bool
_apply_loss_function
,
FactorStatus
_status
=
FAC_ACTIVE
)
:
FactorAutodiff
<
FactorFixBias
,
6
,
3
,
3
>
(
"FactorFixBias"
,
FactorAutodiff
<
FactorFixBias
,
6
,
3
,
3
>
(
"FactorFixBias"
,
TOP_ABS
,
_ftr_ptr
,
_ftr_ptr
,
nullptr
,
nullptr
,
nullptr
,
nullptr
,
nullptr
,
nullptr
,
nullptr
,
nullptr
,
nullptr
,
nullptr
,
...
@@ -34,11 +35,6 @@ class FactorFixBias: public FactorAutodiff<FactorFixBias,6,3,3>
...
@@ -34,11 +35,6 @@ class FactorFixBias: public FactorAutodiff<FactorFixBias,6,3,3>
virtual
~
FactorFixBias
()
=
default
;
virtual
~
FactorFixBias
()
=
default
;
virtual
std
::
string
getTopology
()
const
override
{
return
std
::
string
(
"ABS"
);
}
template
<
typename
T
>
template
<
typename
T
>
bool
operator
()(
const
T
*
const
_ab
,
const
T
*
const
_wb
,
T
*
_residuals
)
const
;
bool
operator
()(
const
T
*
const
_ab
,
const
T
*
const
_wb
,
T
*
_residuals
)
const
;
...
...
This diff is collapsed.
Click to expand it.
include/imu/factor/factor_imu.h
+
1
−
5
View file @
e049ce55
...
@@ -25,11 +25,6 @@ class FactorImu : public FactorAutodiff<FactorImu, 15, 3, 4, 3, 6, 3, 4, 3, 6>
...
@@ -25,11 +25,6 @@ class FactorImu : public FactorAutodiff<FactorImu, 15, 3, 4, 3, 6, 3, 4, 3, 6>
~
FactorImu
()
override
=
default
;
~
FactorImu
()
override
=
default
;
std
::
string
getTopology
()
const
override
{
return
std
::
string
(
"MOTION"
);
}
/** \brief : compute the residual from the state blocks being iterated by the solver.
/** \brief : compute the residual from the state blocks being iterated by the solver.
-> computes the expected measurement
-> computes the expected measurement
-> corrects actual measurement with new bias
-> corrects actual measurement with new bias
...
@@ -163,6 +158,7 @@ inline FactorImu::FactorImu(const FeatureImuPtr& _ftr_ptr,
...
@@ -163,6 +158,7 @@ inline FactorImu::FactorImu(const FeatureImuPtr& _ftr_ptr,
FactorStatus
_status
)
:
FactorStatus
_status
)
:
FactorAutodiff
<
FactorImu
,
15
,
3
,
4
,
3
,
6
,
3
,
4
,
3
,
6
>
(
// ...
FactorAutodiff
<
FactorImu
,
15
,
3
,
4
,
3
,
6
,
3
,
4
,
3
,
6
>
(
// ...
"FactorImu"
,
"FactorImu"
,
TOP_MOTION
,
_ftr_ptr
,
_ftr_ptr
,
_cap_origin_ptr
->
getFrame
(),
_cap_origin_ptr
->
getFrame
(),
_cap_origin_ptr
,
_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