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
cc25ee26
Commit
cc25ee26
authored
8 years ago
by
Joan Solà Ortega
Browse files
Options
Downloads
Patches
Plain Diff
Small modifs in getConstraintList( c_list )
parent
935b13b2
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/capture_base.h
+1
-1
1 addition, 1 deletion
src/capture_base.h
src/feature_base.cpp
+3
-2
3 additions, 2 deletions
src/feature_base.cpp
src/frame_base.h
+1
-1
1 addition, 1 deletion
src/frame_base.h
with
5 additions
and
4 deletions
src/capture_base.h
+
1
−
1
View file @
cc25ee26
...
@@ -137,7 +137,7 @@ inline FeatureBaseList& CaptureBase::getFeatureList()
...
@@ -137,7 +137,7 @@ inline FeatureBaseList& CaptureBase::getFeatureList()
inline
void
CaptureBase
::
getConstraintList
(
ConstraintBaseList
&
_ctr_list
)
inline
void
CaptureBase
::
getConstraintList
(
ConstraintBaseList
&
_ctr_list
)
{
{
for
(
FeatureBasePtr
f_ptr
:
getFeatureList
())
for
(
auto
f_ptr
:
getFeatureList
())
f_ptr
->
getConstraintList
(
_ctr_list
);
f_ptr
->
getConstraintList
(
_ctr_list
);
}
}
...
...
This diff is collapsed.
Click to expand it.
src/feature_base.cpp
+
3
−
2
View file @
cc25ee26
...
@@ -94,8 +94,9 @@ ConstraintBaseList& FeatureBase::getConstraintList()
...
@@ -94,8 +94,9 @@ ConstraintBaseList& FeatureBase::getConstraintList()
void
FeatureBase
::
getConstraintList
(
ConstraintBaseList
&
_ctr_list
)
void
FeatureBase
::
getConstraintList
(
ConstraintBaseList
&
_ctr_list
)
{
{
for
(
ConstraintBasePtr
c_ptr
:
constraint_list_
)
_ctr_list
.
insert
(
_ctr_list
.
end
(),
constraint_list_
.
begin
(),
constraint_list_
.
end
());
_ctr_list
.
push_back
(
c_ptr
);
// for(ConstraintBasePtr c_ptr : constraint_list_)
// _ctr_list.push_back(c_ptr);
}
}
void
FeatureBase
::
setMeasurementCovariance
(
const
Eigen
::
MatrixXs
&
_meas_cov
)
void
FeatureBase
::
setMeasurementCovariance
(
const
Eigen
::
MatrixXs
&
_meas_cov
)
...
...
This diff is collapsed.
Click to expand it.
src/frame_base.h
+
1
−
1
View file @
cc25ee26
...
@@ -251,7 +251,7 @@ inline void FrameBase::unlinkCapture(CaptureBasePtr _cap_ptr)
...
@@ -251,7 +251,7 @@ inline void FrameBase::unlinkCapture(CaptureBasePtr _cap_ptr)
inline
void
FrameBase
::
getConstraintList
(
ConstraintBaseList
&
_ctr_list
)
inline
void
FrameBase
::
getConstraintList
(
ConstraintBaseList
&
_ctr_list
)
{
{
for
(
CaptureBasePtr
c_ptr
:
getCaptureList
())
for
(
auto
c_ptr
:
getCaptureList
())
c_ptr
->
getConstraintList
(
_ctr_list
);
c_ptr
->
getConstraintList
(
_ctr_list
);
}
}
...
...
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