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
7f02dc62
Commit
7f02dc62
authored
5 years ago
by
Joaquim Casals Buñuel
Browse files
Options
Downloads
Patches
Plain Diff
Removed ProcessorBase::emplaceFrame(). Closes
#234
parent
bad49ed2
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!293
Resolve "Remove ProcessorBase::emplaceFrame() functions"
Pipeline
#3818
passed
5 years ago
Stage: build
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
include/core/processor/processor_base.h
+0
-19
0 additions, 19 deletions
include/core/processor/processor_base.h
src/processor/processor_base.cpp
+0
-19
0 additions, 19 deletions
src/processor/processor_base.cpp
with
0 additions
and
38 deletions
include/core/processor/processor_base.h
+
0
−
19
View file @
7f02dc62
...
...
@@ -271,25 +271,6 @@ class ProcessorBase : public NodeBase, public std::enable_shared_from_this<Proce
virtual
bool
permittedAuxFrame
()
final
;
/**\brief make a Frame with the provided Capture
*
* Provide the following functionality:
* - Construct a Frame,
* - Put it in the Trajectory, and
* - Add the provided capture on it.
*/
FrameBasePtr
emplaceFrame
(
FrameType
_type
,
CaptureBasePtr
_capture_ptr
);
/**\brief make a Frame with the provided Capture
*
* Provide the following functionality:
* - Construct a Frame,
* - Set its state vector
* - Put it in the Trajectory, and
* - Add the provided capture on it.
*/
FrameBasePtr
emplaceFrame
(
FrameType
_type
,
CaptureBasePtr
_capture_ptr
,
const
Eigen
::
VectorXs
&
_state
);
public
:
/**\brief notify a new keyframe made by another processor
*
...
...
This diff is collapsed.
Click to expand it.
src/processor/processor_base.cpp
+
0
−
19
View file @
7f02dc62
...
...
@@ -31,25 +31,6 @@ bool ProcessorBase::permittedAuxFrame()
return
isVotingAuxActive
()
&&
getProblem
()
->
permitAuxFrame
(
shared_from_this
());
}
FrameBasePtr
ProcessorBase
::
emplaceFrame
(
FrameType
_type
,
CaptureBasePtr
_capture_ptr
)
{
std
::
cout
<<
"Making "
<<
(
_type
==
KEY
?
"key-"
:
(
_type
==
AUXILIARY
?
"aux-"
:
""
))
<<
"frame"
<<
std
::
endl
;
FrameBasePtr
new_frame_ptr
=
getProblem
()
->
emplaceFrame
(
_type
,
_capture_ptr
->
getTimeStamp
());
// new_frame_ptr->addCapture(_capture_ptr);
_capture_ptr
->
link
(
new_frame_ptr
);
return
new_frame_ptr
;
}
FrameBasePtr
ProcessorBase
::
emplaceFrame
(
FrameType
_type
,
CaptureBasePtr
_capture_ptr
,
const
Eigen
::
VectorXs
&
_state
)
{
FrameBasePtr
new_frame_ptr
=
emplaceFrame
(
_type
,
_capture_ptr
);
new_frame_ptr
->
setState
(
_state
);
return
new_frame_ptr
;
}
void
ProcessorBase
::
keyFrameCallback
(
FrameBasePtr
_keyframe_ptr
,
const
Scalar
&
_time_tol_other
)
{
WOLF_DEBUG
(
"P"
,
isMotion
()
?
"M "
:
"T "
,
getName
(),
": KF"
,
_keyframe_ptr
->
id
(),
" callback received with ts = "
,
_keyframe_ptr
->
getTimeStamp
());
...
...
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