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
90a6495d
Commit
90a6495d
authored
6 years ago
by
Joan Solà Ortega
Browse files
Options
Downloads
Patches
Plain Diff
Set the SB status when adding it
parent
1e1440b0
No related branches found
No related tags found
1 merge request
!214
Hello wolf
Pipeline
#2194
failed
6 years ago
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/ceres_wrapper/ceres_manager.cpp
+1
-0
1 addition, 0 deletions
src/ceres_wrapper/ceres_manager.cpp
src/solver/solver_manager.cpp
+0
-1
0 additions, 1 deletion
src/solver/solver_manager.cpp
with
1 addition
and
1 deletion
src/ceres_wrapper/ceres_manager.cpp
+
1
−
0
View file @
90a6495d
...
...
@@ -287,6 +287,7 @@ void CeresManager::addStateBlock(const StateBlockPtr& state_ptr)
ceres_problem_
->
AddParameterBlock
(
getAssociatedMemBlockPtr
(
state_ptr
),
state_ptr
->
getSize
(),
local_parametrization_ptr
);
updateStateBlockStatus
(
state_ptr
);
}
void
CeresManager
::
removeStateBlock
(
const
StateBlockPtr
&
state_ptr
)
...
...
This diff is collapsed.
Click to expand it.
src/solver/solver_manager.cpp
+
0
−
1
View file @
90a6495d
...
...
@@ -45,7 +45,6 @@ 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