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
01d37a56
Commit
01d37a56
authored
5 years ago
by
Joan Solà Ortega
Browse files
Options
Downloads
Patches
Plain Diff
Cosmetics
parent
1be38ec6
No related branches found
No related tags found
1 merge request
!346
Resolve "Frame/Capture/Feature/Landmark Other as list/vectors in FactorBase"
Pipeline
#5035
failed
5 years ago
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/core/factor/factor_diff_drive.h
+6
-4
6 additions, 4 deletions
include/core/factor/factor_diff_drive.h
with
6 additions
and
4 deletions
include/core/factor/factor_diff_drive.h
+
6
−
4
View file @
01d37a56
...
@@ -140,10 +140,12 @@ inline bool FactorDiffDrive::operator ()(const T* const _p1, const T* const _o1,
...
@@ -140,10 +140,12 @@ inline bool FactorDiffDrive::operator ()(const T* const _p1, const T* const _o1,
inline
Eigen
::
VectorXd
FactorDiffDrive
::
residual
()
inline
Eigen
::
VectorXd
FactorDiffDrive
::
residual
()
{
{
VectorXd
residual
(
3
);
VectorXd
residual
(
3
);
operator
()(
getFrameOther
()
->
getP
()
->
getState
().
data
(),
getFrameOther
()
->
getO
()
->
getState
().
data
(),
operator
()(
getFrameOther
()
->
getP
()
->
getState
()
.
data
(),
getCapture
()
->
getFrame
()
->
getP
()
->
getState
().
data
(),
getFrameOther
()
->
getO
()
->
getState
()
.
data
(),
getCapture
()
->
getFrame
()
->
getO
()
->
getState
().
data
(),
getFrame
()
->
getP
()
->
getState
()
.
data
(),
getCaptureOther
()
->
getSensorIntrinsic
()
->
getState
().
data
(),
residual
.
data
());
getFrame
()
->
getO
()
->
getState
()
.
data
(),
getCaptureOther
()
->
getSensorIntrinsic
()
->
getState
()
.
data
(),
residual
.
data
());
return
residual
;
return
residual
;
}
}
...
...
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