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
Merge requests
!288
Resolve "ProcessorMotion KFcallback with recent TimeStamp"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve "ProcessorMotion KFcallback with recent TimeStamp"
227-processormotion-kfcallback-with-recent-timestamp
into
devel
Overview
0
Commits
2
Pipelines
2
Changes
2
Merged
Joan Vallvé Navarro
requested to merge
227-processormotion-kfcallback-with-recent-timestamp
into
devel
5 years ago
Overview
0
Commits
2
Pipelines
2
Changes
2
Expand
Closes
#227 (closed)
Edited
5 years ago
by
Joan Vallvé Navarro
0
0
Merge request reports
Compare
devel
devel (base)
and
latest version
latest version
3992e4f7
2 commits,
5 years ago
2 files
+
6
−
3
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
src/processor/motion_buffer.cpp
+
2
−
2
Options
@@ -107,8 +107,8 @@ void MotionBuffer::getMotion(const TimeStamp& _ts, Motion& _motion) const
void
MotionBuffer
::
split
(
const
TimeStamp
&
_ts
,
MotionBuffer
&
_buffer_part_before_ts
)
{
assert
((
container_
.
front
().
ts_
<=
_ts
)
&&
"Error: Query time stamp is
great
er than the buffer's
la
st tick"
);
assert
((
container_
.
back
().
ts_
>=
_ts
)
&&
"Error: Query time stamp is
small
er than the buffer's
fir
st tick"
);
assert
((
container_
.
front
().
ts_
<=
_ts
)
&&
"Error: Query time stamp is
small
er than the buffer's
fir
st tick"
);
assert
((
container_
.
back
().
ts_
>=
_ts
)
&&
"Error: Query time stamp is
great
er than the buffer's
la
st tick"
);
_buffer_part_before_ts
.
setCalibrationPreint
(
calib_preint_
);
Loading