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
ee88cd3c
Commit
ee88cd3c
authored
5 years ago
by
Joan Solà Ortega
Browse files
Options
Downloads
Patches
Plain Diff
New problem::emplaceFrame()
parent
a7564c76
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!366
Resolve "Complete state vector new data structure?"
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
include/core/problem/problem.h
+3
-0
3 additions, 0 deletions
include/core/problem/problem.h
src/problem/problem.cpp
+11
-0
11 additions, 0 deletions
src/problem/problem.cpp
with
14 additions
and
0 deletions
include/core/problem/problem.h
+
3
−
0
View file @
ee88cd3c
...
...
@@ -242,6 +242,9 @@ class Problem : public std::enable_shared_from_this<Problem>
const
TimeStamp
&
_time_stamp
,
//
const
StateStructure
&
_frame_structure
,
//
const
VectorComposite
&
_frame_state
);
FrameBasePtr
emplaceFrame
(
FrameType
_frame_key_type
,
//
const
TimeStamp
&
_time_stamp
,
//
const
VectorComposite
&
_frame_state
);
/** \brief Emplace frame from string frame_structure without state
* \param _frame_structure String indicating the frame structure.
...
...
This diff is collapsed.
Click to expand it.
src/problem/problem.cpp
+
11
−
0
View file @
ee88cd3c
...
...
@@ -360,6 +360,17 @@ FrameBasePtr Problem::emplaceFrame (FrameType _frame_key_type, //
_frame_state
);
}
FrameBasePtr
Problem
::
emplaceFrame
(
FrameType
_frame_key_type
,
//
const
TimeStamp
&
_time_stamp
,
//
const
VectorComposite
&
_frame_state
)
{
return
FrameBase
::
emplace
<
FrameBase
>
(
getTrajectory
(),
_frame_key_type
,
_time_stamp
,
getFrameStructure
(),
_frame_state
);
}
FrameBasePtr
Problem
::
emplaceFrame
(
FrameType
_frame_key_type
,
//
const
TimeStamp
&
_time_stamp
,
//
const
Eigen
::
VectorXd
&
_frame_state
)
...
...
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