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
47f6142c
Commit
47f6142c
authored
5 years ago
by
Joan Solà Ortega
Browse files
Options
Downloads
Patches
Plain Diff
Put privileged constructor first
parent
c84f3428
No related branches found
No related tags found
1 merge request
!358
WIP: Resolve "Complete state vector new data structure?"
Pipeline
#5313
failed
5 years ago
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/core/frame/frame_base.h
+10
-3
10 additions, 3 deletions
include/core/frame/frame_base.h
with
10 additions
and
3 deletions
include/core/frame/frame_base.h
+
10
−
3
View file @
47f6142c
...
...
@@ -48,6 +48,15 @@ class FrameBase : public NodeBase, public HasStateBlocks, public std::enable_sha
TimeStamp
time_stamp_
;
///< frame time stamp
public:
/** \brief Constructor with time stamp and VectorComposite
*
* Constructor with time stamp
* \param _ts is the time stamp associated to this frame, provided in seconds
* \param _state VectorComposite. Each block will define a state block of the appropriate type and size.
**/
FrameBase
(
const
FrameType
&
_tp
,
const
TimeStamp
&
_ts
,
const
VectorComposite
&
_state
);
/** \brief Constructor of non-key Frame with only time stamp
*
* Constructor with only time stamp
...
...
@@ -58,7 +67,7 @@ class FrameBase : public NodeBase, public HasStateBlocks, public std::enable_sha
**/
FrameBase
(
const
TimeStamp
&
_ts
,
StateBlockPtr
_p_ptr
,
StateBlockPtr
_o_ptr
=
nullptr
,
StateBlockPtr
_v_ptr
=
nullptr
);
/** \brief Constructor with type, time stamp and state pointer
/** \brief Constructor with type, time stamp and state
block
pointer
s
*
* Constructor with type, time stamp and state pointer
* \param _tp indicates frame type. Generally either NON_KEY_FRAME or KEY_FRAME. (types defined at wolf.h)
...
...
@@ -71,8 +80,6 @@ class FrameBase : public NodeBase, public HasStateBlocks, public std::enable_sha
FrameBase
(
const
StateStructure
&
_frame_structure
,
const
SizeEigen
_dim
,
const
FrameType
&
_tp
,
const
TimeStamp
&
_ts
,
const
Eigen
::
VectorXd
&
_x
);
FrameBase
(
const
FrameType
&
_tp
,
const
TimeStamp
&
_ts
,
const
VectorComposite
&
_state
);
virtual
~
FrameBase
();
virtual
void
remove
(
bool
viral_remove_empty_parent
=
false
);
...
...
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