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
0f35574c
Commit
0f35574c
authored
6 years ago
by
Joan Solà Ortega
Browse files
Options
Downloads
Patches
Plain Diff
Solver manager is taking care of SB status at time of adding them
parent
bb6c3085
No related branches found
No related tags found
1 merge request
!214
Hello wolf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/frame_base.cpp
+0
-6
0 additions, 6 deletions
src/frame_base.cpp
src/solver/solver_manager.cpp
+1
-0
1 addition, 0 deletions
src/solver/solver_manager.cpp
with
1 addition
and
6 deletions
src/frame_base.cpp
+
0
−
6
View file @
0f35574c
...
...
@@ -23,9 +23,6 @@ FrameBase::FrameBase(const TimeStamp& _ts, StateBlockPtr _p_ptr, StateBlockPtr _
state_block_vec_
[
0
]
=
_p_ptr
;
state_block_vec_
[
1
]
=
_o_ptr
;
state_block_vec_
[
2
]
=
_v_ptr
;
if
(
isKey
()
)
registerNewStateBlocks
();
}
FrameBase
::
FrameBase
(
const
FrameType
&
_tp
,
const
TimeStamp
&
_ts
,
StateBlockPtr
_p_ptr
,
StateBlockPtr
_o_ptr
,
StateBlockPtr
_v_ptr
)
:
...
...
@@ -40,9 +37,6 @@ FrameBase::FrameBase(const FrameType & _tp, const TimeStamp& _ts, StateBlockPtr
state_block_vec_
[
0
]
=
_p_ptr
;
state_block_vec_
[
1
]
=
_o_ptr
;
state_block_vec_
[
2
]
=
_v_ptr
;
if
(
isKey
()
)
registerNewStateBlocks
();
}
FrameBase
::~
FrameBase
()
...
...
This diff is collapsed.
Click to expand it.
src/solver/solver_manager.cpp
+
1
−
0
View file @
0f35574c
...
...
@@ -45,6 +45,7 @@ void SolverManager::update()
{
state_blocks_
.
emplace
(
state
,
state
->
getState
());
addStateBlock
(
state
);
updateStateBlockStatus
(
state
);
}
WOLF_DEBUG_COND
(
registered
,
"Tried adding an already registered StateBlock."
);
...
...
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