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
62b5b30e
Commit
62b5b30e
authored
5 years ago
by
Joan Solà Ortega
Browse files
Options
Downloads
Patches
Plain Diff
rename dangling constraint -> factor
parent
1030ca6b
No related branches found
No related tags found
1 merge request
!295
Fixes override constraint
Pipeline
#3829
passed
5 years ago
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/frame/frame_base.cpp
+6
-6
6 additions, 6 deletions
src/frame/frame_base.cpp
with
6 additions
and
6 deletions
src/frame/frame_base.cpp
+
6
−
6
View file @
62b5b30e
...
@@ -375,17 +375,17 @@ CaptureBasePtrList FrameBase::getCapturesOf(const SensorBasePtr _sensor_ptr)
...
@@ -375,17 +375,17 @@ CaptureBasePtrList FrameBase::getCapturesOf(const SensorBasePtr _sensor_ptr)
FactorBasePtr
FrameBase
::
getFactorOf
(
const
ProcessorBasePtr
_processor_ptr
,
const
std
::
string
&
type
)
FactorBasePtr
FrameBase
::
getFactorOf
(
const
ProcessorBasePtr
_processor_ptr
,
const
std
::
string
&
type
)
{
{
for
(
const
FactorBasePtr
&
constaint
_ptr
:
getConstrainedByList
())
for
(
const
FactorBasePtr
&
factor
_ptr
:
getConstrainedByList
())
if
(
constaint
_ptr
->
getProcessor
()
==
_processor_ptr
&&
constaint
_ptr
->
getType
()
==
type
)
if
(
factor
_ptr
->
getProcessor
()
==
_processor_ptr
&&
factor
_ptr
->
getType
()
==
type
)
return
constaint
_ptr
;
return
factor
_ptr
;
return
nullptr
;
return
nullptr
;
}
}
FactorBasePtr
FrameBase
::
getFactorOf
(
const
ProcessorBasePtr
_processor_ptr
)
FactorBasePtr
FrameBase
::
getFactorOf
(
const
ProcessorBasePtr
_processor_ptr
)
{
{
for
(
const
FactorBasePtr
&
constaint
_ptr
:
getConstrainedByList
())
for
(
const
FactorBasePtr
&
factor
_ptr
:
getConstrainedByList
())
if
(
constaint
_ptr
->
getProcessor
()
==
_processor_ptr
)
if
(
factor
_ptr
->
getProcessor
()
==
_processor_ptr
)
return
constaint
_ptr
;
return
factor
_ptr
;
return
nullptr
;
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