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
ab5777be
Commit
ab5777be
authored
8 years ago
by
Joan Solà Ortega
Browse files
Options
Downloads
Patches
Plain Diff
Rename sqrt info transpose --> sqrt info upper
parent
e0782d18
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/constraint_base.cpp
+1
-1
1 addition, 1 deletion
src/constraint_base.cpp
src/constraint_fix.h
+1
-1
1 addition, 1 deletion
src/constraint_fix.h
src/constraint_fix_3D.h
+1
-1
1 addition, 1 deletion
src/constraint_fix_3D.h
with
3 additions
and
3 deletions
src/constraint_base.cpp
+
1
−
1
View file @
ab5777be
...
@@ -99,7 +99,7 @@ const Eigen::MatrixXs& ConstraintBase::getMeasurementCovariance() const
...
@@ -99,7 +99,7 @@ const Eigen::MatrixXs& ConstraintBase::getMeasurementCovariance() const
const
Eigen
::
MatrixXs
&
ConstraintBase
::
getMeasurementSquareRootInformationTransposed
()
const
const
Eigen
::
MatrixXs
&
ConstraintBase
::
getMeasurementSquareRootInformationTransposed
()
const
{
{
return
getFeaturePtr
()
->
getMeasurementSquareRootInformation
Transposed
();
return
getFeaturePtr
()
->
getMeasurementSquareRootInformation
Upper
();
}
}
CaptureBasePtr
ConstraintBase
::
getCapturePtr
()
const
CaptureBasePtr
ConstraintBase
::
getCapturePtr
()
const
...
...
This diff is collapsed.
Click to expand it.
src/constraint_fix.h
+
1
−
1
View file @
ab5777be
...
@@ -65,7 +65,7 @@ inline bool ConstraintFix::operator ()(const T* const _p, const T* const _o, T*
...
@@ -65,7 +65,7 @@ inline bool ConstraintFix::operator ()(const T* const _p, const T* const _o, T*
// residual
// residual
Eigen
::
Map
<
Eigen
::
Matrix
<
T
,
3
,
1
>>
res
(
_residuals
);
Eigen
::
Map
<
Eigen
::
Matrix
<
T
,
3
,
1
>>
res
(
_residuals
);
res
=
getFeaturePtr
()
->
getMeasurementSquareRootInformation
Transposed
().
cast
<
T
>
()
*
er
;
res
=
getFeaturePtr
()
->
getMeasurementSquareRootInformation
Upper
().
cast
<
T
>
()
*
er
;
////////////////////////////////////////////////////////
////////////////////////////////////////////////////////
// print Jacobian. Uncomment this as you wish (remember to uncomment #include "ceres/jet.h" above):
// print Jacobian. Uncomment this as you wish (remember to uncomment #include "ceres/jet.h" above):
...
...
This diff is collapsed.
Click to expand it.
src/constraint_fix_3D.h
+
1
−
1
View file @
ab5777be
...
@@ -57,7 +57,7 @@ inline bool ConstraintFix3D::operator ()(const T* const _p, const T* const _o, T
...
@@ -57,7 +57,7 @@ inline bool ConstraintFix3D::operator ()(const T* const _p, const T* const _o, T
// residual
// residual
Eigen
::
Map
<
Eigen
::
Matrix
<
T
,
6
,
1
>>
res
(
_residuals
);
Eigen
::
Map
<
Eigen
::
Matrix
<
T
,
6
,
1
>>
res
(
_residuals
);
res
=
getFeaturePtr
()
->
getMeasurementSquareRootInformation
Transposed
().
cast
<
T
>
()
*
er
;
res
=
getFeaturePtr
()
->
getMeasurementSquareRootInformation
Upper
().
cast
<
T
>
()
*
er
;
return
true
;
return
true
;
}
}
...
...
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