Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
wolf
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
wolf
Commits
6564d011
Commit
6564d011
authored
8 years ago
by
Dinesh Atchuthan
Browse files
Options
Downloads
Patches
Plain Diff
FIXME getJacobian fixed
parent
ce59de0e
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/processor_imu.h
+2
-2
2 additions, 2 deletions
src/processor_imu.h
src/test/gtest_feature_imu.cpp
+1
-1
1 addition, 1 deletion
src/test/gtest_feature_imu.cpp
with
3 additions
and
3 deletions
src/processor_imu.h
+
2
−
2
View file @
6564d011
...
@@ -79,10 +79,10 @@ class ProcessorIMU : public ProcessorMotion{
...
@@ -79,10 +79,10 @@ class ProcessorIMU : public ProcessorMotion{
virtual
void
remapPQV
(
const
Eigen
::
VectorXs
&
_delta1
,
const
Eigen
::
VectorXs
&
_delta2
,
Eigen
::
VectorXs
&
_delta_out
);
virtual
void
remapPQV
(
const
Eigen
::
VectorXs
&
_delta1
,
const
Eigen
::
VectorXs
&
_delta2
,
Eigen
::
VectorXs
&
_delta_out
);
virtual
void
remapDelta
(
Eigen
::
VectorXs
&
_delta_out
);
virtual
void
remapDelta
(
Eigen
::
VectorXs
&
_delta_out
);
virtual
void
remapData
(
const
Eigen
::
VectorXs
&
_data
);
virtual
void
remapData
(
const
Eigen
::
VectorXs
&
_data
);
void
getJacobians
(
Eigen
::
Matrix3s
&
_dDp_dab
,
Eigen
::
Matrix3s
&
_dDv_dab
,
Eigen
::
Matrix3s
&
_dDp_dwb
,
Eigen
::
Matrix3s
&
_dDv_dwb
,
Eigen
::
Matrix3s
&
_dDq_dwb
);
void
getJacobians
(
Eigen
::
Matrix
<
wolf
::
Scalar
,
9
,
6
>&
_dD_db
);
public:
public:
void
getJacobians
(
Eigen
::
Matrix3s
&
_dDp_dab
,
Eigen
::
Matrix3s
&
_dDv_dab
,
Eigen
::
Matrix3s
&
_dDp_dwb
,
Eigen
::
Matrix3s
&
_dDv_dwb
,
Eigen
::
Matrix3s
&
_dDq_dwb
);
void
getJacobians
(
Eigen
::
Matrix
<
wolf
::
Scalar
,
9
,
6
>&
_dD_db
);
static
ProcessorBasePtr
create
(
const
std
::
string
&
_unique_name
,
const
ProcessorParamsBasePtr
_params
,
const
SensorBasePtr
sensor_ptr
=
nullptr
);
static
ProcessorBasePtr
create
(
const
std
::
string
&
_unique_name
,
const
ProcessorParamsBasePtr
_params
,
const
SensorBasePtr
sensor_ptr
=
nullptr
);
};
};
...
...
This diff is collapsed.
Click to expand it.
src/test/gtest_feature_imu.cpp
+
1
−
1
View file @
6564d011
...
@@ -86,7 +86,7 @@ class FeatureIMU_test : public testing::Test
...
@@ -86,7 +86,7 @@ class FeatureIMU_test : public testing::Test
delta_preint_cov
=
wolf_problem_ptr_
->
getProcessorMotionPtr
()
->
getCurrentDeltaPreintCov
();
delta_preint_cov
=
wolf_problem_ptr_
->
getProcessorMotionPtr
()
->
getCurrentDeltaPreintCov
();
delta_preint
=
wolf_problem_ptr_
->
getProcessorMotionPtr
()
->
getMotion
().
delta_integr_
;
delta_preint
=
wolf_problem_ptr_
->
getProcessorMotionPtr
()
->
getMotion
().
delta_integr_
;
feat_imu
=
std
::
make_shared
<
FeatureIMU
>
(
delta_preint
,
delta_preint_cov
);
feat_imu
=
std
::
make_shared
<
FeatureIMU
>
(
delta_preint
,
delta_preint_cov
);
//
wolf_problem_ptr_->getProcessorMotionPtr()->getJacobians(dD_db_jacobians);
FIXME
std
::
static_pointer_cast
<
wolf
::
ProcessorIMU
>
(
wolf_problem_ptr_
->
getProcessorMotionPtr
()
)
->
getJacobians
(
dD_db_jacobians
);
//feat_imu = std::make_shared<FeatureIMU>(delta_preint, delta_preint_cov, dD_db_jacobians);
//feat_imu = std::make_shared<FeatureIMU>(delta_preint, delta_preint_cov, dD_db_jacobians);
feat_imu
->
setCapturePtr
(
imu_ptr
);
//associate the feature to a capture
feat_imu
->
setCapturePtr
(
imu_ptr
);
//associate the feature to a capture
...
...
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