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
8c0c6b70
Commit
8c0c6b70
authored
4 years ago
by
Joan Solà Ortega
Browse files
Options
Downloads
Patches
Plain Diff
Inprove file organization
parent
991a0a51
No related branches found
No related tags found
1 merge request
!403
Resolve "Merge Aux/KeyFrames into Estimated Frames"
Pipeline
#6202
passed
4 years ago
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/core/frame/frame_base.h
+11
-7
11 additions, 7 deletions
include/core/frame/frame_base.h
with
11 additions
and
7 deletions
include/core/frame/frame_base.h
+
11
−
7
View file @
8c0c6b70
...
...
@@ -62,15 +62,20 @@ class FrameBase : public NodeBase, public HasStateBlocks, public std::enable_sha
const
std
::
list
<
VectorXd
>&
_vectors
);
~
FrameBase
()
override
;
// Add and remove from WOLF tree ---------------------------------
template
<
typename
classType
,
typename
...
T
>
static
std
::
shared_ptr
<
classType
>
emplaceFrame
(
TrajectoryBasePtr
_ptr
,
T
&&
...
all
);
void
link
(
TrajectoryBasePtr
);
void
link
(
ProblemPtr
_prb
);
virtual
void
remove
(
bool
viral_remove_empty_parent
=
false
);
// Frame properties -----------------------------------------------
public:
unsigned
int
id
()
const
;
// link to problem
void
link
(
ProblemPtr
_prb
);
// Frame values ------------------------------------------------
public:
void
setTimeStamp
(
const
TimeStamp
&
_ts
);
...
...
@@ -105,15 +110,14 @@ class FrameBase : public NodeBase, public HasStateBlocks, public std::enable_sha
FactorBasePtr
getFactorOf
(
const
ProcessorBasePtr
_processor_ptr
)
const
;
FactorBasePtr
getFactorOf
(
const
ProcessorBasePtr
_processor_ptr
,
const
std
::
string
&
type
)
const
;
void
getFactorList
(
FactorBasePtrList
&
_fac_list
)
const
;
unsigned
int
getHits
()
const
;
const
FactorBasePtrList
&
getConstrainedByList
()
const
;
bool
isConstrainedBy
(
const
FactorBasePtr
&
_factor
)
const
;
void
link
(
TrajectoryBasePtr
);
template
<
typename
classType
,
typename
...
T
>
static
std
::
shared_ptr
<
classType
>
emplaceFrame
(
TrajectoryBasePtr
_ptr
,
T
&&
...
all
);
// Debug and info -------------------------------------------------------
virtual
void
printHeader
(
int
depth
,
//
bool
constr_by
,
//
bool
metric
,
//
...
...
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