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
Compare revisions
3eed8d08bf79e0d2eaead9680a4ee304f2bbf93e to 8769670d67b4b36ce6b44f35e49e46762a9f9d70
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
mobile_robotics/wolf_projects/wolf_lib/wolf
Select target project
No results found
8769670d67b4b36ce6b44f35e49e46762a9f9d70
Select Git revision
Swap
Target
mobile_robotics/wolf_projects/wolf_lib/wolf
Select target project
mobile_robotics/wolf_projects/wolf_lib/wolf
1 result
3eed8d08bf79e0d2eaead9680a4ee304f2bbf93e
Select Git revision
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (2)
Make getStructure(), getFrameStructure and getStateStructure more uniform
· 0f7f2a58
Joan Solà Ortega
authored
5 years ago
0f7f2a58
Change type string to StateStructure
· 8769670d
Joan Solà Ortega
authored
5 years ago
8769670d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
include/core/problem/problem.h
+1
-1
1 addition, 1 deletion
include/core/problem/problem.h
include/core/processor/is_motion.h
+3
-3
3 additions, 3 deletions
include/core/processor/is_motion.h
src/problem/problem.cpp
+2
-1
2 additions, 1 deletion
src/problem/problem.cpp
with
6 additions
and
5 deletions
include/core/problem/problem.h
View file @
8769670d
...
...
@@ -83,7 +83,7 @@ class Problem : public std::enable_shared_from_this<Problem>
// Properties -----------------------------------------
public:
SizeEigen
getDim
()
const
;
StateStructure
getFrameStructure
()
const
;
const
StateStructure
&
getFrameStructure
()
const
;
protected:
void
appendToStructure
(
const
StateStructure
&
_structure
);
...
...
This diff is collapsed.
Click to expand it.
include/core/processor/is_motion.h
View file @
8769670d
...
...
@@ -29,12 +29,12 @@ class IsMotion
virtual
VectorComposite
getState
(
const
StateStructure
&
_structure
=
""
)
const
=
0
;
virtual
VectorComposite
getState
(
const
TimeStamp
&
_ts
,
const
StateStructure
&
_structure
=
""
)
const
=
0
;
std
::
string
getStateStructure
(){
return
state_structure_
;};
void
setStateStructure
(
std
::
string
_state_structure
)
{
state_structure_
=
_state_structure
;};
const
StateStructure
&
getStateStructure
(
)
{
return
state_structure_
;
};
void
setStateStructure
(
std
::
string
_state_structure
)
{
state_structure_
=
_state_structure
;
};
void
addToProblem
(
ProblemPtr
_prb_ptr
,
IsMotionPtr
_motion_ptr
);
protected
:
std
::
string
state_structure_
;
///< The structure of the state vector (to retrieve state blocks from frames)
StateStructure
state_structure_
;
///< The structure of the state vector (to retrieve state blocks from frames)
};
...
...
This diff is collapsed.
Click to expand it.
src/problem/problem.cpp
View file @
8769670d
...
...
@@ -543,7 +543,8 @@ SizeEigen Problem::getDim() const
{
return
dim_
;
}
StateStructure
Problem
::
getFrameStructure
()
const
const
StateStructure
&
Problem
::
getFrameStructure
()
const
{
return
frame_structure_
;
}
...
...
This diff is collapsed.
Click to expand it.