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
6913ad76
Commit
6913ad76
authored
5 years ago
by
Joan Solà Ortega
Browse files
Options
Downloads
Patches
Plain Diff
cosmetics
parent
b24b64a7
No related branches found
No related tags found
1 merge request
!358
WIP: Resolve "Complete state vector new data structure?"
Pipeline
#5316
failed
5 years ago
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/processor/processor_motion.cpp
+3
-1
3 additions, 1 deletion
src/processor/processor_motion.cpp
with
3 additions
and
1 deletion
src/processor/processor_motion.cpp
+
3
−
1
View file @
6913ad76
...
...
@@ -708,9 +708,11 @@ CaptureMotionPtr ProcessorMotion::findCaptureContainingTimeStamp(const TimeStamp
// 1. See that the KF contains a CaptureMotion
// 2. See that the TS is smaller than the KF's TS
// 3. See that the TS is bigger than the first Motion in the CaptureMotion's buffer (if any)
FrameBasePtr
frame
=
nullptr
;
CaptureBasePtr
capture
=
nullptr
;
CaptureMotionPtr
capture_motion
=
nullptr
;
for
(
auto
frame_rev_iter
=
getProblem
()
->
getTrajectory
()
->
getFrameList
().
rbegin
();
frame_rev_iter
!=
getProblem
()
->
getTrajectory
()
->
getFrameList
().
rend
();
++
frame_rev_iter
)
...
...
@@ -808,7 +810,7 @@ PackKeyFramePtr ProcessorMotion::computeProcessingStep()
void
ProcessorMotion
::
setProblem
(
ProblemPtr
_problem
)
{
std
::
string
str
=
"Processor works with "
+
std
::
to_string
(
dim_
)
+
"D but problem is "
+
std
::
to_string
(
_problem
->
getDim
())
+
"D"
;
assert
((
dim_
==
0
or
dim_
==
_problem
->
getDim
())
&&
str
.
c_str
());
assert
(
(
(
dim_
==
0
)
or
(
dim_
==
_problem
->
getDim
()
)
)
&&
str
.
c_str
()
);
if
(
_problem
==
nullptr
or
_problem
==
this
->
getProblem
())
return
;
...
...
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