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
6a4d821c
Commit
6a4d821c
authored
6 years ago
by
Joan Solà Ortega
Browse files
Options
Downloads
Patches
Plain Diff
Fixes override constraint
parent
483f2464
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
include/core/processor/processor_motion.h
+1
-1
1 addition, 1 deletion
include/core/processor/processor_motion.h
include/core/processor/processor_tracker.h
+1
-1
1 addition, 1 deletion
include/core/processor/processor_tracker.h
src/frame/frame_base.cpp
+6
-6
6 additions, 6 deletions
src/frame/frame_base.cpp
with
8 additions
and
8 deletions
include/core/processor/processor_motion.h
+
1
−
1
View file @
6a4d821c
...
...
@@ -214,7 +214,7 @@ class ProcessorMotion : public ProcessorBase
*/
FrameBasePtr
setOrigin
(
const
Eigen
::
VectorXs
&
_x_origin
,
const
TimeStamp
&
_ts_origin
);
virtual
void
setProblem
(
ProblemPtr
);
virtual
void
setProblem
(
ProblemPtr
)
override
;
MotionBuffer
&
getBuffer
();
const
MotionBuffer
&
getBuffer
()
const
;
...
...
This diff is collapsed.
Click to expand it.
include/core/processor/processor_tracker.h
+
1
−
1
View file @
6a4d821c
...
...
@@ -200,7 +200,7 @@ class ProcessorTracker : public ProcessorBase
*
* WARNING! This function only votes! It does not create KeyFrames!
*/
virtual
bool
voteForKeyFrame
()
=
0
;
virtual
bool
voteForKeyFrame
()
override
=
0
;
/** \brief Advance the incoming Capture to become the last.
*
...
...
This diff is collapsed.
Click to expand it.
src/frame/frame_base.cpp
+
6
−
6
View file @
6a4d821c
...
...
@@ -375,17 +375,17 @@ CaptureBasePtrList FrameBase::getCapturesOf(const SensorBasePtr _sensor_ptr)
FactorBasePtr
FrameBase
::
getFactorOf
(
const
ProcessorBasePtr
_processor_ptr
,
const
std
::
string
&
type
)
{
for
(
const
FactorBasePtr
&
constaint
_ptr
:
getConstrainedByList
())
if
(
constaint
_ptr
->
getProcessor
()
==
_processor_ptr
&&
constaint
_ptr
->
getType
()
==
type
)
return
constaint
_ptr
;
for
(
const
FactorBasePtr
&
factor
_ptr
:
getConstrainedByList
())
if
(
factor
_ptr
->
getProcessor
()
==
_processor_ptr
&&
factor
_ptr
->
getType
()
==
type
)
return
factor
_ptr
;
return
nullptr
;
}
FactorBasePtr
FrameBase
::
getFactorOf
(
const
ProcessorBasePtr
_processor_ptr
)
{
for
(
const
FactorBasePtr
&
constaint
_ptr
:
getConstrainedByList
())
if
(
constaint
_ptr
->
getProcessor
()
==
_processor_ptr
)
return
constaint
_ptr
;
for
(
const
FactorBasePtr
&
factor
_ptr
:
getConstrainedByList
())
if
(
factor
_ptr
->
getProcessor
()
==
_processor_ptr
)
return
factor
_ptr
;
return
nullptr
;
}
...
...
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