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
77548150
Commit
77548150
authored
8 years ago
by
Joan Solà Ortega
Browse files
Options
Downloads
Patches
Plain Diff
Rename ProcessorBase::makeFrame --> emplaceFrame
parent
247f3be3
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/processor_base.cpp
+2
-2
2 additions, 2 deletions
src/processor_base.cpp
src/processor_base.h
+2
-2
2 additions, 2 deletions
src/processor_base.h
with
4 additions
and
4 deletions
src/processor_base.cpp
+
2
−
2
View file @
77548150
...
@@ -27,7 +27,7 @@ bool ProcessorBase::permittedKeyFrame()
...
@@ -27,7 +27,7 @@ bool ProcessorBase::permittedKeyFrame()
return
getProblem
()
->
permitKeyFrame
(
shared_from_this
());
return
getProblem
()
->
permitKeyFrame
(
shared_from_this
());
}
}
FrameBasePtr
ProcessorBase
::
mak
eFrame
(
CaptureBasePtr
_capture_ptr
,
FrameType
_type
)
FrameBasePtr
ProcessorBase
::
emplac
eFrame
(
CaptureBasePtr
_capture_ptr
,
FrameType
_type
)
{
{
std
::
cout
<<
"Making "
<<
(
_type
==
KEY_FRAME
?
"key-"
:
""
)
<<
"frame"
<<
std
::
endl
;
std
::
cout
<<
"Making "
<<
(
_type
==
KEY_FRAME
?
"key-"
:
""
)
<<
"frame"
<<
std
::
endl
;
...
@@ -37,7 +37,7 @@ FrameBasePtr ProcessorBase::makeFrame(CaptureBasePtr _capture_ptr, FrameType _ty
...
@@ -37,7 +37,7 @@ FrameBasePtr ProcessorBase::makeFrame(CaptureBasePtr _capture_ptr, FrameType _ty
return
new_frame_ptr
;
return
new_frame_ptr
;
}
}
FrameBasePtr
ProcessorBase
::
mak
eFrame
(
CaptureBasePtr
_capture_ptr
,
const
Eigen
::
VectorXs
&
_state
,
FrameType
_type
)
FrameBasePtr
ProcessorBase
::
emplac
eFrame
(
CaptureBasePtr
_capture_ptr
,
const
Eigen
::
VectorXs
&
_state
,
FrameType
_type
)
{
{
std
::
cout
<<
"Making "
<<
(
_type
==
KEY_FRAME
?
"key-"
:
""
)
<<
"frame"
<<
std
::
endl
;
std
::
cout
<<
"Making "
<<
(
_type
==
KEY_FRAME
?
"key-"
:
""
)
<<
"frame"
<<
std
::
endl
;
...
...
This diff is collapsed.
Click to expand it.
src/processor_base.h
+
2
−
2
View file @
77548150
...
@@ -59,7 +59,7 @@ class ProcessorBase : public NodeBase, public std::enable_shared_from_this<Proce
...
@@ -59,7 +59,7 @@ class ProcessorBase : public NodeBase, public std::enable_shared_from_this<Proce
* - Put it in the Trajectory, and
* - Put it in the Trajectory, and
* - Add the provided capture on it.
* - Add the provided capture on it.
*/
*/
FrameBasePtr
mak
eFrame
(
CaptureBasePtr
_capture_ptr
,
FrameType
_type
=
NON_KEY_FRAME
);
FrameBasePtr
emplac
eFrame
(
CaptureBasePtr
_capture_ptr
,
FrameType
_type
=
NON_KEY_FRAME
);
/**\brief make a Frame with the provided Capture
/**\brief make a Frame with the provided Capture
*
*
* Provide the following functionality:
* Provide the following functionality:
...
@@ -67,7 +67,7 @@ class ProcessorBase : public NodeBase, public std::enable_shared_from_this<Proce
...
@@ -67,7 +67,7 @@ class ProcessorBase : public NodeBase, public std::enable_shared_from_this<Proce
* - Put it in the Trajectory, and
* - Put it in the Trajectory, and
* - Add the provided capture on it.
* - Add the provided capture on it.
*/
*/
FrameBasePtr
mak
eFrame
(
CaptureBasePtr
_capture_ptr
,
const
Eigen
::
VectorXs
&
_state
,
FrameType
_type
=
NON_KEY_FRAME
);
FrameBasePtr
emplac
eFrame
(
CaptureBasePtr
_capture_ptr
,
const
Eigen
::
VectorXs
&
_state
,
FrameType
_type
=
NON_KEY_FRAME
);
virtual
bool
keyFrameCallback
(
FrameBasePtr
_keyframe_ptr
,
const
Scalar
&
_time_tolerance
)
=
0
;
virtual
bool
keyFrameCallback
(
FrameBasePtr
_keyframe_ptr
,
const
Scalar
&
_time_tolerance
)
=
0
;
...
...
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