Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
RobotAPI
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
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Florian Leander Singer
RobotAPI
Commits
e404472d
Commit
e404472d
authored
3 years ago
by
Fabian Reister
Browse files
Options
Downloads
Patches
Plain Diff
query: beforeTime with default: nElements=1
parent
a5015bf1
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
source/RobotAPI/libraries/armem/client/query/query_fns.h
+1
-1
1 addition, 1 deletion
source/RobotAPI/libraries/armem/client/query/query_fns.h
source/RobotAPI/libraries/armem/client/query/selectors.h
+1
-1
1 addition, 1 deletion
source/RobotAPI/libraries/armem/client/query/selectors.h
with
2 additions
and
2 deletions
source/RobotAPI/libraries/armem/client/query/query_fns.h
+
1
−
1
View file @
e404472d
...
...
@@ -156,7 +156,7 @@ namespace armarx::armem::client::query_fns
inline
std
::
function
<
void
(
query
::
SnapshotSelector
&
)
>
beforeTime
(
Time
time
,
long
nElements
)
beforeTime
(
Time
time
,
long
nElements
=
1
)
{
return
[
=
](
query
::
SnapshotSelector
&
selector
)
{
...
...
This diff is collapsed.
Click to expand it.
source/RobotAPI/libraries/armem/client/query/selectors.h
+
1
−
1
View file @
e404472d
...
...
@@ -28,7 +28,7 @@ namespace armarx::armem::client::query
SnapshotSelector
&
atTime
(
Time
timestamp
);
SnapshotSelector
&
atTimeApprox
(
Time
timestamp
,
Duration
eps
);
SnapshotSelector
&
beforeTime
(
Time
timestamp
,
long
maxEntries
);
SnapshotSelector
&
beforeTime
(
Time
timestamp
,
long
maxEntries
=
1
);
SnapshotSelector
&
beforeOrAtTime
(
Time
timestamp
);
SnapshotSelector
&
timeRange
(
Time
min
,
Time
max
);
...
...
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